Closed tenzen-y closed 1 month ago
/assign
@tenzen-y please have a look at my explanation here: https://github.com/kubernetes-sigs/kueue/pull/3081/files#r1766613892
@tenzen-y please have a look at my explanation here: https://github.com/kubernetes-sigs/kueue/pull/3081/files#r1766613892
As I commented the above PR, this is my misunderstanding. @mszadkow Thank you for the investigation, again! /close
@tenzen-y: Closing this issue.
/remove-kind bug /kind support
What happened: Only during unit testing, the Job PodTemplate Labels (
.spec.template.labels
) are not restored. But, during integration testing and actual cluster running, they are restored after the Jobs are suspended.What you expected to happen: The Job PodTemplate Labels are always restored after the Jobs are stopped.
How to reproduce it (as minimally and precisely as possible): We can see the reproduced PR and CI logs there:
Anything else we need to know?: We verify if those labels (.spec.template.labels) are restored only during the integration testing, and the testing always successful: https://github.com/kubernetes-sigs/kueue/blob/e812a0682a4d96b4a4a82f654202ce3d50d52541/test/integration/controller/jobs/job/job_controller_test.go#L756-L767
Environment:
kubectl version
):git describe --tags --dirty --always
):cat /etc/os-release
):uname -a
):