-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add docs for exposing the dashboard as a service instead of using kubectl proxy #370
Comments
Okay, yes, I see how that could work |
If you can access either the
Note, the |
We don't have kubeapi-load-balancer in this deployment, but we have MetalLB. Here's how I ended up doing it: Exposing the dashboard service and adding the SSL certificate. Start by changing the kubernetes-dashboard service spec type from clusterIP to Loadbalancer:
You must then add the SSL certificate and key to the kubernetes-dashboard-certs secret:
Finally you need to remove --auto-generate-certificates and ad --tls-cert-file and --tls-key-file to the kubernetes-dashboard deployment:
You should then be able to access the dashboard via HTTPS at the public IP of the service:
To avoid getting an invalid SSL certificate error in Chrome, the Chrome browser should trust the issuing CA. |
From @davecore82.
Some users may want/need access to the dashboard without using
kubectl proxy
. Document a way to do that.The text was updated successfully, but these errors were encountered: