-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make CPU Requests for Calico configurable instead of hard-coded #8987
Conversation
Hi @MoShitrit. 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. |
Trying to figure out why are the tests failing, marking as draft for now. |
@MoShitrit Run |
Hey @hakman,
In case it matters, here's the output of
|
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 looks great. Thanks!
One change though, let's make all of these default to "100m", to avoid more questions later.
upup/models/cloudup/resources/addons/networking.projectcalico.org/k8s-1.12.yaml.template
Outdated
Show resolved
Hide resolved
upup/models/cloudup/resources/addons/networking.projectcalico.org/k8s-1.16.yaml.template
Outdated
Show resolved
Hide resolved
@MoShitrit any chance you need to set GOPATH? |
@hakman I followed that doc yesterday when I started working on it, actually.
And fwiw, here's the output of
|
3381597
to
cc731a5
Compare
@hakman Okay, I figured it out. Looks like the problem was with my local |
Happy it all worked out. Check this also and fix the commit message that triggers it. |
2c8ee77
to
d6ffbec
Compare
@hakman fixed! The tests are running now, but I ran |
Thanks @MoShitrit. Looks like it works nicely now. |
Also, please change the title to It should be enough to link the issue like this: Fixes #7930 (may need to be in the description) |
Update bindata.go Apply suggestions from code review Applying suggested changes. Co-Authored-By: Ciprian Hacman <ciprianhacman@gmail.com> Applying changes after running `make gofmt` Applying changes after running `make crds` Apply suggestions from code review Applying suggested changes. Co-Authored-By: Ciprian Hacman <ciprianhacman@gmail.com> Applying changes after running `make gofmt` Fixing broken things Typo fixes Apply suggestions from code review Co-Authored-By: Ciprian Hacman <ciprianhacman@gmail.com> Apply suggested changes and run necessary `make` steps
a74bbc6
to
9fffc5f
Compare
Looks great, thanks! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MoShitrit, rifelpet 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 |
Fixes #7930
As a side note on Canal- I've noticed that on the templates, the requests differed between k8s versions, where 1.12 had
100m
configured, 1.15 had250m
and 1.16 had90m
. Looking at the history of the files, seems like originally there were all created with250m
, but updates to the 1.12 and 1.16 templates aligned them with the lower requests, while I assume 1.15 was simply overlooked by accident. So to make things simpler and more standardized for documentation - I took the liberty to set all of them to100m
which is what was intentionally set via this commit - ba76db7I made sure to run
make test
and confirm everything is still passing.Please let me know if anything seems off, or if anything further is needed.
Thanks! 馃槃