-
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
Problem creating clusters in us-east-1 region #817
Comments
So in general, when you get a "because us-east-1e, the targeted availability zone, does not currently have sufficient capacity to support the cluster" that means that the AWS region has run out of underlying EC2 instances of that type (or maybe EKS capacity, I'm not sure). I doubt this is a bug with eksctl - I bet if you try it again now, or at a different time, you'd succesfully create the cluster. Out of resource errors tend to be very transient 😄 good luck! |
Thanks for reporting! Yeah, as @cpaika has kindly explained, I feel like this isn't an issue in eksctl. A potential U/X enhancement would be tweak the error message eksctl produces, so that it has nothing to do with eksctl. I'm closing as not a bug. But please feel free to submit a feature request if necessary 🙏 |
Hi @jrusso1020 , thank you for the report. As @cpaika said, this is a temporary situation. What you can do when this happens is choose from other availability zones like this:
|
I had the same error on the same AZ. It seems that us-east-1e doesn't support AmazonEKS.
Source: https://docs.aws.amazon.com/en_us/eks/latest/APIReference/API_CreateCluster.html After I removed the us-east-1e subnet from my config, it worked for me. |
Hi @martina-if, |
I'm not sure why this is close, it's still an issue (and I agree with @martina-if it's not eksctl issue) that is failing eksctl from running without stating which zones to run on (we can't exclude right now). maybe until this is resolved from the AWS side, eksctl can exclude this availability zone? thanks and sorry I'm rising a closed issue, but without stating AZs everyone should get it from time to time. |
@blorby I think the reason why it was closed is because I opened it as a bug but it isn’t viewed as a bug by the team but more of a feature request. So above I was asked to open a feature request but never did. Maybe they would prioritize this as a feature if we created a request to not use availability zones that’s don’t support EKS. But I do agree it’s still an issue as long as AWS doesn’t support EKS in certain availability zones people will run into this and it would be great if eksctl handled this on its own
|
Just to make sure I understand, the feature request is something like "eksctl should only select availability zones that support EKS and not all listed availability zones in a region" right? |
…troller-vars AWS EBS CSI Driver Helm chart to inject environment variables
eksctl create cluster --name xxxxxxxxxxx --region=us-east-1 --zones=us-east-1a,us-east-1b |
Just remove the specified AZ which is not working ryt now, when you create the cluster you can find its name from the VPC you used |
What happened?
I tried creating a cluster in
us-east-1
usingeksctl create cluster --region=us-east-1
and got the following errorI've gotten this error a few times,
What you expected to happen?
I expected it to use a proper availability zone and create the cluster successfully
How to reproduce it?
eksctl create cluster --region=us-east-1
but it does not happen always, randomly if it selects the wrong subnet regionus-east-1e
it seems to fail alwaysAnything else we need to know?
on MacOS mojave using
eksctl
downloaded through homebrewVersions
[ℹ] version.Info{BuiltAt:"", GitCommit:"", GitTag:"0.1.32"}
Darwin test-mac 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Logs
this is the error part of the log but i can post more if necessary
The text was updated successfully, but these errors were encountered: