Deploys were causing 502 Bad Gateway on LiveView reconnect. The kubelet sent SIGTERM to the old pod and Phoenix immediately stopped accepting connections, but the Service endpoint controller and ingress hadn't yet propagated the pod's removal from endpoints — the browser's reconnect raced the endpoint update and bounced 502 against the dead pod, then gave up. Add a 10s preStop sleep on the container and bump terminationGracePeriodSeconds to 40 so the load balancer has time to drain this pod before Phoenix begins shutting down. |
||
|---|---|---|
| .. | ||
| 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 | ||