Comments (5)
Just a note this will also allow to set multiple egress IP's that will help with large volumes of egress traffic and how the port/ip mapping works
from terraform-kubestack.
Seems the issue with passing in the nat_ips
is that they depend on the subnet that the module creates.
from terraform-kubestack.
So another update on this, setting AUTO_ONLY
also auto-scales IP's so based on how many nodes you have in your cluster it starts spinning up new IP addresses
So after some playing around I fell on this fix, it allows you to specify how many Egress IP addresses you want and attaches them to the Nat gateway. Any thoughts on how to make this backwards compatible for users?
from terraform-kubestack.
I'd try a conditional on the length of the compute address resource, and if that's zero set nat_ips = null
.
Similar to this: https://github.com/kbst/terraform-kubestack/blob/eksnodepools/aws/cluster/node-pool/vpc.tf#L9
from terraform-kubestack.
Okay awesome! 👍 I updated to be backwards compatible, I'll open up a PR for the changes so you can check it out
from terraform-kubestack.
Related Issues (20)
- GKE: Allow disabeling Nat Gateways Endpoint Independent mapping
- EKS: Allow setting enable_dns_hostnames for AWS VPCs
- EKS: EC2 volume type HOT 3
- AKS: end_date_relative error on latest azuread terraform module
- AKS: disable log analytics HOT 2
- Error using latest azuread provider HOT 4
- GKE: Investigate activating APIs in new accounts
- Deploying clusters into existing environment HOT 3
- azure aks default node pool availability_zones HOT 2
- GKE: Enable cluster Load Balacing - Can't use Container Native Load Balancer in GKE HOT 1
- Bare metal support? HOT 3
- enable private cluster on aks
- How can I set node kernel params on aks? (or any cloud) HOT 1
- EKS: Support labels and tags for default worker nodes HOT 1
- Any plans to support OCI (Oracle Cloud Infrastructure) / OKE (Oracle Kubernetes Engine)? HOT 2
- Cert-Manager Module: Wait for Resources HOT 1
- Deprecation message when running fresh quick-start with EKS
- Add support for kustomize replacements when creating custom-manifest HOT 5
- EKS: Support metadata IMDSv2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-kubestack.