kubectl describe po kubernetes-dashboard-184298627-vl956 -n kube-system gives :
FirstSeen LastSeen Count From SubObjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
17m 17m 1 default-scheduler Normal ScheduledSuccessfully assigned kubernetes-dashboard-184298627-vl956 to k8s-node-3
17m 17m 1 kubelet, k8s-node-3 Normal SuccessfulMountVolume MountVolume.SetUp succeeded for volume "dashboard-token-wchfv"
13m 16s 8 kubelet, k8s-node-3 spec.containers{kubernetes-dashboard} Normal Pulling pulling image "luxas/kubernetes-dashboard:v1.6.1"
12m 10s 8 kubelet, k8s-node-3 spec.containers{kubernetes-dashboard} Normal Pulled Successfully pulled image "luxas/kubernetes-dashboard:v1.6.1"
12m 10s 8 kubelet, k8s-node-3 spec.containers{kubernetes-dashboard} Normal Created Created container
11m 9s 8 kubelet, k8s-node-3 spec.containers{kubernetes-dashboard} Normal Started Started container
13m 6s 53 kubelet, k8s-node-3 Warning FailedSync Error syncing pod
11m 6s 52 kubelet, k8s-node-3 spec.containers{kubernetes-dashboard} Warning BackOff Back-off restarting failed container
On the node docker logs bcc9c66addcd gives :
Using HTTP port: 8443
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: connect: network is unreachable
Refer to the troubleshooting guide for more information: https://github.com/kubernetes/dashboard/blob/master/docs/user-guide/troubleshooting.md
Hello.
Deploy Kubernetes Dashboard with :
kubectl apply -f demos/dashboard/dashboard.yaml
Dashboard goes into CrashLoopBackOff state :
kubectl describe po kubernetes-dashboard-184298627-vl956 -n kube-system
gives :On the node
docker logs bcc9c66addcd
gives :Appreciate any help to resolve this.