reduce wait_for_pod_start even further

This commit is contained in:
Felix Kunde 2020-08-13 15:30:47 +02:00
parent d19b88735f
commit 2c04a6164b
1 changed files with 0 additions and 7 deletions

View File

@ -822,13 +822,6 @@ class K8s:
if pods:
pod_phase = pods[0].status.phase
if pods and pod_phase != 'Running':
pod_name = pods[0].metadata.name
response = self.api.core_v1.read_namespaced_pod(
name=pod_name,
namespace=namespace
)
time.sleep(self.RETRY_TIMEOUT_SEC)
def get_service_type(self, svc_labels, namespace='default'):