I am about to write some article about exposing nginx-ingress controller with the named tunnels, so I just prepared some example for it. Would be happy for any feedback or suggestions.
tldr;
Creates a Google Cloud (GCP) Kubernetes Engine (GKE)
Spins up nginx-ingress-controller on GKE cluster using Helm
Spins up a Cloudflare Tunnel with 2 replicas on GKE cluster and points it to the nginx-ingress-controller
Creates Cloudflare token for managing DNS records in the specified zone and creates Kubernetes secret for external-dns
Spins up external-dns to automatically manage DNS records pointing to Cloudflare Tunnel for any Kubernetes ingress resources that use specified Cloudflare zone domain
Spins up example applications demonstrating all above
Hey 👋
I am about to write some article about exposing nginx-ingress controller with the named tunnels, so I just prepared some example for it. Would be happy for any feedback or suggestions.
tldr;
nginx-ingress-controller
on GKE cluster using Helmnginx-ingress-controller
external-dns
external-dns
to automatically manage DNS records pointing to Cloudflare Tunnel for any Kubernetes ingress resources that use specified Cloudflare zone domaindocker-helloworld
(https://docker-helloworld.yourzone.com)echoserver
(https://echoserver.yourzone.com)httpbin
(https://httpbin.yourzone.com)