Skip to content

Commit

Permalink
Increase GCP TCP proxy apiserver backend timeout to 5 minutes
Browse files Browse the repository at this point in the history
* On GCP, kubectl port-forward connections to pods are closed
after a timeout (unlike AWS NLB's or Azure load balancers)
* Increase the GCP apiserver backend service timeout from 1 minute
to 5 minutes to be more similar to AWS/Azure LB behavior
  • Loading branch information
dghubble committed Dec 16, 2018
1 parent b74bf11 commit e0c032b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ Notable changes between versions.

* Kubernetes [v1.13.1](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.13.md#v1131)

#### Google Cloud

* Increase TCP proxy apiserver backend service timeout from 1 minute to 5 minutes ([#361](https://github.com/poseidon/typhoon/pull/361))
* Align `port-forward` behavior closer to AWS/Azure (no timeout)

#### Addons

* Update Grafana from v5.4.0 to v5.4.2
Expand Down
2 changes: 1 addition & 1 deletion google-cloud/container-linux/kubernetes/apiserver.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ resource "google_compute_backend_service" "apiserver" {
protocol = "TCP"
port_name = "apiserver"
session_affinity = "NONE"
timeout_sec = "60"
timeout_sec = "300"

# controller(s) spread across zonal instance groups
backend {
Expand Down
2 changes: 1 addition & 1 deletion google-cloud/fedora-atomic/kubernetes/apiserver.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ resource "google_compute_backend_service" "apiserver" {
protocol = "TCP"
port_name = "apiserver"
session_affinity = "NONE"
timeout_sec = "60"
timeout_sec = "300"

# controller(s) spread across zonal instance groups
backend {
Expand Down

0 comments on commit e0c032b

Please sign in to comment.