-
Notifications
You must be signed in to change notification settings - Fork 40.3k
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
Enable the RuntimeClass admission controller for scheduling #81862
Enable the RuntimeClass admission controller for scheduling #81862
Conversation
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.
Out of curiosity, was it possible to turn on the RuntimeClass feature before this diff? Was doing so just a no-op?
Code here looks good to me :) Will let someone else sign off on actually turning the feature via the new flag.
@@ -148,7 +148,7 @@ func DefaultOffAdmissionPlugins() sets.String { | |||
defaultOnPlugins.Insert(nodetaint.PluginName) //TaintNodesByCondition | |||
} | |||
|
|||
if utilfeature.DefaultFeatureGate.Enabled(features.PodOverhead) { | |||
if utilfeature.DefaultFeatureGate.Enabled(features.RuntimeClass) { |
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
/retest @mattjmcnaughton before v1.16 this admission controller didn't exist. The RuntimeClass feature is mostly used by the Kubelet, and by the apiserver to handle the API. |
/cc @liggitt |
This is a gentle reminder of code freeze for v1.16 coming this Thursday by EOD (PST). It looks like this PR is under review. Please comment if it is not expected to merged before code freeze so that it can be moved out of the milestone. |
Thanks! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tallclair, thockin 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
With #81072, the RuntimeClass admission controller is no longer only tied to PodOverhead, so enable it whenever the RuntimeClass feature is enabled.
Which issue(s) this PR fixes:
For #81016
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/priority important-soon
/milestone v1.16
/sig node
/cc @egernst @draveness
/assign @thockin