-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Timeout on wait_for_cluster is breaking our terraform code #1395
Comments
Thanks @debarshibasak for opening this issue. Are you deploying a private (with private endpoint) EKS cluster ? Is timeout happens once during your apply ? I mean, Is your second apply perform well ? I'm trying to figure out if there is a network issue. |
Hey @barryib Thanks for your question. We are deploying public cluster. The endpoint is reachable later and return 200, but it takes quite some time. It takes more than 500 seconds. I noticed it has hardcoded parameter in wait_for_cluster. I think it would be nice if that is customizable. Yes second apply works. |
5mn was the previous setting. So far, it was working well. That means, EKS cluster is created, but it's not ready to use in less than 5mn ? Is something else going wrong ? Any thoughts ? As for the timeout variable, yes we can add it. Please open a PR. |
Terraform ended with timeout error on "/healthz" , thats why I created this ticket. Let me try to reproduct this a few more times. It might just be flaky issue. |
Hey, we have noticed this behavior as well. Our TAM/AWS support suggested waiting a longer period of time before we attempt to configure our aws-auth configmap. I've attempted to fix this in #1420. Please let me know if this is acceptable. |
which region you trying to create EKS? |
Not sure of OP, but we're seeing this in |
@barryib Is there an ETA on when this will be in a released version? We're still seeing timeouts while building our clusters and would like to increase it as soon as we can. |
Just released it in v17.1.0 |
Seems like I am still running into this issue (even with the cluster timeout specified). See the following:
I have Edit: if it's important, Terraform v1.0.0 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
The PR #1359 is breaking out installation as it takes more than 5 minutes for the kubernetes api service to be provisioned.
Either this number should be considerably large or should be configurable.
I am not sure if this number can be configure. If yes, it is not well documented. Could some help us out please?
Versions
Code Snippet to Reproduce
The endpoint that wait_for_cluster is trying to wget is accessible outside cluster. I did wget and verify that.
Expected behavior
cluster gets provisioned
Actual behavior
cluster does not get provisioned but kubeconfig is acquired
The text was updated successfully, but these errors were encountered: