Skip to content

Commit e0c032b

Browse files
committed
Increase GCP TCP proxy apiserver backend timeout to 5 minutes
* 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
1 parent b74bf11 commit e0c032b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGES.md

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ Notable changes between versions.
66

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

9+
#### Google Cloud
10+
11+
* Increase TCP proxy apiserver backend service timeout from 1 minute to 5 minutes ([#361](https://github.com/poseidon/typhoon/pull/361))
12+
* Align `port-forward` behavior closer to AWS/Azure (no timeout)
13+
914
#### Addons
1015

1116
* Update Grafana from v5.4.0 to v5.4.2

google-cloud/container-linux/kubernetes/apiserver.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ resource "google_compute_backend_service" "apiserver" {
4242
protocol = "TCP"
4343
port_name = "apiserver"
4444
session_affinity = "NONE"
45-
timeout_sec = "60"
45+
timeout_sec = "300"
4646

4747
# controller(s) spread across zonal instance groups
4848
backend {

google-cloud/fedora-atomic/kubernetes/apiserver.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ resource "google_compute_backend_service" "apiserver" {
4242
protocol = "TCP"
4343
port_name = "apiserver"
4444
session_affinity = "NONE"
45-
timeout_sec = "60"
45+
timeout_sec = "300"
4646

4747
# controller(s) spread across zonal instance groups
4848
backend {

0 commit comments

Comments
 (0)