mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
Update kubeadm_config.go
update the way to get containerd cgroup driver config
This commit is contained in:
parent
32373dc0be
commit
64ceba3ae9
|
|
@ -383,7 +383,7 @@ func GetKubeletCgroupDriver(runtime connector.Runtime, kubeConf *common.KubeConf
|
|||
case common.Crio:
|
||||
cmd = "crio config | grep cgroup_manager"
|
||||
case common.Conatinerd:
|
||||
cmd = "containerd config dump | grep -i systemd |grep -i cgroup"
|
||||
cmd = "containerd config dump | grep -i systemd |grep -i cgroup || echo 'SystemdCgroup = false'"
|
||||
case common.Isula:
|
||||
cmd = "isula info | grep 'Cgroup Driver'"
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in New Issue