dashboard: Get ServiceUnavailable 503
- Kubernetes v1.2.0
- Fedora 24 x64
I followed this guide on configuring Kubernetes on Fedora master-node, everything goes ok, but when I go for UI, I had nothing and couldn’t install as described in this guide, so I created
{
"kind": "Namespace",
"apiVersion": "v1",
"metadata": {
"name": "kube-system"
}
}
and install as
kubectl create -f https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml --namespace=kube-system
which installed fine, but now when I go for
https://<my-ip>:8080/ui
I get
{
"paths": [
"/api",
"/api/v1",
"/apis",
"/apis/autoscaling",
"/apis/autoscaling/v1",
"/apis/batch",
"/apis/batch/v1",
"/apis/extensions",
"/apis/extensions/v1beta1",
"/healthz",
"/healthz/ping",
"/logs/",
"/metrics",
"/resetMetrics",
"/swaggerapi/",
"/version"
]
}
and trying to use
http://<my-ip>:8080/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard
for access and get
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "no endpoints available for service \"kubernetes-dashboard\"",
"reason": "ServiceUnavailable",
"code": 503
}
and don’t know how to fix it. Any suggestions?
Confirmation that plugin installed
root@fed-master ~]# kubectl get deployment kubernetes-dashboard --namespace=kube-system
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
kubernetes-dashboard 1 0 0 0 2h
[root@fed-master ~]# kubectl get svc kubernetes-dashboard --namespace=kube-system
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes-dashboard 10.254.154.193 nodes 80/TCP 2h
crossposted to SO: http://stackoverflow.com/questions/38083876/kubernetes-ui-unreachable
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 34 (13 by maintainers)
the same here…
I see this issue too with kubernetes
1.5.4and kubernetes-dashboard image versiongcr.io/google_containers/kubernetes-dashboard-amd64:v1.6.0.I installed
kubeadmreferring https://kubernetes.io/docs/getting-started-guides/kubeadm/, and then installed kubernetes-dashboard by doingI see the kubernetes-dashboard in
CrashLoopBackOffstatus and thek8s_kubernetes-dashboard.*container on the worker is inExitedstate.Below are the errors. Has anyone successfully installed kubernetes-dashboard on
kubeadm?