From 9b304b8990e9258beba443a9b801f5046b05ca91 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Tue, 3 Mar 2026 14:11:05 +0000 Subject: [PATCH] fix(k8s): remove job-name label that conflicts with k8s auto-label Kubernetes automatically adds a job-name label to Job pod templates matching the full Job name. Our custom job-name label used the short name, causing a 422 validation error. Let k8s manage this label. Co-Authored-By: Claude Opus 4.6 --- stack_orchestrator/deploy/k8s/cluster_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack_orchestrator/deploy/k8s/cluster_info.py b/stack_orchestrator/deploy/k8s/cluster_info.py index fe816cb5..14ec4c87 100644 --- a/stack_orchestrator/deploy/k8s/cluster_info.py +++ b/stack_orchestrator/deploy/k8s/cluster_info.py @@ -704,7 +704,7 @@ class ClusterInfo: template = client.V1PodTemplateSpec( metadata=client.V1ObjectMeta( - labels={"app": self.app_name, "job-name": job_name} + labels={"app": self.app_name} ), spec=client.V1PodSpec( containers=containers,