Skip to content

See a pod admitted but still schedule gated #7433

@amy

Description

@amy

What happened:

We see that a workload is admitted but the underlying pod still schedulegated.

What you expected to happen:
Either:

  1. workload for pod is admitted and the underlying pod is Pending
  2. 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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions