Dev.to
7/13/2026

Secure Kubernetes Dashboard with Cloudflare Zero Trust Tunnel
Short summary
A practical checklist for securing an exposed Kubernetes Dashboard using Cloudflare Tunnel and Zero Trust Access instead of a VPN. The author discovered their own dashboard exposed via NodePort during a Shodan sweep and built a repeatable 10-step hardening guide. Steps cover in-cluster cloudflared deployment, secret management, Access policies, RBAC scoping, NetworkPolicies, and TLS verification.
- •Kubernetes Dashboard exposed via NodePort or kubectl proxy is a top cluster takeover vector
- •Cloudflare Tunnel + Zero Trust Access replaces VPN with outbound-only connection and per-request identity
- •10-step checklist covers cloudflared deployment, secrets, Access policies, RBAC, NetworkPolicy, and TLS verification
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



