Found multiple CRI endpoints on the host

1、报错信息
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.sockTo see the stack trace of this error execute with --v=5 or higher
报错信息截图:

Found multiple CRI endpoints on the host

文章插图
【Found multiple CRI endpoints on the host】2、原因:
没有整合和cri-
3、解决办法,在命令后面加上以下选项
--cri-socket unix:///var/run/cri-dockerd.sock
例:
kubeadm init --kubernetes-version=v1.25.4 --pod-network-cidr=10.224.0.0/16 --apiserver-advertise-address=192.168.194.128 --image-repository registry.aliyuncs.com/google_containers --cri-socket=unix:///var/run/cri-dockerd.sock
创作不易,如果这篇文章对你有帮助,希望能点个赞帮助文章的推广,如果文章有错漏,希望各位能批评指正,谢谢大家 。