2017-02-21 10 views
0

Я создаю приборную панель после того, как я установил кубернеты с kubeadm.Панель приборов Kubernetes не может быть запущена

kubectl create -f https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml 

Подождите некоторое время, стручок разбился, как:

kubectl get pods --all-namespaces 
kubernetes-dashboard-3203831700-wq0v4 0/1  CrashLoopBackOff 3   3m 

И я проверил журнал стручка:

kubectl logs -f kubernetes-dashboard-3203831700-wq0v4 -n kube-system      Using HTTP port: 9090 
Creating API server client for https://10.96.0.1:443 
Error while initializing connection to Kubernetes apiserver. This most likely means that the cluster is misconfigured (e.g., it has invalid apiserver certificates or service accounts configuration) or the --apiserver-host param points to a server that does not exist. Reason: Get https://10.96.0.1:443/version: dial tcp 10.96.0.1:443: i/o timeout 
Refer to the troubleshooting guide for more information: https://github.com/kubernetes/dashboard/blob/master/docs/user-guide/troubleshooting.md 

Но я попробовал это ручное ее закрытие, URL-адрес работает:

# curl https://10.96.0.1:443/version 
curl: (35) Peer reports incompatible or unsupported protocol version. 

С кем-либо сталкивались s вопрос раньше? или помочь мне?

ответ

0

я выполнить следующую команду:

rm -rf ~/.kube 

Теперь она работает. все еще немного странно :-(

Смежные вопросы