Kubernetes는 서버 클러스터에 참여할 수 없습니다.

Kubernetes는 서버 클러스터에 참여할 수 없습니다.

동일한 네트워크에 m0.k8b.intranet.domain 및 m1.k8b.intranet.domain이라는 두 개의 OpenSUSE Micro Leap 5.5 VM이 있습니다. 둘 다 깔끔하게 사전 구성된 이미지입니다.https://get.opensuse.org/leapmicro/5.5/.

두 가상 머신 모두 Containerd, kubeadm 및 kubelet이 설치되어 있지만 kubectl은 다음과 같이 m0에만 있습니다.https://kubernetes.io/docs/setup/product-environment/tools/kubeadm/install-kubeadm/그리고https://blog.kubesimplify.com/how-to-install-a-kubernetes-cluster-with-kubeadm-containerd-and-cilium-a-hands-on-guide.

일반적으로 말하면https://blog.kubesimplify.com/how-to-install-a-kubernetes-cluster-with-kubeadm-containerd-and-cilium-a-hands-on-guide그런 다음 m0이 마스터가 되고 m1이 슬레이브가 되었습니다. 그러나 m0이 m1 클러스터에 합류하면 다음 오류가 발생했습니다.

error execution phase preflight: couldn't validate the identity of the API Server: could not find a JWS signature in the cluster-info ConfigMap for token ID "a4rvza"

답변1

건방지게 굴고 난 뒤https://stackoverflow.com/questions/68387634/the-cluster-info-configmap-does-not-yet-contain-a-jws-signature-for-token-id-cj그리고https://serverfault.com/questions/728727/kubernetes-stuck-on-containercreating결과적으로 ...-controller-manager-... 포드 생성은 배포의 불변 특성으로만 읽을 수 있는 /usr/libexec에 파일을 생성하려고 시도하기 때문에 실패합니다.

관련 정보