sshipway/check_rancher

Rancher2

Closed this issue · 3 comments

Thanks for this plugin, I'm currently testing it on Rancher 1.x.
Is there any plan to create a compatibility with Rancher 2.x or a separate plugin?
In Rancher 2, the API uses /v3 endpoint and due to the switch to Kubernetes, the names in the API have changed, too.

I've only used this on a Rancher 1.x system; I'm no longer working at the place I was when I developed this, and as a result no longer have a docker farm to manage - so I've not any current plans to add support for Rancher 2.x. I would, however, be interested in any pull requests adding this functionality?

Hi Steve,
Thanks for the response. As time was pressing here at work, I've already started https://github.com/Napsty/check_rancher2 last week because the API v3 is quite different and due to Kubernetes in the background the names have changed (clusters, projects, namespaces, workloads). It's written in Bash though, not Perl as yours. So when the plugin is ready, feel free to translate it to Perl if you like.

Oh - fyi, we still use Rancher 1.x in parallel so if I come across issues in check_rancher I'll let you know if that's ok ;-)