kubeadm Joinを使用してマスターノードに参加することはできません。

kubeadm Joinを使用してマスターノードに参加することはできません。

kubernetes クラスターをセットアップし、ワーカーノードでこのコマンドを実行しようとしたときに表示される kubeadm join server:port --token xxx --discovery-token-ca-cert-hash sha256:xxxx エラーは次のとおりです。

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

ここでは、どのコンテナランタイムが使用されているかわからないため、コマンドを修正しましたが、 kubeadm join server:port --token xxx --discovery-token-ca-cert-hash sha256:xxxx --cri-socket /var/run/crio/crio.sock エラーは次のようになります。

[ERROR CRI]: container runtime is not running: output: I0617 21:55:27.908044 1877581 util_unix.go:103] "Using this endpoint is deprecated, please consider using full URL format" endpoint="/var/run/crio/crio.sock" URL="unix:///var/run/crio/crio.sock"
E0617 21:55:27.908867 1877581 remote_runtime.go:616] "Status from runtime service failed" err="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial unix /var/run/crio/crio.sock: connect: no such file or directory\""
time="2023-06-17T21:55:27+05:30" level=fatal msg="getting status of runtime: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial unix /var/run/crio/crio.sock: connect: no such file or directory\""
, error: exit status 1

誰でもここで正しいアプローチを提案できますか?

ベストアンサー1

おすすめ記事