airwallex / k8s-pod-restart-info-collector

Automated troubleshooting of Kubernetes Pods issues. Collect K8s pod restart reasons, logs, and events automatically.
314 stars 45 forks source link

feat: Add flag to ignore restart events with exit code 0 #32

Closed able8 closed 1 year ago

able8 commented 1 year ago

Close https://github.com/airwallex/k8s-pod-restart-info-collector/issues/22

Add ignoreRestartsWithExitCodeZero flag to ignore restart events with an exit code of 0