Skip to content
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

Expose the --fail-swap-on flag for kubelet #4239

Merged
merged 3 commits into from
Jan 10, 2018

Conversation

wannabesrevenge
Copy link
Contributor

Closes #4123

This change exposes the "--fail-swap-on" flag for kubelet. This means that in the cluster config yaml, you can set failSwapOn: true | false under the kubelet config. More info on this option can be found in the referenced issue (#4123), in the kubernetes docs here, and in the kubernetes github issue here.

I made this change by adding the FailSwapOn field to the kubelet config structs in the 3 componentconfig.go files. Then I ran make apimachinery to generate the rest of the changes you see.

The changes involving ImagePullProgressDeadline, reordering some import statements, and changing the copyright to 2018 are the result of running make apimachinery. They are unintended. I can undo some or all of these unintended changes if needed.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 9, 2018
@wannabesrevenge
Copy link
Contributor Author

/assign @justinsb

@chrislovecnm
Copy link
Contributor

Holy crap, we got 2018 all over the place. We should probably break that update into another PR :(

@wannabesrevenge
Copy link
Contributor Author

i'll get rid of those pesky 2018's and update this thing

@chrislovecnm
Copy link
Contributor

@wannabesrevenge you want to do a 2018 PR? I will merge it quickly. Ping me on Slack if you put it in.

@wannabesrevenge
Copy link
Contributor Author

@chrislovecnm can do

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 9, 2018
@wannabesrevenge
Copy link
Contributor Author

Everything is wrapped and ready for scrutiny

@chrislovecnm
Copy link
Contributor

/lgtm
/ok-to-test

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jan 10, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chrislovecnm

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 10, 2018
@k8s-ci-robot k8s-ci-robot merged commit 612f8b1 into kubernetes:master Jan 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants