calico pod启动异常Init:CrashLoopBackOff
来源:5-7 网络插件-Calico_1
Tity酱
2022-09-04
calico-node pod报错:
Warning BackOff 10m (x4 over 10m) kubelet Back-off restarting failed container
Warning DNSConfigForming 29s (x58 over 10m) kubelet Nameserver limits were exceeded, some nameservers have been omitted, the applied nameserver line is: 128.205.1.100 128.205.1.101 128.205.1.102
calico-controller pod报错
Warning FailedScheduling 16m default-scheduler 0/3 nodes are available: 3 node(s) had taint {node.kubernetes.io/not-ready: }, that the pod didn’t tolerate.
Warning FailedScheduling 16m default-scheduler 0/3 nodes are available: 3 node(s) had taint {node.kubernetes.io/not-ready: }, that the pod didn’t tolerate.
1回答
-
Tity酱
提问者
2022-09-04
把/etc/resolv.conf里的dns地址只保留了一个,现在calico-node pod提示back-off restarting failed container。还是起不来, 查看pod日志报错cni-installer: unable to create token for CNI kubeconfig error=Post "http://10.254.0.1:443/api/v1/namespace/kube-system/serviceaccounts/calico-node/token": x509: certificate is valid for 127.0.0.1, not 10.254.0.1
012022-09-05
相似问题