sensu-plugins-kubernetes icon indicating copy to clipboard operation
sensu-plugins-kubernetes copied to clipboard

check-kube-service-available: Add --ignore-evicted

Open dave-shawley opened this issue 4 years ago • 0 comments

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.

Known Compatibility Issues

dave-shawley avatar Nov 10 '20 14:11 dave-shawley