-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(kubelet): parse image GC args failed #17465
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
fix(kubelet): parse image GC args failed #17465
Conversation
|
Welcome @huhouhua! |
Hi @huhouhua. 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-sigs/prow repository. |
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.
Hi @huhouhua, thanks for your contribution. I've added a few small comments that should simplify the PR. Please let me know if you have any questions.
/ok-to-test |
/test pull-kops-e2e-cni-amazonvpc |
Issue is unrelated to current fix: |
/override pull-kops-e2e-cni-amazonvpc |
@hakman: Overrode contexts on behalf of hakman: pull-kops-e2e-cni-amazonvpc In response to this:
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-sigs/prow repository. |
@huhouhua Thanks, this looks great. |
…ge in kubelet config - add unit tests for image GC duration - change the string type of the image GC field to metav1.Duration - remove unnecessary comments
7123323
to
c41bf2c
Compare
I have merged |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hakman 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 |
/override pull-kops-e2e-cni-amazonvpc |
@hakman: Overrode contexts on behalf of hakman: pull-kops-e2e-cni-amazonvpc In response to this:
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-sigs/prow repository. |
/override pull-kops-e2e-cni-amazonvpc |
@hakman: Overrode contexts on behalf of hakman: pull-kops-e2e-cni-amazonvpc In response to this:
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-sigs/prow repository. |
/override pull-kops-e2e-k8s-gce-cilium |
@hakman: Overrode contexts on behalf of hakman: pull-kops-e2e-k8s-gce-cilium In response to this:
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-sigs/prow repository. |
Fixes #17463
This PR fixes the imageMinimumGCAge and imageMaximumGCAge parsing failure issue. This is because these two parameters are specified using the kubelet command line, and the kubelet command line itself does not provide these two parameters, so we need to write these two parameters into the kubelet file
Changes: