-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
kubeadm: update docs about configuring cgroup driver used by kubelet on control-plane node #20609
kubeadm: update docs about configuring cgroup driver used by kubelet on control-plane node #20609
Conversation
/cc @neolit123 |
3490585
to
975d5f4
Compare
Deploy preview for kubernetes-io-master-staging ready! Built with commit f150906 https://deploy-preview-20609--kubernetes-io-master-staging.netlify.app |
{{< note >}} | ||
Since `--cgroup-driver` flag has been deprecated by kubelet, if you have that in `/var/lib/kubelet/kubeadm-flags.env` | ||
or `/etc/default/kubelet`(`/etc/sysconfig/kubelet` for RPMs), please remove it and set the value via the config file | ||
which used by kubelet (the default is `/var/lib/kubelet/config.yaml`). |
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.
please remove it and use the KubeletConfiguration instead (stored in
/var/lib/kubelet/config.yaml
by default).
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 @SataQiu i've added one minor comment.
975d5f4
to
63e6d45
Compare
{{< note >}} | ||
Since `--cgroup-driver` flag has been deprecated by kubelet, if you have that in `/var/lib/kubelet/kubeadm-flags.env` | ||
or `/etc/default/kubelet`(`/etc/sysconfig/kubelet` for RPMs), please remove it and use the KubeletConfiguration instead | ||
(stored in /var/lib/kubelet/config.yaml by default). |
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.
/var/lib/kubelet/config.yaml
should be in back-quotes (code quotes ` )
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 @neolit123 😆
…on control-plane node
63e6d45
to
f150906
Compare
/lgtm |
/sig cluster-lifecycle |
[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 |
I'm not sure what has been changed here, but it does sound that this part of the documentation (external HA cluster) should also be included: |
kubeadm: update docs about configuring cgroup driver used by kubelet on control-plane node
We set the cgroup driver in
/var/lib/kubelet/config.yaml
instead of/var/lib/kubelet/kubeadm-flags.env
now.Ref: kubernetes/kubernetes#90513
Ref: kubernetes/kubeadm#949