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

Clarify kubelet vs kubeadm default cgroupDriver options #41223

Merged

Conversation

mrgiles
Copy link
Contributor

@mrgiles mrgiles commented May 18, 2023

Add links to explain the differences between the kubelet's and kubeadm default cgroupDriver. Fixes #36492

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 18, 2023
@k8s-ci-robot k8s-ci-robot requested a review from sftim May 18, 2023 21:26
@k8s-ci-robot k8s-ci-robot added the language/en Issues or PRs related to English language label May 18, 2023
@k8s-ci-robot k8s-ci-robot added sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 18, 2023
@netlify
Copy link

netlify bot commented May 18, 2023

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 03fec1e
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/6466b1ec4af7d00008730242
😎 Deploy Preview https://deploy-preview-41223--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@tengqm
Copy link
Contributor

tengqm commented May 18, 2023

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 19, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 46ac7efcdc6fd3dbe4d9d2c5b78a8a1a0389420f

Copy link
Contributor

@sftim sftim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

The review comment is an aside.

Comment on lines +37 to +38
In v1.22 and later, if the user does not set the `cgroupDriver` field under `KubeletConfiguration`,
kubeadm defaults it to `systemd`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd put:

Suggested change
In v1.22 and later, if the user does not set the `cgroupDriver` field under `KubeletConfiguration`,
kubeadm defaults it to `systemd`.
If you do not set the `cgroupDriver` field in the kubelet configuration passed to
kubeadm, then the kubeadm tool defaults the value to `systemd`. This applies to
Kubernetes v1.22 through to v{{< skew latestVersion >}}. If you are running a version
of Kubernetes outside that range, the behavior may be different.

(note: use of latestVersion not currentVersion)

but if I did that, I'd put a comment (HTML comment) as a note that any revision here will need to be backported.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sftim

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 May 22, 2023
@k8s-ci-robot k8s-ci-robot merged commit 3bcd2dd into kubernetes:main May 22, 2023
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. language/en Issues or PRs related to English language lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/docs Categorizes an issue or PR as relevant to SIG Docs. 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.

Unclear default value for KubeletConfiguration.cgroupDriver
4 participants