-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 options to control images pulling of kubelet #11094
Conversation
2f3ca71
to
150c92e
Compare
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 for your contribution :D
/lgtm
150c92e
to
54660da
Compare
(forgot to readd the lgtm label sorry) |
5a2631c
to
57d3aa4
Compare
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.
To me, this means we can simply get away with only 1 variable maxParrallelImagePulls, defaulting to 1 (that or nil
has the exact same effect.
This would have the benefits of a simpler template (no need for is defined
which is something I'm actively trying to get rid of 😆 )
It's a nice solution for me. What do you think? @yankay @MrFreezeex |
Thanks @tu1h I think it's a great solution.
|
PTAL:-) |
Avoid using `default` if possible, rather define the variable in the defaults folder of the role. (Where you can also put comments for documentation).
Also, seems the effects are the same, I would rather have 1 than null.
|
Signed-off-by: tu1h <lihai.tu@daocloud.io>
/lgtm
/assign @ant31
|
Thanks @tu1h |
@tu1h you're missing an approval, not a review ^^. I'm not an approver for now
|
Could you give approval for the pr? @yankay |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ant31, MrFreezeex, tu1h 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 |
Signed-off-by: tu1h <lihai.tu@daocloud.io>
Signed-off-by: tu1h <lihai.tu@daocloud.io>
Signed-off-by: tu1h <lihai.tu@daocloud.io>
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR provides a option to control the images pulling efficiency of kubelet.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: