使用All In One 最小化部署的方式进行安装,在执行初始化阶段提示:
Found multiple CRI endpoints on the host. Please define which one do you wish to use by setting the 'criSocket' field in the kubeadm configuration file: unix:///var/run/containerd/containerd.sock, unix:///var/run/cri-dockerd.sock
使用All In One 最小化部署的方式进行安装,在执行初始化阶段提示: Found multiple CRI endpoints on the host. Please define which one do you wish to use by setting the 'criSocket' field in the kubeadm configuration file: unix:///var/run/containerd/containerd.sock, unix:///var/run/cri-dockerd.sock
我尝试修改install_k8s.sh脚本中的相关参数,无法解决: kubeadm init --config=/etc/cube/kubeadm/init.config --cri-socket unix:///var/run/cri-dockerd.sock 也修改了 /etc/cube/kubeadm/old.config 文件,添加 runtimeConfiguration: criSocket: "unix:///var/run/cri-dockerd.sock" 仍然不起作用。 请问应该如何解决这个问题?