Gracefully shutdown pods that serves externalTrafficPolicy: local
service, to avoid downtime during deployment.
- Run
make cert-manager
to install cert-manager in the cluster. - Run
make install
to install the pod-terminator inpod-terminator
namespace.
Annotate both service and pod with pod-terminator: enabled
.
Sample in ./deployment/nginx.yaml