using ingress to expose dashboard

2/20/2018

we have started using Kubernetes lately.

since we want to use the dashboard and we prefer not using kubectl proxy command I was wondering how to allow dashboard for all external browsers.

I found that ingress might be helpful in it and provide a solution.

does any one know how to implement that dashboard access via ingress?

many thanks

-- eran meiri
kubernetes
kubernetes-dashboard
kubernetes-ingress

1 Answer

2/20/2018

It's a pretty straightforward thing to, assuming you have ingress operational already. We expose couple of internal services like grafana or prometheus over ingress with basic auth security enabled.

Simply create an Ingress in your kube-system namespace that will point to your dashboard service. If you use official community nginx ingress that take advantage of annotations to set up ssl, auth etc.

-- Radek 'Goblin' Pieczonka
Source: StackOverflow