Unable to see the Kubernetes dashboard

35 views
Skip to first unread message

avinash....@agiliad.com

unread,
Dec 13, 2018, 5:49:52 AM12/13/18
to kubernetes-sig-ui
Hello,

I am new to Kubernetes and I am trying to install and configure the Kubernetes dashboard.

I am able to create the cluster and also able to create / apply the dashboard by using the details mentioned in installation guide. (https://github.com/kubernetes/dashboard/wiki/Installation)


I am able to access the URL and also able to perform the login with the admin credentials.

However, when I am trying to access the dashboard URL https://api.mydomain.com/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy/ I am not able to see the dashboard and getting error messages as trying to access some IP 100.2.2.10.

Requesting you to help me regarding to this.

Thanks,

Avinash Deshmukh

Jeffrey Sica

unread,
Dec 13, 2018, 2:32:11 PM12/13/18
to avinash....@agiliad.com, kubernet...@googlegroups.com
It looks like you're trying to proxy to the kube-dns service not the kubernetes-dashboard service (see your URL:  https://api.mydomain.com/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy/ )

Was this an email typo?

Thanks!

-------------------------------------------------------------------------------------------------------------------------
Disclaimer: This email message including any attachments is confidential, and may be privileged and proprietary to Agiliad. If you are not the intended recipient, please notify us immediately by replying to this message and destroy all copies of this message including any attachments. You are NOT authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. Thank you.
------------------------------
------------------------------------------------------------------------------------------

--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-ui" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-ui/db92f9c0-9a84-4fee-99c5-6f714a671372%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

avinash....@agiliad.com

unread,
Dec 14, 2018, 2:07:29 AM12/14/18
to kubernetes-sig-ui
Hi Jeffrey,

Thanks for your reply.

As per suggestion, I tried to use the URL as 


In response I am getting the JSON representation instead of the Kubernetes dashboard. Please let me know what settings I am missing.

The response that I am getting here is 
==========================================================================
{
  "kind": "Service",
  "apiVersion": "v1",
  "metadata": {
    "name": "kubernetes-dashboard",
    "namespace": "kube-system",
    "selfLink": "/api/v1/namespaces/kube-system/services/kubernetes-dashboard",
    "uid": "01438528-ff69-11e8-bdaa-029d1795d3f4",
    "resourceVersion": "1231",
    "creationTimestamp": "2018-12-14T06:25:09Z",
    "labels": {
      "k8s-app": "kubernetes-dashboard"
    },
    "annotations": {
      "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{},\"labels\":{\"k8s-app\":\"kubernetes-dashboard\"},\"name\":\"kubernetes-dashboard\",\"namespace\":\"kube-system\"},\"spec\":{\"ports\":[{\"port\":443,\"targetPort\":8443}],\"selector\":{\"k8s-app\":\"kubernetes-dashboard\"}}}\n"
    }
  },
  "spec": {
    "ports": [
      {
        "protocol": "TCP",
        "port": 443,
        "targetPort": 8443
      }
    ],
    "selector": {
      "k8s-app": "kubernetes-dashboard"
    },
    "clusterIP": "101.71.221.72",
    "type": "ClusterIP",
    "sessionAffinity": "None"
  },
  "status": {
    "loadBalancer": {
      
    }
  }
}






================================================================================
Reply all
Reply to author
Forward
0 new messages