Skip to content

Instantly share code, notes, and snippets.

Created May 25, 2020 05:53
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
CRI-OベースでCentOS 7やOracle Linuxでkubeadmでクラスターを作るときのkubeletの設定
## /etc/sysconfig/kubelet を以下の設定で次のバージョンのK8sが稼働するのを確認: 1.14.9, 1.17.3, 1.18.3
## CRI-Oの設定でcgroup_managerをsystemdにすること
KUBELET_EXTRA_ARGS="--fail-swap-on=false --cgroup-driver=systemd"
KUBELET_CRIO_ARGS="--container-runtime=remote --container-runtime-endpoint=unix:///var/run/crio/crio.sock --runtime-request-timeout=10m"
Copy link

ytooyama commented Sep 14, 2020


systemctl enable kubelet
systemctl restart kubelet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment