-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform Provider for RKE2 (terraform-provider-rke2) #1676
Comments
I would love to have a Terraform provider for RKE2. I am using RKE1's provider to manage all my clusters and I would like to migrate to RKE2, but this is for me a deal breaker atm. Thanks! |
Same, it would be great to have an rke2 terraform provider :( |
Same for me, please add this request to your roadmap. |
I think, it is essential to have a terraform provider for rke2. Please implement. |
Any news on this ? Is there anything planned or in the works ? |
This repository uses a bot to automatically label issues which have not had any activity (commit/comment/label) for 180 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the bot can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the bot will automatically close the issue in 14 days. Thank you for your contributions. |
still want to know :) |
We have the terraform provider for Rancher that supports provisioning RKE2 downstream clusters. |
@Martin-Weiss yes that would do the job... but we handle additional resources like additional/later changes to the machines, loadbalancers and dns entries via terraform/ansible and last time i checked it didnt look like it was possible to get the ips of the the nodes from the different pools/machines created ? (maybe in a hacky way but not directly ? ) The other thing i didnt like about using the the cluster resource is the assignment of ip addresses. I dont want to use dhcp because of reasons, but instead assign ranges which is easy in terraform... not so much via the rancher provider. This is all on-prem and i have a good working setup... the only part that is a little hacky is the rke2 install part. Correct me if i'm wrong somewhere... i dont need the rke2 provider, but there never was a definitive answer if its coming or not... |
@erSitzt - I am using the Rancher terraform provider to deploy RKE2 on premise and I am also using static IP addresses for the machines (my way is to use one machine-pool per machine and use specific cloud-init data with it). I believe there is also a way to get the IPs later from the machine pool but have not used that one myself. |
That's sounds a little hacky as well 😊 But still, it would be nice to know if there won't be a rke2 provider... |
Hello, +1 for this issue. Suggested hack here (#1676 (comment)) will not fit our use case because it requires having an already popped Rancher instance. Instead, we need to create RKE2 resources and then Rancher resources. Having an RKE2 provider will allow stateful management of Rancher on RKE2. |
For those still interested, work is being planned for a standalone RKE2 terraform module and will be tracked in #4322 :) I'll be closing this issue in favor of that one. |
I'm using RKE with terraform-provider-rke and I love it. It would be great to have a Terraform provider for RKE2.
The text was updated successfully, but these errors were encountered: