sensu-plugins / sensu-plugins-kubernetes

Sensu plugins for Kubernetes
http://sensu-plugins.io
MIT License
28 stars 36 forks source link

Add option to explicitly include or exclude specific nodes #48

Closed ttarczynski closed 5 years ago

ttarczynski commented 5 years ago

Pull Request Checklist

Is this in reference to an existing issue?

General

New Plugins

N/A

Purpose

Adds the ability to explicitly include or exclude nodes in check-kube-pods-pending/restarting/running, check-kube-nodes-ready. It is useful when some nodes are intentionally NotReady but we still need to check what's running on other nodes. I've followed the pattern used in:

Known Compatibility Issues

majormoses commented 5 years ago

Thanks for your contribution to Sensu plugins! Without people like you submitting PRs we couldn't run the project. I will review it shortly.

ttarczynski commented 5 years ago

@majormoses thank you for the review!

majormoses commented 5 years ago

Apologies in advance if next week I do not respond quickly as I will be traveling for work

ttarczynski commented 5 years ago

@majormoses i've just applied the remaining fixes:

majormoses commented 5 years ago

Thanks, I will review this evening.

majormoses commented 5 years ago

released: https://rubygems.org/gems/sensu-plugins-kubernetes/versions/3.1.0