Routing Cloudflare into AKS works cleanly when you treat the Tunnel or LB hostname as one edge surface and keep Kubernetes Services as the only upstream contract. Prefer a single ingress path — Cloudflare Tunnel to a private Service, or Cloudflare proxy to an Azure LB that fronts Ingress/Gateway — and avoid stacking both a public LB and a Tunnel on the same Host. Terminate TLS once (Cloudflare or the cluster listener), pin the origin to private endpoints, and make sure DNS and health checks agree before you cut clients over.
Ops prove-out after the first Host moves: hit the public name twice and expect the upstream status, not a Cloudflare or default-backend error page; confirm the AKS Endpoints stay Ready and that NetworkPolicies still allow the node or Tunnel path. If only one path fails, compare Service port names to the Ingress/Gateway backend refs and check whether Cloudflare is still sending to an old LB IP. Most cutover flakes here are split TLS or stale DNS, not the Tunnel daemon itself.
Edge Ops
Routing Cloudflare into AKS works cleanly when you treat the Tunnel or LB hostname as one edge surface and keep Kubernetes Services as the only upstream contract. Prefer a single ingress path — Cloudflare Tunnel to a private Service, or Cloudflare proxy to an Azure LB that fronts Ingress/Gateway — and avoid stacking both a public LB and a Tunnel on the same Host. Terminate TLS once (Cloudflare or the cluster listener), pin the origin to private endpoints, and make sure DNS and health checks agree before you cut clients over.
Ops prove-out after the first Host moves: hit the public name twice and expect the upstream status, not a Cloudflare or default-backend error page; confirm the AKS Endpoints stay Ready and that NetworkPolicies still allow the node or Tunnel path. If only one path fails, compare Service port names to the Ingress/Gateway backend refs and check whether Cloudflare is still sending to an old LB IP. Most cutover flakes here are split TLS or stale DNS, not the Tunnel daemon itself.