-
Notifications
You must be signed in to change notification settings - Fork 41
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
kuberhealthy installation uses outdated cluster URL #207
Comments
Workaround is probably to remove the previous kubeconfig entry after |
@eickler, @ankitm123 I have exactly the same problem, shall I delete the content of ~/.kube folder after terraform destroy? |
@ahmetcetin Yes, that worked for me. Sorry for lack of updates. |
The latest version should fix that issue - the issue was that the helm provider was using outdated credentials. It should work now in the latest version, can someone try and confirm? |
Summary
When creating a new EKS cluster from scratch with terraform, kuberhealthy is installed with the cluster URL from the previous run of terraform.
Steps to reproduce the behavior
Expected behavior
Cluster is created and kuberhealthy is installed.
Actual behavior
where
<old url>
is the cluster URL of the previous run. Note that kubeconfig is correctly updated with the new cluster when terraform aborts with the error message.Maybe there is a missing dependency or race condition. The terraform log shows first
and then much later
Terraform version
The output of
terraform version
is:Module version
1.11.0
Operating system
MacOS
The text was updated successfully, but these errors were encountered: