coredns这个pod状态为什么一直是CrashLoopBackOff?
来源:4-7 初始化Kubernetes Master
黄小三
2022-03-13
[root@node2 ~]# kubectl get po -n kube-system
NAME READY STATUS RESTARTS AGE
coredns-6d56c8448f-r7q8c 0/1 Running 11 38m
coredns-6d56c8448f-vljpq 0/1 Running 10 38m
etcd-master 1/1 Running 0 38m
kube-apiserver-master 1/1 Running 0 38m
kube-controller-manager-master 1/1 Running 0 38m
kube-flannel-ds-9w5x6 1/1 Running 0 38m
kube-flannel-ds-9xxjf 1/1 Running 0 4m34s
kube-flannel-ds-gb4zz 1/1 Running 1 30m
kube-proxy-8ls8j 1/1 Running 0 4m34s
kube-proxy-mnfzl 1/1 Running 0 30m
kube-proxy-q8747 1/1 Running 0 38m
kube-scheduler-master 1/1 Running 0 38m
[root@master ~]# kubectl logs coredns-6d56c8448f-r7q8c -n kube-system
E0313 13:00:24.739601 1 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.3/tools/cache/reflector.go:125: Failed to list *v1.Service: Get “https://10.1.0.1:443/api/v1/services?limit=500&resourceVersion=0”: dial tcp 10.1.0.1:443: connect: no route to host
E0313 13:00:24.739601 1 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.3/tools/cache/reflector.go:125: Failed to list *v1.Endpoints: Get “https://10.1.0.1:443/api/v1/endpoints?limit=500&resourceVersion=0”: dial tcp 10.1.0.1:443: connect: no route to host
E0313 13:00:24.739959 1 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.3/tools/cache/reflector.go:125: Failed to list *v1.Namespace: Get “https://10.1.0.1:443/api/v1/namespaces?limit=500&resourceVersion=0”: dial tcp 10.1.0.1:443: connect: no route to host
.:53
[INFO] plugin/reload: Running configuration MD5 = db32ca3650231d74073ff4cf814959a7
CoreDNS-1.7.0
linux/amd64, go1.14.4, f59c03d
E0313 13:00:27.755153 1 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.3/tools/cache/reflector.go:125: Failed to list *v1.Endpoints: Get “https://10.1.0.1:443/api/v1/endpoints?limit=500&resourceVersion=0”: dial tcp 10.1.0.1:443: connect: no route to host
E0313 13:00:27.755303 1 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.3/tools/cache/reflector.go:125: Failed to list *v1.Namespace: Get “https://10.1.0.1:443/api/v1/namespaces?limit=500&resourceVersion=0”: dial tcp 10.1.0.1:443: connect: no route to host
E0313 13:00:27.755411 1 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.3/tools/cache/reflector.go:125: Failed to list *v1.Service: Get “https://10.1.0.1:443/api/v1/services?limit=500&resourceVersion=0”: dial tcp 10.1.0.1:443: connect: no route to host
E0313 13:00:30.761178 1 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.3/tools/cache/reflector.go:125: Failed to list *v1.Namespace: Get “https://10.1.0.1:443/api/v1/namespaces?limit=500&resourceVersion=0”: dial tcp 10.1.0.1:443: connect: no route to host
E0313 13:00:30.761310 1 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.3/tools/cache/reflector.go:125: Failed to list *v1.Endpoints: Get “https://10.1.0.1:443/api/v1/endpoints?limit=500&resourceVersion=0”: dial tcp 10.1.0.1:443: connect: no route to host
E0313 13:00:30.761386 1 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.3/tools/cache/reflector.go:125: Failed to list *v1.Service: Get “https://10.1.0.1:443/api/v1/services?limit=500&resourceVersion=0”: dial tcp 10.1.0.1:443: connect: no route to host
[ERROR] plugin/errors: 2 6786799312538263994.8897687558807063579. HINFO: read udp 10.244.0.2:33760->10.0.3.3:53: i/o timeout
[ERROR] plugin/errors: 2 6786799312538263994.8897687558807063579. HINFO: read udp 10.244.0.2:39023->10.0.3.3:53: i/o timeout
[ERROR] plugin/errors: 2 6786799312538263994.8897687558807063579. HINFO: read udp 10.244.0.2:35188->10.0.3.3:53: i/o timeout
1回答
-
清风
2022-03-13
看看是不是镜像拉取失败
00
相似问题