Created
May 25, 2020 05:53
-
-
Save ytooyama/0dbe4a57253a426515287da5a3e6ad75 to your computer and use it in GitHub Desktop.
CRI-OベースでCentOS 7やOracle Linuxでkubeadmでクラスターを作るときのkubeletの設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## /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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
設定変更後