diff --git a/app/core/kubernetes_client.py b/app/core/kubernetes_client.py index e080ef5..39eb111 100644 --- a/app/core/kubernetes_client.py +++ b/app/core/kubernetes_client.py @@ -148,10 +148,12 @@ class K8sClient: # Filter out non-running pods (build pods, completed pods, etc.) if pod.status.phase not in ["Running", "Pending"]: + logger.debug(f"Filtering out pod {pod.metadata.name} with phase {pod.status.phase}") continue # Filter out build pods (pods ending with -build) if pod.metadata.name.endswith('-build'): + logger.debug(f"Filtering out build pod {pod.metadata.name}") continue # Calculate total pod resources total_cpu_requests = 0.0