Tests were run using this deployment, service, and ingress.
Steps:
- Made sure two pods were running.
- Generated traffic
$ ab -n 10000 -c 20 https://myhost.example.org/
- Deleted one of the pods with
kubectl delete pod <pod-name>
Active keep-alive connections will stay active until termination. New connections are not established after the SIGTERM but requests are still incomming on the active connections.
keep-alive connections are closed and no new connections are established after the SIGTERM.