-
Notifications
You must be signed in to change notification settings - Fork 40.7k
kubeadm: set priority class name to system-cluster-critical
for all master components
#73857
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
kubeadm: set priority class name to system-cluster-critical
for all master components
#73857
Conversation
/assign @timothysc @fabriziopandini @neolit123 |
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 @ereslibre
LGTM
/remove-kind api-change |
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.
I think just adding some tests to verify, but otherwise it's looking good.
I would say all changes are covered in the current tests, are you missing other specific tests? |
If someone were to muck the field on a different PR we should verify that it's always set. |
Does this address kubernetes/kubeadm#1337 (CoreDNS)? It looks like you covered kube-proxy, but not the DNS servers. |
You are right, I will update the PR. Thank you! |
All feedback addressed, PTAL when you can, thanks! cc/ @timothysc |
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 @ereslibre
/approve
@@ -43,6 +43,7 @@ spec: | |||
labels: | |||
k8s-app: kube-dns | |||
spec: | |||
priorityClassName: system-cluster-critical |
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.
setting priority for CoreDNS partially overlaps with #73649...
but I don't know if it makes sense to reconcile these two trains at this stage...
/test pull-kubernetes-e2e-gce |
… master components Remove the deprecated `scheduler.alpha.kubernetes.io/critical-pod` pod annotation and use the `priorityClassName` first class attribute instead, setting all master components to `system-cluster-critical`.
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 @ereslibre !
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ereslibre, fabriziopandini 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 api-change
What this PR does / why we need it:
Remove the deprecated
scheduler.alpha.kubernetes.io/critical-pod
pod annotation and usethe
priorityClassName
first class attribute instead, setting all master components tosystem-cluster-critical
.Which issue(s) this PR fixes:
Fixes kubernetes/kubeadm#1291
Does this PR introduce a user-facing change?: