-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
How to register with Rancher using terrafrom resource "kubectl_manifest" "metrics_server" #45416
Comments
@here : Is there any update for this ticket, I am blocked |
Can you provide the terraform plan especially with the parts that contains changes? Does tf try to recreate the resource or update? |
What happens if you import your cluster using the UI and the Import Generic part? |
yes it does |
the cluster is imported. |
This repository uses an automated workflow to automatically label issues which have not had any activity (commit/comment/label) for 60 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the workflow 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 workflow will automatically close the issue in 14 days. Thank you for your contributions. |
Hi, I created a cluster with RKE and registered it with Rancher like this:
rancher.tf
data.tf
inputs.tf
providers.tf
terrafrom.tfvars
When I run Terrorform Apply for the first time, the cluster becomes active on Rancher UI.
Then, the next time I run Terrorform Apply, the Rancher agent gets disconnected from the cluster on the Rancher UI.
terraform apply output
And updates the cattle-cluster-agent. Why does this happen, I am not able to understand. Is this a bug from Terraform's side?
Is there any solution to this?
I am using the generic option to import the clusters on Rancher so that multiple clusters can be imported.
Is there any solution to this? Please help me.
The text was updated successfully, but these errors were encountered: