runwhen-contrib / rw-public-codecollection

RunWhen Public Codecollection Repository - Open Source troubleshooting runbook library for Kubernetes and cloud infrastructure components.
Apache License 2.0
39 stars 5 forks source link

[Enhancement] /k8s-kubectl-namespace-healthcheck needs to ignore "Completed" Pod status #95

Closed stewartshea closed 1 year ago

stewartshea commented 1 year ago

Observation image

These pods have a reason of "PodCompleted" - we should add this filter to the object health. See https://github.com/runwhen-contrib/rw-public-codecollection/commit/6c5bf8d7fdc3d46d87160ec4b4b46ac045376108 for additional details.

Current Outcome "Completed" pods show up as an error.

Desired Outcome "Completed" pods should be omitted from error output / inspection.