-
Notifications
You must be signed in to change notification settings - Fork 33
rancher v2.0 support #49
Comments
The provider will need to be updated to support Rancher 2.0. The cluster / environment concepts have been changed quite a bit. Rancher 2.0 is still in preview, I would stick with 1.6.x for anything outside of playing. |
Should this be a breaking change like we did from v1 to v2, or should there be new resource types for v3? |
I think we should support both API for a few months. |
I think using |
I've seen migration functions in the cloudflare repo, maybe this is a way of dealing with it? |
Now that Rancher 2.0 is 89% complete to GA it soon will be ready for production use. It would be awesome to be able to set up everything with Terraform. Maybe collab with @yamamoto-febc and his awesome work done here: https://github.com/yamamoto-febc/terraform-provider-rke |
Hi any ETA on when this provider will support v2.0 which is now GA ? Thanks |
We'll unfortunately not have time to work on this in the next few weeks, but if someone want to propose a PR, we'll have a look at it. |
@raphink @mcanevet, I'm curious on your thoughts here. The differences between Rancher 1.x and 2.x are significant since 2.0 has a heavy K8s bias now. In looking at it, I'm good with UX where My 2 cents is that it makes sense for two separate providers to exist 'rancher' and a 'rancher2' I suppose. That way a user can manage 1.x and 2.x installations simultaneously. Since the path forward for 1.x users is a migration there is likely going to be a period of overlap where users run both. I suppose this could be mitigated with reasonable module management. Logistically, I think it would be nice if we could keep the code bases collocated, can we have 2 providers living out of this repository? Would it muddle the docs too much? Is there an option that I'm not aware of? Do you have other thoughts? |
This provider talks to the Cattle v2-beta API, so maybe it should have been named |
He's provisioning a RKE cluster (Rancher k8s): https://github.com/yamamoto-febc/terraform-provider-rke |
Looks that Rancher have project of this on their repository: |
@raphink @mcanevet @cloudnautique Any thoughts on this provider? I got a request for support from a user today. |
We have started work and have an early version of the rancher 2 terraform-provider. https://github.com/rancher/terraform-provider-rancher2 If you decide to try it out, please open issues on that repo. |
This is great news. Thank you @cloudnautique |
@cloudnautique it will be awesome! |
Need help here hashicorp/terraform#16127 (comment) |
Hi,
Was trying to use terraform with rancher2.0. Seems they have added cluster as well as environment and removed the use of "cattle" orchestration. I believe cluserid is missing, and this will be something that is probably required in the terraform provider. Maybe you are aware already. The current error I receive is below:
The text was updated successfully, but these errors were encountered: