promenade/charts/apiserver/templates
Phil Sphicas de9f8415d7 kube-apiserver: disable http2
There are several kubernetes bugs [0,1,2] involving connection problems
that seem related to the Go net/http2 library, where the stream state
and connection state can get out of sync. This can manifest as a kubelet
issue, where the node status gets stuck in a NotReady state, but can
also happen elsewhere.

In newer versions of the Go libraries some issues are fixed [3,4], but
the fixes are not present in k8s 1.18.

This change disables http2 in kube-apiserver and webhook-apiserver. This
should be sufficient to avoid the majority of the issues, as disabling
on one side of the connection is enough, and apiserver is generally
either the client or the server.

0: https://github.com/kubernetes/kubernetes/issues/87615
1: https://github.com/kubernetes/kubernetes/issues/80313
2: https://github.com/kubernetes/client-go/issues/374
3: https://github.com/golang/go/issues/40423
4: https://github.com/golang/go/issues/40201

Change-Id: Id693a7201acffccbc4b3db8f4e4b96290fd50288
2020-10-23 21:28:51 +00:00
..
bin Add -u to anchor scripts 2020-02-03 14:00:12 -06:00
etc kube-apiserver: disable http2 2020-10-23 21:28:51 +00:00
configmap-bin.yaml (apiserver) support key rotation 2019-04-29 09:31:24 -05:00
configmap-certs.yaml Use separate CA for kubelet authorization 2018-08-28 09:38:34 -05:00
configmap-etc.yaml Allow non-YAML config file content 2019-05-03 15:52:07 -05:00
daemonset.yaml Add Docker default AppArmor profile to apiserver 2020-02-05 15:17:16 +00:00
ingress-api.yaml Opening apiserver Via Ingress 2018-08-10 08:16:50 -05:00
job-key-rotate.yaml Implement helm-toolkit snippet to apiserver and webhook pods/containers 2020-07-02 14:52:19 +00:00
rbac.yaml Add Additional Liveness Probes for apiserver 2018-06-26 09:29:07 -05:00
secret-apiserver.yaml Use separate CA for kubelet authorization 2018-08-28 09:38:34 -05:00
secret-ingress-tls.yaml Opening apiserver Via Ingress 2018-08-10 08:16:50 -05:00
service-apiserver-ingress.yaml Opening apiserver Via Ingress 2018-08-10 08:16:50 -05:00
service.yaml Tolerate unready endpoints for apiserver service 2018-07-19 13:29:18 -05:00