Categorygithub.com/yangl900/pod-terminator
repository
0.0.0-20210426064532-e69f269111af
Repository: https://github.com/yangl900/pod-terminator.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

pod-terminator

Gracefully shutdown pods that serves externalTrafficPolicy: local service, to avoid downtime during deployment.

Installation

  1. Run make cert-manager to install cert-manager in the cluster.
  2. Run make install to install the pod-terminator in pod-terminator namespace.

Usage

Annotate both service and pod with pod-terminator: enabled.

Sample in ./deployment/nginx.yaml