Skip to content

Instantly share code, notes, and snippets.

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"

This comment has been minimized.

Copy link
Owner Author

@ytooyama 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
You can’t perform that action at this time.