An Ingress controller is a k8s object which helps to make load balancing and security easy to deploy in k8s, by listening to the ingress resource and executing its events.
minikube start minikube addons enable ingress
- hosname must be set in hosts file!
- The folders
./site1
and./site2
contain dokerfiles for the different sites/apps. - The file
deployment.yaml
for creating app deployments and exposes services for the apps - The file
ingress-test.yaml
for the ingress resources. - Also included deploy and teardown files for convenience.