From 2fb0621f2a017edbe2f4c324b53ed8349542a49b Mon Sep 17 00:00:00 2001 From: Paige Rubendall Date: Wed, 1 May 2024 14:48:09 -0400 Subject: [PATCH] taking out extra comments rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED --- cerberus/kubernetes/client.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/cerberus/kubernetes/client.py b/cerberus/kubernetes/client.py index 32dfe34..7e827b6 100644 --- a/cerberus/kubernetes/client.py +++ b/cerberus/kubernetes/client.py @@ -207,7 +207,6 @@ def namespace_sleep_tracker(namespace, pods_tracker, ignore_patterns): def monitor_namespace(namespace, ignore_pattern=None): notready_pods = set() match = False - logging.info('monitor namespace') notready_containers = defaultdict(list) all_pod_info_list = cli.get_all_pod_info(namespace) if all_pod_info_list is not None and len(all_pod_info_list) > 0: @@ -232,11 +231,9 @@ def monitor_namespace(namespace, ignore_pattern=None): if condition.type == "ContainersReady" and condition.status == "False": if pod_status.container_statuses is not None: for container in pod_status.container_statuses: - logging.info('container name') if not container.ready: notready_containers[pod].append(container.name) if pod_status.init_container_statuses is not None: - logging.info('container status is none') for container in pod_status.init_container_statuses: if not container.ready: notready_containers[pod].append(container.name)