-
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
Multiple NAT Gateways created for single AZ cluster #1411
Comments
@jewzaam It is observed that when we install openshift with installer
It creates 3 Nat gateways in different availability zone. If this is the case there are high chances that same issue will be observed when its installed via Hive |
Will this always be the case? Is there an option to provide to installer to control creation of nat gateways? |
Fix in flight with #1481. |
#1481 has landed and will hopefully go out with the next release. It doesn't change the default installer behavior, but it does allow you to reduce per-zone resource consumption by explicitly specifying zones for your machine pools. For example, see openshift/release#3285 doing that for our CI jobs. #1487 is open about potentially changing the default behavior to reduce per-zone resource consumption as well, but #1481 is already enough for folks who are willing to supply their own |
#1481 was merged and shipped in latest release. Restricting control plane and compute to specific regions allows you to restrict the number of network resources in AWS. /close |
@abhinavdahiya: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Version
Platform (aws|libvirt|openstack):
AWS
What happened?
Provisioned a cluster with 1 master and 1 worker via Hive in us-west-2. Specified a single zone on each: us-west-2a.
The cluster is provisioned and works. But I see NAT gateway in zones us-west-2{a,b,c,d}.
Enter text here.
What you expected to happen?
Single NAT gateway in us-west-2a.
How to reproduce it (as minimally and precisely as possible)?
I have not boiled this down to using the installer directly, but talked to @dgoodwin and he said it's something installer should look at.
Steps for hive:
Relevant bits of ClusterDeployment:
Anything else we need to know?
Behavior observed results in more NAT Gateways than zones used by infrastructure. Expect there may be some reliability gains but loss of the single zone means a loss of the cluster. I see the additional NAT Gateways as unnecessary expense for customers, almost $100 / month in this scenario.
The text was updated successfully, but these errors were encountered: