To run this project :
- Look at the Makefile
- make load - Run this command to build and load the image to minikube . Before this make sure you have minikube started using minikube start
- make start - Run this command to start the service
This branch talks about usign Nodeport to communicate via services to the underlying pod. make load and make start have the following commands :
minikube start
eval $(minikube docker-env) # To point your shell to minikube's docker-daemon
docker build -t hello-world .
minikube image load hello-world
kubectl create -f pod.yaml
kubectl get svc
minikube service helloworld-service