`
gutou9
  • 浏览: 144420 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

kubernete

 
阅读更多

 

system slice

--runtime-cgroups=/systemd/system.slice --kubelet-cgroups=/systemd/system.slice

 

 

修改 docker cgroup driver

https://blog.csdn.net/wuxiaobingandbob/article/details/78969696

 配置文件

/usr/lib/systemd/system/docker.service

--exec-opt native.cgroupdriver=cgroupfs \

 

   

 

https://kubernetes.io/docs/setup/independent/install-kubeadm/#configure-cgroup-driver-used-by-kubelet-on-master-node

 

When using Docker, kubeadm will automatically detect the cgroup driver for the kubelet and set it in the /var/lib/kubelet/kubeadm-flags.env file during runtime.

If you are using a different CRI, you have to modify the file /etc/default/kubelet with your cgroup-driver value, like so:

KUBELET_KUBEADM_EXTRA_ARGS=--cgroup-driver=<value>


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics