Skip to content

Commit

Permalink
Enable Network Load Balancer (NLB) dualstack
Browse files Browse the repository at this point in the history
* NLB subnets assigned both IPv4 and IPv6 addresses
* NLB DNS name has both A and AAAA records
* NLB to target node traffic is IPv4 (no change),
no change to security groups needed
* Ingresses exposed through the recommended Nginx
Ingress Controller addon will be accessible via
IPv4 or IPv6. No change is needed to the app's
CNAME to NLB record

Related: https://aws.amazon.com/about-aws/whats-new/2020/11/network-load-balancer-supports-ipv6/
  • Loading branch information
dghubble committed Nov 21, 2020
1 parent be28495 commit 5e4f5de
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ Notable changes between versions.
* Add input variable validations ([#880](https://github.com/poseidon/typhoon/pull/880))
* Require Terraform v0.13+ ([migration guide](https://typhoon.psdn.io/topics/maintenance/#terraform-versions))

### AWS

* Enable Network Load Balancer (NLB) dualstack ([#883](https://github.com/poseidon/typhoon/pull/883))
* NLB subnets assigned both IPv4 and IPv6 addresses
* NLB DNS name has both A and AAAA records
* NLB to target node traffic is IPv4 (no change)

### Addons

* Update Prometheus from v2.22.1 to [v2.22.2](https://github.com/prometheus/prometheus/releases/tag/v2.22.2)
Expand Down
1 change: 1 addition & 0 deletions aws/fedora-coreos/kubernetes/nlb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ resource "aws_route53_record" "apiserver" {
resource "aws_lb" "nlb" {
name = "${var.cluster_name}-nlb"
load_balancer_type = "network"
ip_address_type = "dualstack"
internal = false

subnets = aws_subnet.public.*.id
Expand Down
1 change: 1 addition & 0 deletions aws/flatcar-linux/kubernetes/nlb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ resource "aws_route53_record" "apiserver" {
resource "aws_lb" "nlb" {
name = "${var.cluster_name}-nlb"
load_balancer_type = "network"
ip_address_type = "dualstack"
internal = false

subnets = aws_subnet.public.*.id
Expand Down
4 changes: 1 addition & 3 deletions docs/architecture/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,9 @@ resource "aws_route" "peering" {

## IPv6

AWS Network Load Balancers do not support `dualstack`.

| IPv6 Feature | Supported |
|-------------------------|-----------|
| Node IPv6 address | Yes |
| Node Outbound IPv6 | Yes |
| Kubernetes Ingress IPv6 | No |
| Kubernetes Ingress IPv6 | Yes |

0 comments on commit 5e4f5de

Please sign in to comment.