The ingress is cloudflared (Cloudflare Tunnel), which keeps an HTTP/2 connection pool to upstream Service IPs and reuses connections aggressively. After a pod is removed from Service endpoints, cloudflared can still hold in-flight HTTP/2 streams to the dying pod for a noticeable window — 10 s wasn't enough, deploys still bounced 502 on LiveView reconnect. Bump preStop sleep 10s → 25s and terminationGracePeriodSeconds 40s → 60s so cloudflared has time to turn over its upstream connections before Phoenix begins draining. |
||
|---|---|---|
| .. | ||
| deployment-backfill.yaml | ||
| deployment-grid-rs.yaml | ||
| deployment-hrrr-point-rs.yaml | ||
| deployment.yaml | ||
| hpa.yaml | ||
| kustomization.yaml | ||
| metrics-service.yaml | ||
| namespace.yaml | ||
| rbac.yaml | ||
| service.yaml | ||