Kubernetes
minchowang
这个作者很懒,什么都没留下…
展开
-
Kubernetes Pod 提示 : Init:ImagePullBackOff
如果有pod提示Init:ImagePullBackOff,说明这个pod的镜像在对应节点上拉取失败,我们可以通过 kubectl describe pod 查看 Pod 具体情况,以确认拉取失败的镜像:[root@master ~]# kubectl get pods -n kube-systemNAME READY STATUS RESTARTS AGEcoredns-7ff77c879f-lssvc原创 2020-10-11 17:15:31 · 7397 阅读 · 0 评论 -
Kubernetes 添加新节点时 couldn‘t validate the identity of the API Server
在k8s添加新节点时,发生如下错误couldn't validate the identity of the API Server: expected a 32 byte SHA-256 hash, found 31 bytes报错原因:kubeadm init生成的token有效期只有1天解决方法:# master 查看节点检查token是否有效kubeadm token list# 生成新的token和命令。然后在node重新执行kubeadm token create --print原创 2020-10-11 16:52:12 · 5719 阅读 · 0 评论
分享