Kubernetes Ingress controller with Nginx
Install Nginx
https://kubernetes.github.io/ingress-nginx/
Check that it’s all set up correctly
kubectl get pods -n ingress-nginx
Create first application
kubectl apply -f app1.yaml -f app1-service.yaml
Create second application
kubectl apply -f app2.yaml -f app2-service.yaml
Create ingress controller
kubectl apply -f ingress.yaml
Test applications
curl -kL http://localhost/app1
curl -kL http://localhost/app1