Skip to content

Instantly share code, notes, and snippets.

@ytooyama
Created May 25, 2020 05:53
Show Gist options
  • Select an option

  • Save ytooyama/0dbe4a57253a426515287da5a3e6ad75 to your computer and use it in GitHub Desktop.

Select an option

Save ytooyama/0dbe4a57253a426515287da5a3e6ad75 to your computer and use it in GitHub Desktop.
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"
@ytooyama

ytooyama commented Sep 14, 2020 •

Copy link
Copy Markdown
Author

設定変更後

systemctl enable kubelet
systemctl restart kubelet

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