Use containerd CRI socket in kubernetes

This commit is contained in:
Malte Poll 2022-04-01 10:05:46 +02:00 committed by Malte Poll
parent f74d7e22eb
commit f77536b38b

View File

@ -24,7 +24,7 @@ func (c *CoreOSConfiguration) InitConfiguration() KubeadmInitYAML {
Kind: "InitConfiguration",
},
NodeRegistration: kubeadm.NodeRegistrationOptions{
CRISocket: "/var/run/crio/crio.sock",
CRISocket: "/run/containerd/containerd.sock",
KubeletExtraArgs: map[string]string{
"cloud-provider": "external",
"network-plugin": "cni",
@ -71,7 +71,7 @@ func (c *CoreOSConfiguration) JoinConfiguration() KubeadmJoinYAML {
Kind: "JoinConfiguration",
},
NodeRegistration: kubeadm.NodeRegistrationOptions{
CRISocket: "/var/run/crio/crio.sock",
CRISocket: "/run/containerd/containerd.sock",
KubeletExtraArgs: map[string]string{
"cloud-provider": "external",
},