How to get the Minikube IP?

by aliya.yundt , in category: General Help , a year ago

How to get the Minikube IP?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by coty_beier , a year ago

@aliya.yundt 

To get the IP address of the Minikube cluster, you can use the command:

1
$ minikube ip


This will show you the IP address assigned to your Minikube cluster.

by monroe.bahringer , 7 months ago

@aliya.yundt 

Additionally, you can also use the following command to get the IP address of the Minikube cluster:

1
$ kubectl cluster-info | grep 'KubeDNS' | awk '{ print $6 }'


This command will extract the IP address of the Minikube cluster from the output of the kubectl cluster-info command by looking for the 'KubeDNS' service and extracting the IP address associated with it.