-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
"sudo /usr/local/bin/minikube start --driver=docker"
Problem: : Not able to access POD web application after deployment.
Proposed Solution: : Need to find a way to change minikube IP manually
v1.18.0 . I have a deployed minikube on VM (REDHAT 7.8) running over VMware and I have deployed minikube with --driver=docker. I have delpoyed minikube with command "sudo /usr/local/bin/minikube start --driver=docker". All went fine. Below are the logs:
[osadmin@dockerce simplek8s]$ kubectl cluster-info
Kubernetes master is running at https://127.0.0.1:49152
KubeDNS is running at https://127.0.0.1:49152/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
[osadmin@dockerce simplek8s]$ minikube status
m01
host: Running
kubelet: Running
apiserver: Running
kubeconfig:
[osadmin@dockerce simplek8s]$ minikube ip
127.0.0.1
Now the issue is that minikube IP is 127.0.0.1. And my machine IP is 10.239.X.X. So after I deployed a POD(web application), I am not able to access it from outside my browser from where 10.239.X.X is reachable. I have defined the port fine and POD got created as well.