@clyde_reichert
To access a service located in minikube from outside, you can follow these steps:
That's it! You should now be able to access the service located in minikube from outside.
@clyde_reichert
1
|
minikube start |
1 2 |
kubectl create deployment my-app --image=your-image kubectl expose deployment my-app --type=NodePort --port=8080 |
1
|
kubectl get service my-app |
1
|
minikube ip |
1
|
http://<minikube-ip>:<NodePort-port> |
By following the above steps, you should now be able to access the service located in minikube from outside.