1. pod一直处于 ContainerCreating
Failed to create pod sandbox: rpc error: code = Unknown desc = failed to start sandbox container for pod "heketi-865b8db4b9-qw7bd": operation timeout: context deadline exceeded

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

2、etcd启动不了
[root@hadoop03 k8s]# kubectl get nodes
The connection to the server 192.168.153.100:6443 was refused - did you specify the right host or port?

查看kube-api-server 日志

[root@hadoop04 ~]# docker logs 93cc56d75cce
...
W0125 19:56:31.295076       1 clientconn.go:1326] [core] grpc: addrConn.createTransport failed to connect to {127.0.0.1:2379 127.0.0.1 <nil> 0 <nil>}. Err: connection error: desc = "transport: authentication handshake failed: context deadline exceeded". Reconnecting...



transport: authentication handshake failed
2379 ectd 端口,查看etcd日志
在这里插入图片描述
https://blog.51cto.com/u_1666898/2121893

在这里插入图片描述

"error":"error validating peerURLs {ClusterID:68e0a6e5be1bf96f Members:[&{ID:8c6d310e845924c3 RaftAttributes:{PeerURLs:[https://192.168.153.103:2380] IsLearner:false
3、pv pvc 删除一直处于Termination

在这里插入图片描述
http://t.zoukankan.com/weifeng1463-p-11490399.html

kubectl patch pv xxx -p '{"metadata":{"finalizers":null}}'

kubectl patch pvc xxx -p '{"metadata":{"finalizers":null}}'
Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐