sensu-plugins-kubernetes
sensu-plugins-kubernetes copied to clipboard
check-kube-service-available: Add --ignore-evicted
Pull Request Checklist
Is this in reference to an existing issue? no.
General
-
[X] Update Changelog following the conventions laid out at here
-
[X] Update README with any necessary configuration snippets (N/A)
-
[X] Binstubs are created if needed (N/A)
-
[ ] RuboCop passes -- I don't have a fully functional ruby environment currently
-
[ ] Existing tests pass -- I don't have a fully functional ruby environment currently
New Plugins
-
[X] Tests (N/A)
-
[X] Add the plugin to the README (N/A)
-
[X] Does it have a complete header as outlined here (N/A)
Purpose
Our cluster occasionally has pods stuck in the evicted state even though the service is running fine. Adding a CLI option that ignores evicted pods makes the check less noisy.