Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29250

Unable to access the EC2 Kubernetes dashboard

$
0
0

I followed How can I access to kubernetes dashboard using NodePort in a remote cluster for testing?

My Kubernetes cluster runs in Amazon EC2 instances and cluster services looks like below

$ kubectl get services --all-namespacesNAMESPACE     NAME                   TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)         AGEdefault       kubernetes             ClusterIP   100.64.0.1      <none>        443/TCP         5h54mkube-system   kube-dns               ClusterIP   100.64.0.10     <none>        53/UDP,53/TCP   5h53mkube-system   kubernetes-dashboard   NodePort    100.68.178.51   <none>        443:31872/TCP   5h47m$ kubectl cluster-infoKubernetes master is running at https://api.selumalai.k8s.comKubeDNS is running at https://api.selumalai.k8s.com/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

I have exposed the NodePort at 31872. If I access the dashboard in browser using

$ kubectl  proxy -p 8001 &$ curl https://api.selumalai.k8s.com:31872

Its loading forever. What am I doing wrong ?


Viewing all articles
Browse latest Browse all 29250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>