我在同一网络中有两个 OpenSUSE Micro Leap 5.5 VM,分别称为 m0.k8b.intranet.domain 和 m1.k8b.intranet.domain。两者都是来自https://get.opensuse.org/leapmicro/5.5/的干净的预配置映像。
两个虚拟机已经安装了containerd、kubeadm、kubelet,但kubectl仅在m0中,如https://kubernetes.io/docs/setup/development-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"
在检查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-... pod 失败,因为正在尝试在 /usr/libexec 中创建一个只读文件发行版的不变性。