generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 481
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
What happened:
After a workload successfully finishes, kubectl get workloads shows ADMITTED: False and RESERVED IN: empty. As shown below:
NAME QUEUE RESERVED IN ADMITTED FINISHED AGE
job-sample-job-8xmgl-34ac3 user-queue False True 5m59s
This happens in both single-cluster and multi-cluster setups.
What you expected to happen:
Workloads should show ADMITTED: True or False, whichever value applies, rather than always False, and should show RESERVED IN: for historical and audit purposes.
How to reproduce it (as minimally and precisely as possible):
- E2E_RUN_ONLY_ENV=true make kind-image-build test-e2e
- kubectl apply -f https://kueue.sigs.k8s.io/examples/admin/single-clusterqueue-setup.yaml
- kubectl create -f ./examples/jobs/sample-job.yaml
Anything else we need to know?:
I believe this is an undesired side effect of #7724, which clears the admission status when a workload finishes.
Environment:
- Kubernetes version (use
kubectl version): - Kueue version (use
git describe --tags --dirty --always): - Cloud provider or hardware configuration:
- OS (e.g:
cat /etc/os-release): - Kernel (e.g.
uname -a): - Install tools:
- Others:
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.