rancher / terraform-provider-rancher2

Terraform Rancher2 provider
https://www.terraform.io/docs/providers/rancher2/
Mozilla Public License 2.0
259 stars 223 forks source link

[RFE] Request for Terraform Rancher Provider Compatibility with OTC/SOTC for Enhanced Cloud Automation #1290

Open Wolfslicht opened 8 months ago

Wolfslicht commented 8 months ago

Hi,

I work with OTC/SOTC (Open Telekom Cloud/Swiss Open Telekom Cloud). We're looking to enhance our cloud management capabilities using Terraform, specifically with its Rancher Provider.

Current Situation (What Is):

Right now, the Terraform Rancher Provider works well with big cloud providers like AWS, Azure, and Google Cloud. However, it doesn't support OTC/SOTC, which we use extensively.

Expectations (What We Want):

We want the Terraform Rancher Provider to be updated to support OTC/SOTC. This would allow us to manage our cloud resources and Kubernetes services more effectively using Terraform.

Why This Matters:

With OTC/SOTC support, we can automate and manage our cloud infrastructure more efficiently. It helps us and others using OTC/SOTC to have better control and flexibility over our cloud resources.

Conclusion:

Adding OTC/SOTC support to the Terraform Rancher Provider would be a big help for us in managing our cloud services. It would make Terraform more useful for our team and other OTC/SOTC users.

Thanks for considering this request!

Describe alternatives you've considered

We already tried provision Infrastructure with Terraform and make workarounds using Ansible to configure Rancher Manager and Nodes. But this is a complex workaround, upfront with terms of secruity (getting config-files, configuration and so on).

Nils-Magnus commented 8 months ago

I suggest you also involve the OTC/SOTC teams at https://github.com/opentelekomcloud/kontainer-engine-driver-otc/ Did you check whether this addresses already some your demands?

Also there are several developers in that org who also take care of the generic OTC/SOTC Terraform provider (https://github.com/opentelekomcloud/terraform-provider-opentelekomcloud).

Wolfslicht commented 7 months ago

Hey Nils,

thanks for the links and response.

May I can go a little deeper/more precise here and describe the goal a little clearer.

Description: Currently, Rancher supports only the import and addition of pre-deployed clusters for SOTC and OTC, requiring substantial upfront configuration. As well as the "Kontainer Engine Driver" for CCE deployment. This feature request proposes the integration of an the Node Driver and UI enhancements for SOTC (Swiss Open Telekom Cloud) and OTC (Open Telekom Cloud) in Rancher. The update will enable direct creation and management of K3s and RKE2 clusters from the Rancher UI or via the API, significantly simplifying the cluster creation process and reducing the initial setup effort. This enhancement will improve the overall user experience, increase efficiency in cluster management, and expand the capabilities for automation in cloud environments.

Business Scope: This feature aims to streamline the process of creating and managing cloud infrastructure in Rancher for SOTC (Swiss Open Telekom Cloud) and OTC (Open Telekom Cloud) environments. It addresses the current limitation of only being able to import pre-deployed clusters, which involves extensive upfront configuration. And of course CCE. By updating the node driver and improving the UI, users will be able to create and manage K3s and RKE2 clusters directly within Rancher, enhancing efficiency and usability for cloud engineers.

Acceptance Criteria: