kuberneteskubernetes-ingresskubernetes-dashboard

Kubernetes Dashboard open remote acces issue


I am trying to open dashboard for remote access. I can access from the GUI interface inside the machine.

>> minikube dashboard

command works in the machine and I access to the dashboard UI. However, I try to open dashboard for remote access I could not be able to do it. I tried 3 different ways to open. 1 st way https://www.bogotobogo.com/DevOps/Docker/Docker_Kubernetes_Nginx_Ingress_Controller_for_Dashboard_on_Minikube.php. In here

>> minikube addons enable ingress

is giving error that i could not be able to find in the forums etc. The error is like following

X Exiting due to MK_ADDON_ENABLE: run callbacks: running callbacks: [waiting for app.kubernetes.io/name=ingress-nginx pods: timed out waiting for the condition] *

The second way that I've tried -> https://minikube.sigs.k8s.io/docs/handbook/dashboard/ In here it does not give respond for

>> minikube dashboard --url

It is waiting until to keyboard interrupt (CTRL + C)

The last way I've tried -> https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/

In here

>> kubectl proxy

does not responding anything. I am cancelling by keyboard interrupt.


Solution

  • I solved the second way issue it is my foolish : ( I have to run commands in background : ).