docker build -t USERNAME/hello-nodejs:v1
docker push USERNAME/hello-nodejs:v1
Spin a local Kubernetes cluster using Minikube with following addons enabled:
- Ingress (
minikube addons enable ingress
) - Metrics Server (
minikube addons enable metrics-server
)
kubectl apply -f ./k8s/manifest.yaml
minikube tunnel
AND open new terminal window/tab- Run
curl http://127.0.0.1/health
&&curl http://127.0.0.1/
on the trminal's new window/tab