External ip for kubernetes shows in minikube

前端 未结 1 1685
眼角桃花
眼角桃花 2021-01-04 23:28

I am fairly new to Kubernetes and I have recently exposed a service using miniKube using NodePort type. I want to test the running of my application but I dont

相关标签:
1条回答
  • 2021-01-05 00:22

    As you are using minikube, the command minikube ip will return the IP you are looking for.

    In case you are not using minikube, kubectl get nodes -o yaml will show you, amongst other data, the IP address of the node.

    0 讨论(0)
提交回复
热议问题