Files
container.training/slides/exercises/ingress-details.md
2021-12-15 05:44:09 -06:00

1.1 KiB

Exercise — Ingress

  • We want to expose a web app through an ingress controller

  • This will require:

    • the web app itself (dockercoins, NGINX, whatever we want)

    • an ingress controller

    • a domain name (use \*.nip.io or \*.localdev.me)

    • an ingress resource


Goal


Hints

  • For the ingress controller, we can use:

  • If our cluster supports LoadBalancer Services: easy

    (nothing special to do)

  • For local clusters, things can be more difficult; two options:

    • map localhost:80 to e.g. a NodePort service, and use \*.localdev.me

    • use hostNetwork, or ExternalIP, and use \*.nip.io