kubernetes-dashboard-api CrashLoopBackOff after a clean deployment #9242
Unanswered
douglasuzcategui
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
After install Kubernetes Dashboard, in several times, i can't healty pod kubernetes-dashboard-api.
i'm using Helm for install.
Add kubernetes-dashboard repository
helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/
Deploy a Helm Release named "kubernetes-dashboard" using the kubernetes-dashboard chart
helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard
NAME READY STATUS RESTARTS AGE pod/kubernetes-dashboard-api-69cfdc6c8c-cvvpx 0/1 CrashLoopBackOff 5 (105s ago) 4m55s pod/kubernetes-dashboard-auth-d64bc599b-dqr8c 1/1 Running 0 2d23h pod/kubernetes-dashboard-kong-7696bb8c88-nx4dn 1/1 Running 0 2d23h pod/kubernetes-dashboard-metrics-scraper-5485b64c47-7frfp 1/1 Running 0 2d23h pod/kubernetes-dashboard-web-84f8d6fff4-rstx6 1/1 Running 0 2d23h
the logs only mention this error
kubectl logs kubernetes-dashboard-api-69cfdc6c8c-hnkrg -n kubernetes-dashboard
I0715 18:55:38.876478 1 main.go:40] "Starting Kubernetes Dashboard API" version="1.7.0"
I0715 18:55:38.876528 1 init.go:47] Using in-cluster config
F0715 18:55:39.897037 1 main.go:159] 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 account's 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: no route to host
Refer to our FAQ and wiki pages for more information: https://github.com/kubernetes/dashboard/wiki/FAQ
But, this url is healty and reachable. Any ideas to solve this error?
Beta Was this translation helpful? Give feedback.
All reactions