diff --git a/Framework/KubernetesWorkflow/K8sController.cs b/Framework/KubernetesWorkflow/K8sController.cs index 2251336..9cde3fb 100644 --- a/Framework/KubernetesWorkflow/K8sController.cs +++ b/Framework/KubernetesWorkflow/K8sController.cs @@ -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."); } diff --git a/Framework/KubernetesWorkflow/PublicIpService.cs b/Framework/KubernetesWorkflow/PublicIpService.cs new file mode 100644 index 0000000..6e7f414 --- /dev/null +++ b/Framework/KubernetesWorkflow/PublicIpService.cs @@ -0,0 +1,7 @@ +namespace KubernetesWorkflow +{ + public static class PublicIpService + { + public static string Address { get; } = "ip.codex.storage"; + } +}