-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Remove cpu limits for dns pod to avoid CPU starvation #33227
Conversation
limits: | ||
cpu: 10m |
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 guaranteed qos, so what happens now?
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.
As of v1.4 this pod was in the Burstable QoS class even before this patch. QoS is per pod and per container.
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.
oh, hmm, ok thinking
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.
Please add a comment saying that the pod is anyway in "burstable" because of memory, so cpu limits don't matter. Also include that we don't want to set cpu until we've profiled the sub components thoroughly, because on debian systems the enforcement is more strict.
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.
Adding more TODO seems to be making the yaml outputs incompatible. Given the time constraint, I chose to not do that. I'm happy to post another PR tomorrow once I have more time to figure out why the yaml outputs were broken when TODOs are being added.
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.
if you confirm comments are what broke the make-ing, please file a bug
@k8s-bot smoke test this |
@k8s-bot gke test this |
@k8s-bot gce e2e test this |
@k8s-bot gke smoke test this |
@k8s-bot kubemark test this |
@k8s-bot gke e2e test this |
LGTM when you fix the nits, I assume you used the makefile to generate the yamls from the one base yaml. Please also answer #33222 (comment) so we have a reference of the impact of the change, if we need to debug a user issue. |
Jenkins GCE e2e failed for commit 28c7632df46395de32dd1ab7f1fb2c1ac7f9aaf2. The magic incantation to run this job again is |
…age profiles Signed-off-by: Vishnu kannan <vishnuk@google.com>
28c7632
to
7631b09
Compare
I think I fixed the issues with the config files. Turns out the |
…upstream-release-1.4 Automated cherry pick of #33227
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue |
#33163-#33227-#33359-#33605-#33967-#33977-#34158-origin-release-1.4 Automatic merge from submit-queue Automated cherry pick of #32914 #33163 #33227 #33359 #33605 #33967 #33977 #34158 origin release 1.4 Cherry pick of #32914 #33163 #33227 #33359 #33605 #33967 #33977 #34158 on release-1.4. #32914: Limit the number of names per image reported in the node #33163: fix the appending bug #33227: remove cpu limits for dns pod. The current limits are not #33359: Fix goroutine leak in federation service controller #33605: Add periodic ingress reconciliations. #33967: scheduler: cache.delete deletes the pod from node specified #33977: Heal the namespaceless ingresses in federation e2e. #34158: Add missing argument to log message in federated ingress
was cherry-picked in #34266 |
…of-#33227-upstream-release-1.4 Automated cherry pick of kubernetes#33227
…ck-of-#32914-kubernetes#33163-kubernetes#33227-kubernetes#33359-kubernetes#33605-kubernetes#33967-kubernetes#33977-kubernetes#34158-origin-release-1.4 Automatic merge from submit-queue Automated cherry pick of kubernetes#32914 kubernetes#33163 kubernetes#33227 kubernetes#33359 kubernetes#33605 kubernetes#33967 kubernetes#33977 kubernetes#34158 origin release 1.4 Cherry pick of kubernetes#32914 kubernetes#33163 kubernetes#33227 kubernetes#33359 kubernetes#33605 kubernetes#33967 kubernetes#33977 kubernetes#34158 on release-1.4. kubernetes#32914: Limit the number of names per image reported in the node kubernetes#33163: fix the appending bug kubernetes#33227: remove cpu limits for dns pod. The current limits are not kubernetes#33359: Fix goroutine leak in federation service controller kubernetes#33605: Add periodic ingress reconciliations. kubernetes#33967: scheduler: cache.delete deletes the pod from node specified kubernetes#33977: Heal the namespaceless ingresses in federation e2e. kubernetes#34158: Add missing argument to log message in federated ingress
The current limits are not based on usage profiles
Fixes #33222
This change is