-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pod Mutable Scheduling Directives #3840
Conversation
ahg-g
commented
Feb 3, 2023
- One-line PR description: pod mutable scheduling directives
- Issue link: Mutable Pod scheduling directives when gated #3838
- Other comments:
/assign @Huang-Wei @liggitt @wojtek-t |
/cc @mwielgus |
b14885f
to
3e476d0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ahg-g !
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/kep.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Wei for the detailed and prompt review!
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
## Proposal | ||
|
||
The proposal is to relax update validation of scheduling directives, specifically node affinity and selector, of Pods that | ||
are blocked on a scheduling readiness gate (i.e., not yet considered for scheduling by kube-scheduler), specifically. Note |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated the paragraph, but kept the original one sentence, I think it is clearer.
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
to match the template, they react only to change to the pod template in the app's | ||
spec. Moreover, the side affects of this proposal is no different from a mutating | ||
webhook that injects affinity onto the pod. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a risk associated with the node affinity/selector feature, not updating it. A pod can be created with affinity that causes those issues.
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/kep.yaml
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
9246a77
to
bd5985b
Compare
a8da4e0
to
70b29fb
Compare
70b29fb
to
36b2919
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few minor comments from me - other than that LGTM.
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
details about the allowed mutations lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some clarifications
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
ccf1f27
to
c6292b1
Compare
@Huang-Wei i think all comments are addressed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one nit, but it's good to go from PRR perspective.
/approve PRR
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
c6292b1
to
c04b2e6
Compare
Squashed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
keps/sig-scheduling/3838-pod-mutable-scheduling-directives/README.md
Outdated
Show resolved
Hide resolved
c04b2e6
to
ac65b58
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahg-g, Huang-Wei, wojtek-t The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |