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

Add protectKernelDefaults option (default true) to kubelet config file #6611

Merged
merged 1 commit into from
Sep 3, 2020

Conversation

floryut
Copy link
Member

@floryut floryut commented Sep 1, 2020

What type of PR is this?
/kind feature

What this PR does / why we need it:
Fix one of the kube-bench error

Which issue(s) this PR fixes:
Partial #6595

Special notes for your reviewer:
4.2.6 Ensure that the --protect-kernel-defaults argument is set to true

Does this PR introduce a user-facing change?:

NONE

@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Sep 1, 2020
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 1, 2020
@EppO
Copy link
Contributor

EppO commented Sep 1, 2020

It seems like the kubelet isn't running or healthy.

not sure kubelet likes this setting. You'll need the kubelet logs to check what's wrong with it

@floryut
Copy link
Member Author

floryut commented Sep 2, 2020

It seems like the kubelet isn't running or healthy.

not sure kubelet like this setting. You'll need the kubelet logs to check what's wrong with it

Damn, will check, switching this to WIP

@floryut floryut marked this pull request as draft September 2, 2020 07:17
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 2, 2020
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Sep 2, 2020
@floryut floryut marked this pull request as ready for review September 2, 2020 14:36
@Miouge1
Copy link
Contributor

Miouge1 commented Sep 3, 2020

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: floryut, Miouge1

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 /approve in a comment
Approvers can cancel 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 Sep 3, 2020
@EppO
Copy link
Contributor

EppO commented Sep 3, 2020

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 3, 2020
@EppO
Copy link
Contributor

EppO commented Sep 3, 2020

need to remove the draft status to get merged

@floryut
Copy link
Member Author

floryut commented Sep 3, 2020

need to remove the draft status to get merged

weird, it is not but the WIP label wasn't remove

@floryut floryut changed the title Add protectKernelDefaults option (default true) to kubelet config file WIP Add protectKernelDefaults option (default true) to kubelet config file Sep 3, 2020
@floryut floryut changed the title WIP Add protectKernelDefaults option (default true) to kubelet config file Add protectKernelDefaults option (default true) to kubelet config file Sep 3, 2020
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 3, 2020
@k8s-ci-robot k8s-ci-robot merged commit f1566cb into kubernetes-sigs:master Sep 3, 2020
@floryut floryut mentioned this pull request Sep 3, 2020
erulabs added a commit to kubesail/kubespray that referenced this pull request Sep 12, 2020
* 'master' of https://github.com/kubernetes-sigs/kubespray:
  Add protectKernelDefaults option (default true) to kubelet config file (kubernetes-sigs#6611)
  Rotate kubelet server certificate. (kubernetes-sigs#6453)
  Add snapshot-controller for CSI drivers and snapshot CRDs, add a default volumesnapshotclass when running cinder CSI (kubernetes-sigs#6537)
  Calico: update crds to v1 and cr (kubernetes-sigs#6360)
  Fix E306 in roles/network_plugin (kubernetes-sigs#6516)
LuckySB pushed a commit to southbridgeio/kubespray that referenced this pull request Jan 15, 2021
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. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants