generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 450
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
What happened:
We see that a workload is admitted but the underlying pod still schedulegated.
What you expected to happen:
Either:
- workload for pod is admitted and the underlying pod is
Pending - OR workload for pod is not admitted
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Potential problems:
- the update for admission and schedulegate removal should happen atomically
- potentially an issue where kubernetes api will reject future changes to pod if you have previously changed a field outside of an allowed list of fields in the spec. (But overall for this, if kubernetes API fails, we want admission to fail as well)
Keep in mind: ScheduleGate cannot be re-added if its already been removed. So probably we don't need to look through any update path.
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.