Skip to content

Demonstrate ingress controller routing on same domain k8s - minikube

License

Notifications You must be signed in to change notification settings

katsok9/ingress-controller-demo

Repository files navigation

ingress-controller-demo

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.

prequisits

After installing minikube run the following command:
minikube start
minikube addons enable ingress
This command initiates the minikube default ingress controller addon, which eliminates the need to self define an ingress controller.
The default minikube ingress controller is implemented with nginx.

Conf:

  • hosname must be set in hosts file!

Contents

  • 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.

About

Demonstrate ingress controller routing on same domain k8s - minikube

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published