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 <noreply@anthropic.com>test-ci
parent
8f0ebb22fa
commit
b5528b9a38
|
|
@ -668,7 +668,7 @@ class ClusterInfo:
|
||||||
|
|
||||||
template = client.V1PodTemplateSpec(
|
template = client.V1PodTemplateSpec(
|
||||||
metadata=client.V1ObjectMeta(
|
metadata=client.V1ObjectMeta(
|
||||||
labels={"app": self.app_name, "job-name": job_name}
|
labels={"app": self.app_name}
|
||||||
),
|
),
|
||||||
spec=client.V1PodSpec(
|
spec=client.V1PodSpec(
|
||||||
containers=containers,
|
containers=containers,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue