Failed to list *v1.Namespace: Get https://10.96.0.1:443/api/v1/namespaces?limit=500&resourceVersion=0: dial tcp 10.96.0.1:443: connect: no route to host
路由问题:iptables -L
解决:
先缩减kubectl scale --replicas=0 deploy/coredns -n kube-system
再增加
kubectl scale --replicas=2 deploy/coredns -n kube-system