Defines public IP fetching service
This commit is contained in:
parent
b61f5d835c
commit
ff52e8e841
@ -664,7 +664,8 @@ namespace KubernetesWorkflow
|
||||
private V1Pod GetPodForDeployment(RunningDeployment deployment)
|
||||
{
|
||||
return Time.Retry(() => GetPodForDeplomentInternal(deployment),
|
||||
maxRetries: 2,
|
||||
// We will wait up to 1 minute, k8s might be moving pods around.
|
||||
maxRetries: 6,
|
||||
retryTime: TimeSpan.FromSeconds(10),
|
||||
description: "Find pod by label for deployment.");
|
||||
}
|
||||
|
7
Framework/KubernetesWorkflow/PublicIpService.cs
Normal file
7
Framework/KubernetesWorkflow/PublicIpService.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace KubernetesWorkflow
|
||||
{
|
||||
public static class PublicIpService
|
||||
{
|
||||
public static string Address { get; } = "ip.codex.storage";
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user