Logo Wael's Digital Garden

Cloudflare Tunnel for Kubernetes

Cloudflare Tunnel for Kubernetes#

Problem#

Hosting services on Kubernetes is amazing but running Kubernetes inside a home network can be quite risky as it's incredibly difficult to ensure the environment is secure, monitored for intruders and backed up --- It just lacks the backing of a company/team behind it. With that in mind, how is it possible to open websites to the internet without opening ports on the router?

Solution#

Cloudflare offers exactly the product I need for this, it's called Cloudflare Zero Trust - Cloudflare Tunnel. The tunnel allows Cloudflare to open up specific Kubernetes Services to the internet without opening ports on the router. Furthermore, there's Cloudflare Zero Trust - Applicaitons that allows putting a website behind Google (or other auth) to improve the security by not relying on the correctness of the application itself.

Related#