From b5528b9a3850052c9047e89f7e50da64f97af926 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 0925a75d..1f7e464e 100644 --- a/stack_orchestrator/deploy/k8s/cluster_info.py +++ b/stack_orchestrator/deploy/k8s/cluster_info.py @@ -668,7 +668,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,