kubernetes minikube not working with mount kubernetes minikube not working with mount kubernetes kubernetes

kubernetes minikube not working with mount


There are some things to consider:

  1. Check if you have the dashboard addon enabled:
kubectl get pods -n kube-systemkubectl describe pod <dashboard-addon-name> -n kube-system

ALSO

minikube addons list

Look for this:

...- dashboard: enabled...

To enable execute: minikube addons enable dashboard

  1. There might be some issue with the versions due to the changes you made. Try to execute:
minikube stopminikube deleteminikube start

before you hit:

minikube start --mount --mount-string /home/user/data:/data
  1. Minikube needs dome time to get the pods ready. Try to simply wait a few minutes longer before trying to execute: minikube dashboard.Also you can check it with kubectl get pods --all-namespaces

  2. Check your proxy configuration. You might need to add the minikube ip to the no_proxy env variable:

export no_proxy=$no_proxy,$(minikube ip)
  1. If nothing helps you'll need to dig deeper. Start from the logs:
minikube dashboard --logtostderr --v=2

Please let me know if that helped.