Skip to content
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

2 subnets in the same region #833

Closed
kiahmed opened this issue Jun 3, 2019 · 10 comments
Closed

2 subnets in the same region #833

kiahmed opened this issue Jun 3, 2019 · 10 comments

Comments

@kiahmed
Copy link

kiahmed commented Jun 3, 2019

why can't I mention 2 different subnet in the same AZ ? How to do that. Also, is there a way to attach a node-group to selected subnets only?

@kiahmed kiahmed added the kind/help Request for help label Jun 3, 2019
@errordeveloper
Copy link
Contributor

We currently only support subnet-per-AZ. You can attach a nodegroup to a particular subset of AZs, e.g. single AZ or two instead of 3 (default).

What is you use-case for multiple subnets per AZ?

@kiahmed
Copy link
Author

kiahmed commented Jun 4, 2019

well, it requires 2x by 2x so. I have 2 private subnets but when I create another 2 public in the same AZ as the AWS Tokyo region has only 3 az, could'd find a way to feed in to eksctl config whereas aws cli and console itself accepts it. Ins't it superposed to covert all to aws compatible clouformation then why eksclt has this lacking or coming up with its own settings /restrictions ?

@errordeveloper
Copy link
Contributor

It's not very clear where is the issue exactly. Please show the commands you tried to use and be more specific - what is it that you are trying to achieve overall? Why do you need to create two public subnets in the same AZ - do you need to use them for isolation, or you want to avoid wasting IP addresses, or is it something else?

@kiahmed
Copy link
Author

kiahmed commented Jun 4, 2019

it is simple .. i want 4 subnets but have only 3 AZ . I could go with 1 subnet in each AZ but it doenst work like that .. trying to create eks cluster

@errordeveloper
Copy link
Contributor

errordeveloper commented Jun 4, 2019

Ok, so it's to do with IP addresses being wasted if you were to use only 3 subnets.

We are considering to review this, but I'm not sure when we would be able to implement a change that would allow you to do this. In the meantime, perhaps you could use 2 larger subnets in 2 AZs, or 3 subnets in 3 AZs and leave one unused until we fix this issue.

If you need urgent help, please contact me on Slack.

@kiahmed
Copy link
Author

kiahmed commented Jun 4, 2019

" 2 larger subnets in 2 AZs" didnt work for me . .you mean one in private and another public in two different AZ i?

@errordeveloper
Copy link
Contributor

errordeveloper commented Jun 4, 2019 via email

@errordeveloper
Copy link
Contributor

errordeveloper commented Jun 13, 2019

Your use-case is still not very clear to me, but I would assume that this is will be covered by #806, which we are planning to address as the use-cases are very clear now.

@kiahmed
Copy link
Author

kiahmed commented Jun 16, 2019

my case is i need to use 4 subnets spreading across 2/3 AZ, but when eksctl sees an AZ was already used it complains why? Then how we supposed to have multiple subnets in same AZ

@aravindgv
Copy link

I am also looking for multipe Az's

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants