Configuration as Code



Is there a way to manage rancher as code? (Such as YAML or JSON)
Although we have a small number of clusters so far (Only 6), we would like to manage it in Git to control the definitions of each cluster so we can set automatically all the Alarms and define cluster using templates.



How about using the Rancher Terraform provider.


Iwas looking into this, but it only serve very little options and all the clusters configurations dont exist.


Hallo Elad,

Actually I don’t have a ready to use solution to your question.

But I’m working on a little tool providing infrastructure as code for Rancher 2.X
This tool was started to solve our need to automate deployments in projects and that is the current state of it.
We are planning to enhance it to automate cluster creation and management too, which sound as what you are looking for.

Would you mind to drop us a feature request with your requirements?
You’ll find the tool here:

Kind regards