AnswerBun.com

How can I make the minikube dashboard answer on all ips 0.0.0.0?

minikube has a dashboard that I can view easily with

minikube dashboard

However, that only works if I run it on my own machine because it only answers on localhost,

* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
* Opening http://127.0.0.1:35781/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser...
  - http://127.0.0.1:35781/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/

I’m running minikube though on a remote machine on openstack, so I need to address it by it’s lan address, and not 127.0.0.1.

Unix & Linux Asked by Evan Carroll on January 2, 2021

1 Answers

One Answer

One method is to background the dashboard,

$ minikube dashboard --url &
[1] 356972

And then use kubectl proxy to listen to all addresses,

kubectl proxy --address=0.0.0.0 --accept-hosts='.*'

Correct answer by Evan Carroll on January 2, 2021

Add your own answers!

Related Questions

Bash tail -f with while-read and pipe hangs

1  Asked on November 23, 2021 by eric-larson

     

how to close a port on CentOS 7 server?

1  Asked on November 23, 2021 by user3486308

       

GNU date: truncate provided date-time and set provided hours

2  Asked on November 23, 2021 by basin

 

Using subversion on an CIFS mounted share

0  Asked on November 23, 2021 by monatsend

         

Install Unity 3d Without X

1  Asked on November 23, 2021

     

Why do we use linux bridge?

2  Asked on November 23, 2021 by jehutyy

   

TestDisk always return corrupted files

1  Asked on November 23, 2021 by user408830

     

GUI for NFTables, like fwbuilder

3  Asked on November 21, 2021 by andr-schild

   

Allow user to run PHP-FPM without password using sudoers

1  Asked on November 21, 2021 by sen-mccabe

     

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved.