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

fix: do not post a mesasge on exitcode=0 #31

Closed shiftbase-tvanriel closed 1 year ago

shiftbase-tvanriel commented 1 year ago

To vastly reduce the amount of messages that are not of any concern, skip sending messages if the exitcode equals 0. For most applications, this means that we exited without any problems.

Resolve: airwallex/k8s-pod-restart-info-collector#22

shiftbase-tvanriel commented 1 year ago

The CCLA still mentions the Apache Foundation. Do you happen to have a CLA that mentions your corporation?

able8 commented 1 year ago

Not now, sorry.

able8 commented 1 year ago

We have added this feature, see https://github.com/airwallex/k8s-pod-restart-info-collector/blob/master/CHANGELOG.md#130---2023-05-11