-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
UnsupportedAvailabilityZoneException: lack of capacity to support cluster #118
Comments
|
This appears to be a well known-issue with EKS currently (see #75 (comment)), I am not sure how eksctl could possibly address this – wdyt? |
|
Thanks for the quick reply. I'm wondering what eksctl does differently as i am able to create a cluster from the console every time in the same region. |
|
See this issue coreos/coreos-kubernetes#442 where @mumosho suggests letting cloudformation decide which availabilty zone to choose for a user. |
|
@niksrc thanks for your suggestion, I will definitely look into this. Have you been able to create a cluster with eksctl after all or still no dice? |
|
So the gist you've pointed at shows exactly the same thing that we already have: I am not sure what we can do better, but we also need to keep #101 in mind. |
|
@errordeveloper i was able to create the cluster by hard coding the index of the subnet in the template files and rebuilding eksctl. I don't think we can do anything to fix this unless aws provides an api for availability detection for a region. Thanks for looking into this. |
|
@niksrc did you do something similar to what @jorihardman did in https://github.com/swipesense/eksctl/commit/ca185e446da624f0f65b27b57dd121d54adbe7c9? I think we should be able to incorporate something similar to that, but we might want to take it out of CloudFormation and also fix #101. |
|
I'd rather keep this issue open for now. |
|
@errordeveloper yes, i did the same thing, and please let me know if you need any help from me. |
|
After thinking about this for a while, it looks like we are better of exposing a flag for the time being, as it turns this is somehow different in every AWS account (at least that what seems to be the case from the docs.
|
|
In the future we may try parsing the error message and retrying automatically, but it doesn't seem feasible right now as we would need to improve some of the internals and provide stack update functionality. |
|
@errordeveloper This worked smoothly, Thanks. |
|
Excellent! Could you please confirm which version of eksctl you have used?
…On Mon, 23 Jul 2018, 10:43 am Nikhil Srivastava, ***@***.***> wrote:
@errordeveloper <https://github.com/errordeveloper> This worked smoothly,
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#118 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPWSz9wLjmJrVouSSUJXObdUftL_7Rfks5uJZrcgaJpZM4VOjQp>
.
|
|
I used the latest master. |
unable to create cluster control plane: UnsupportedAvailabilityZoneException: Cannot create cluster '****-**' because us-east-1c, the targeted availability zone, does not currently have sufficient capacity to support the cluster. Retry and choose from these availability zones: us-east-1a, us-east-1b, us-east-1d
The text was updated successfully, but these errors were encountered: