How to get the Minikube IP?

by aliya.yundt , in category: General Help , 9 months ago

How to get the Minikube IP?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by coty_beier , 9 months 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 , 4 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.