-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubectl cluster-info not showing "kubernetes-dashboard is running at" #3044
Comments
is it showing connection timeout? can you tell me your kubernetes version which is in cluster yaml file? |
kubectl logs -n kube-system kubernetes-dashboard-7d5dcdb6d9-rd6lt | more kubectl version |
As per the documentation: https://kubernetes-v1-4.github.io/docs/user-guide/kubectl/kubectl_cluster-info/
By default Dashboard does not have such label, thus it is not visible as a cluster service. |
I found the answer. Running this will bring up my dashboard service without needing kubectl proxy kubectl create secret generic kubernetes-dashboard-certs --from-file=$HOME/certs -n kube-system |
try |
I am not sure why my dashboard is not coming up.
kubectl cluster-info
Kubernetes master is running at https://10.243.90.102:6443
KubeDNS is running at https://10.243.90.102:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
I have configured my dashboard and all is running.
kubectl get all --namespace=kube-system
NAME READY STATUS RESTARTS AGE
pod/etcd-ucs1 1/1 Running 1 1h
pod/kube-apiserver-ucs1 1/1 Running 1 1h
pod/kube-controller-manager-ucs1 1/1 Running 1 1h
pod/kube-dns-86f4d74b45-f4cs9 3/3 Running 3 1h
pod/kube-proxy-ntjnc 1/1 Running 1 1h
pod/kube-proxy-ztstt 1/1 Running 0 1h
pod/kube-scheduler-ucs1 1/1 Running 1 1h
pod/kubernetes-dashboard-7d5dcdb6d9-rd6lt 1/1 Running 0 1h
pod/weave-net-gp58g 2/2 Running 0 1h
pod/weave-net-r5x92 2/2 Running 3 1h
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kube-dns ClusterIP 10.96.0.10 53/UDP,53/TCP 1h
service/kubernetes-dashboard ClusterIP 10.98.146.95 443/TCP 1h
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
daemonset.apps/kube-proxy 2 2 2 2 2 1h
daemonset.apps/weave-net 2 2 2 2 2 1h
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
deployment.apps/kube-dns 1 1 1 1 1h
deployment.apps/kubernetes-dashboard 1 1 1 1 1h
NAME DESIRED CURRENT READY AGE
replicaset.apps/kube-dns-86f4d74b45 1 1 1 1h
replicaset.apps/kubernetes-dashboard-7d5dcdb6d9 1 1 1 1h
What am I missing or what did I not start?
The text was updated successfully, but these errors were encountered: