kube-obituaries
Archives pod manifests at termination.
Controller installation
kubectl apply -f manifests/kube-obituaries.yaml
Kubectl plugin installation
chmod +x kubectl-plugin/kubectl-ob
cp kubectl-plugin/kubectl-ob /usr/local/bin
CLI Usage:
kubectl ob <DELETED_POD_NAME>
Feed into jq for pretty print
kubectl ob <DELETED_POD_NAME> |jq -r
Supports wildcard
kubectl ob calico% |jq -r