-
Notifications
You must be signed in to change notification settings - Fork 40.7k
Add priority class to CoreDNS pods #73649
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
Add priority class to CoreDNS pods #73649
Conversation
Hi @ojmhetar. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
/approve |
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.
/hold
/priority important-longterm
this PR is not updating the coredns manifests in kubeadm, but it links to a kubeadm issue:
https://github.com/kubernetes/kubernetes/blob/master/cmd/kubeadm/app/phases/addons/dns/manifests.go
also not sure we ended up agreeing that we should do this for kubeadm.
/assign @fabriziopandini @timothysc
we might decide to scope this to the cluster folder only?
My mistake. Should I file a separate issue for this? |
historically we'e made such updates in the same PR for all deployers. |
XREF kubernetes/kubeadm#1291 |
EDITED: confused 1337 / 1291. |
Are there reasons to scope this to the cluster folder? Otherwise, I can update this PR to include the manifest in kubeadm. |
@ojmhetar - please update this PR to modify the kubeadm manifests as well. |
fixed for coredns. I see that the same is missing for kubedns, do we want to address that here? |
@ojmhetar IMO you should add it to kubedns as well. |
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.
The changes for kube-dns should be done in the cluster folder as well.
@rajansandeep kubedns already has these changes since 1.11: |
@ojmhetar Sorry, that part skipped by me. |
no worries! 😄 |
/approve
/hold cancel |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MrHohn, ojmhetar, timothysc 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 |
/test pull-kubernetes-integration |
/test pull-kubernetes-cross |
/test pull-kubernetes-integration |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Adds
priorityClassName
to give preference in scheduling CoreDNS pods over less critical pods.Which issue(s) this PR fixes:
Fixes kubernetes/kubeadm#1337
Special notes for your reviewer:
I realize that we might want to wait until some of the issues in CoreDNS are addressed. At some point, CoreDNS should have the same priority as kube-dns as a default, cluster critical component.
Does this PR introduce a user-facing change?:
cc @timothysc