kubedns container cannot connect to apiserver

  sre

kubectl describe pod kubernetes-dashboard-68f899f74d-z4td9 –namespace=kube-system

failed: rpc error: code = Unknown desc = NetworkPlugin cni failed to set up pod "kubernetes-dashboard-68f899f74d-z4td9_kube-system" network: Get https://10.96.0.1:443/api/v1/namespaces/kube-system/pods/kubernetes-dashboard-68f899f74d-z4td9: dial tcp 10.96.0.1:443: getsockopt: connection refused

在master上telnet apiserver端口其实不通;
此时ipvs网卡未生成,需要检查proxy和coredns状态

LEAVE A COMMENT

Captcha Code