Skip to content
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
12 changes: 9 additions & 3 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@ Notable changes between versions.

## Latest

### Azure

* Add `enable_http_load_balancing` variable to reduce load balancer rules count
* Azure charges by load balancer rules (5 included)

### Google Cloud

* Update Google Cloud load balancer proxies from classic to current
* Google Cloud TCP proxies no longer restrict which frontend ports may be used
* Update Google Cloud load balancer proxies from classic to current ([#1604](https://github.com/poseidon/typhoon/pull/1604))
* Change `apiserver` and ingress/gateway service proxies ([#1604](https://github.com/poseidon/typhoon/pull/1604))
* Google Cloud TCP proxies no longer restrict which frontend ports may be used
* Switch apiserver to listen on 6443 to match other cloud platforms
* Switch ingress port 80 from an HTTP to TCP proxy to match HTTPS handling
* Add a variable `enable_http_lb` to make ingress/gateway TCP/80 IPv4/IPv6
forwarding rules optional. Default to false.
forwarding rules optional. Default to false ([#1604](https://github.com/poseidon/typhoon/pull/1604))
* Google Cloud charges by forwarding rule, so dropping support for plaintext
http traffic can save costs if you're https-only.

Expand Down
4 changes: 3 additions & 1 deletion azure/fedora-coreos/kubernetes/lb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ resource "azurerm_lb_rule" "apiserver-ipv6" {
}

resource "azurerm_lb_rule" "ingress-http-ipv4" {
count = var.enable_http_load_balancing ? 1 : 0

name = "ingress-http-ipv4"
loadbalancer_id = azurerm_lb.cluster.id
frontend_ip_configuration_name = "frontend-ipv4"
Expand All @@ -115,7 +117,7 @@ resource "azurerm_lb_rule" "ingress-https-ipv4" {
}

resource "azurerm_lb_rule" "ingress-http-ipv6" {
count = var.enable_ipv6_load_balancing ? 1 : 0
count = var.enable_http_load_balancing && var.enable_ipv6_load_balancing ? 1 : 0

name = "ingress-http-ipv6"
loadbalancer_id = azurerm_lb.cluster.id
Expand Down
5 changes: 5 additions & 0 deletions azure/fedora-coreos/kubernetes/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ EOD
default = "10.3.0.0/16"
}

variable "enable_http_load_balancing" {
description = "Enable HTTP (port 80) LB rules"
default = false
}

variable "enable_ipv6_load_balancing" {
description = "Enable IPv6 LB rules (note: Azure charges ~$20/mo more)"
default = false
Expand Down
4 changes: 3 additions & 1 deletion azure/flatcar-linux/kubernetes/lb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ resource "azurerm_lb_rule" "apiserver-ipv6" {
}

resource "azurerm_lb_rule" "ingress-http-ipv4" {
count = var.enable_http_load_balancing ? 1 : 0

name = "ingress-http-ipv4"
loadbalancer_id = azurerm_lb.cluster.id
frontend_ip_configuration_name = "frontend-ipv4"
Expand All @@ -115,7 +117,7 @@ resource "azurerm_lb_rule" "ingress-https-ipv4" {
}

resource "azurerm_lb_rule" "ingress-http-ipv6" {
count = var.enable_ipv6_load_balancing ? 1 : 0
count = var.enable_http_load_balancing && var.enable_ipv6_load_balancing ? 1 : 0

name = "ingress-http-ipv6"
loadbalancer_id = azurerm_lb.cluster.id
Expand Down
7 changes: 6 additions & 1 deletion azure/flatcar-linux/kubernetes/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,14 @@ EOD
default = "10.3.0.0/16"
}

variable "enable_http_load_balancing" {
description = "Enable HTTP (port 80) LB rules"
default = false
}

variable "enable_ipv6_load_balancing" {
description = "Enable IPv6 LB rules (note: Azure charges ~$20/mo more)"
default = false
default = true
}

variable "worker_node_labels" {
Expand Down