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

Enable AWS NLB cross-zone load balancing #159

Merged
merged 1 commit into from
Mar 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ Notable changes between versions.
* Switch Ingress elastic load balancer to a network load balancer ([#141](https://github.com/poseidon/typhoon/pull/141))
* AWS [NLBs](https://aws.amazon.com/blogs/aws/new-network-load-balancer-effortless-scaling-to-millions-of-requests-per-second/) can handle millions of RPS with high throughput and low latency.
* Require terraform-provider-aws 1.7.0 or higher
* Enable cross-zone NLB load balancing ([#159](https://github.com/poseidon/typhoon/pull/159))
* [Announcement](https://aws.amazon.com/about-aws/whats-new/2018/02/network-load-balancer-now-supports-cross-zone-load-balancing/): Requests are automatically evenly distributed to targets regardless of AZ
* Require terraform-provider-aws 1.11.0 or higher
* Allow groups of workers to be defined and joined to a cluster (i.e. worker pools) ([#150](https://github.com/poseidon/typhoon/pull/150))
* Add kubelet `--volume-plugin-dir` flag to allow flexvolume plugins ([#142](https://github.com/poseidon/typhoon/pull/142))
* Fix controller and worker launch configs to ignore AMI changes ([#126](https://github.com/poseidon/typhoon/pull/126), [#158](https://github.com/poseidon/typhoon/pull/158))
Expand Down
2 changes: 2 additions & 0 deletions aws/container-linux/kubernetes/apiserver.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ resource "aws_lb" "apiserver" {
internal = false

subnets = ["${aws_subnet.public.*.id}"]

enable_cross_zone_load_balancing = true
}

# Forward HTTP traffic to controllers
Expand Down
2 changes: 1 addition & 1 deletion aws/container-linux/kubernetes/require.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ terraform {
}

provider "aws" {
version = "~> 1.7"
version = "~> 1.11"
}

provider "local" {
Expand Down
2 changes: 2 additions & 0 deletions aws/container-linux/kubernetes/workers/ingress.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ resource "aws_lb" "ingress" {
internal = false

subnets = ["${var.subnet_ids}"]

enable_cross_zone_load_balancing = true
}

# Forward HTTP traffic to workers
Expand Down