kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.5k stars 4.89k forks source link

minikube dashboard error #19547

Open prateek2895 opened 2 months ago

prateek2895 commented 2 months ago

What Happened?

[rackware@ps-centos7-test ~]$ minikube dashboard

X Exiting due to HOST_BROWSER: failed to open browser: exit status 3

[rackware@ps-centos7-test ~]$ kubectl expose deployment my-nginx --port=80 --type=LoadBalancer service/my-nginx exposed [rackware@ps-centos7-test ~]$ kubectl get services NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes ClusterIP 10.96.0.1 443/TCP 14m my-nginx LoadBalancer 10.99.57.238 80:31821/TCP 7s [rackware@ps-centos7-test ~]$ minikube service my-nginx ----------- ---------- ------------- --------------------------- NAMESPACE NAME TARGET PORT URL
default my-nginx 80 http://192.168.49.2:31821
----------- ---------- ------------- ---------------------------

X Exiting due to HOST_BROWSER: open url failed: [default my-nginx 80 http://192.168.49.2:31821]: exit status 3 ╭─────────────────────────────────────────────────────────────────────────────────────────────╮ │ │ │ If the above advice does not help, please let us know: │ │ https://github.com/kubernetes/minikube/issues/new/choose │ │ │ │ Please run minikube logs --file=logs.txt and attach logs.txt to the GitHub issue. │ │ Please also attach the following file to the GitHub issue: │ │ * - /tmp/minikube_service_3a15bed537e43007b5e1ce0350a2d2d2e72872c8_0.log │ │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────╯

Attach the log file

logs.txt

Operating System

Redhat/Fedora

Driver

Docker