使用 kk All-In-One 模式 Create Cluster 过程Calico-node 启动失败

Created by: Minus-Z

What is version of KubeKey has the issue?

version.BuildInfo{Version:"2.2.1", GitCommit:"c056977c", GitTreeState:"", GoVersion:"go1.17.11"}

What is your os environment?

Ubuntu 18.04.6 LTS

KubeKey config file

没配置文件,通过:
./kk create cluster --with-kubernetes v1.22.10 --with-kubesphere v3.3.0 
初始化 ks

A clear and concise description of what happend.

  1. 通过 kk 命令初始化 ks ./kk create cluster --with-kubernetes v1.22.10 --with-kubesphere v3.3.0
  2. 通过 kubectl get po -A 查看pod 及状态
root@minuszero:~# kubectl get po  -A
NAMESPACE           NAME                                           READY   STATUS              RESTARTS     AGE
kube-system         calico-kube-controllers-75ddb95444-lnxhz       0/1     ContainerCreating   0            21s
kube-system         calico-node-rxzvq                              0/1     RunContainerError   2 (2s ago)   22s
kube-system         coredns-5495dd7c88-ff594                       0/1     ContainerCreating   0            21s
kube-system         coredns-5495dd7c88-rwlbw                       0/1     ContainerCreating   0            21s
kube-system         kube-apiserver-minuszero                       1/1     Running             0            34s
kube-system         kube-controller-manager-minuszero              1/1     Running             0            34s
kube-system         kube-proxy-l7wbx                               1/1     Running             0            22s
kube-system         kube-scheduler-minuszero                       1/1     Running             0            34s
kube-system         nodelocaldns-6d994                             1/1     Running             0            22s
kube-system         openebs-localpv-provisioner-6c9dcb5c54-bpcdm   0/1     ContainerCreating   0            21s
kubesphere-system   ks-installer-9b4c69688-zmkpj                   0/1     ContainerCreating   0            21s
  1. kubectl describe po calico-node* -n kube-system Events message:
Events:
  Type     Reason     Age                From               Message
  ----     ------     ----               ----               -------
  Normal   Scheduled  53s                default-scheduler  Successfully assigned kube-system/calico-node-rxzvq to minuszero
  Normal   Pulled     52s                kubelet            Container image "registry.cn-beijing.aliyuncs.com/kubesphereio/cni:v3.20.0" already present on machine
  Normal   Created    52s                kubelet            Created container upgrade-ipam
  Normal   Started    52s                kubelet            Started container upgrade-ipam
  Normal   Pulled     51s                kubelet            Container image "registry.cn-beijing.aliyuncs.com/kubesphereio/cni:v3.20.0" already present on machine
  Normal   Created    51s                kubelet            Created container install-cni
  Normal   Started    51s                kubelet            Started container install-cni
  Normal   Pulled     50s                kubelet            Container image "registry.cn-beijing.aliyuncs.com/kubesphereio/pod2daemon-flexvol:v3.20.0" already present on machine
  Normal   Created    50s                kubelet            Created container flexvol-driver
  Normal   Started    50s                kubelet            Started container flexvol-driver
  Warning  Failed     33s (x3 over 49s)  kubelet            Error: failed to start container "calico-node": Error response from daemon: path /sys/fs is mounted on /sys but it is not a shared mount
  Warning  BackOff    22s (x5 over 43s)  kubelet            Back-off restarting failed container
  Normal   Pulled     9s (x4 over 49s)   kubelet            Container image "registry.cn-beijing.aliyuncs.com/kubesphereio/node:v3.20.0" already present on machine
  Normal   Created    9s (x4 over 49s)   kubelet            Created container calico-node

Relevant log output

No response

Additional information

No response