Change default pod tolerations to 30sec

By default, pods will get a toleration of 300 seconds for the
notReady:NoExecute and unreachable:NoExecute taints.  This is
excessively long for our purposes.

This commit changes the commandline args for kube-apiserver to use
30 seconds for each of these instead to get a faster response time.

Change-Id: Ic7153e0ea03a1835efcd907cbcef8c8715a0539d
Partial-Bug: 1829432
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
This commit is contained in:
Chris Friesen 2019-06-26 15:38:52 -06:00
parent 8068a4e417
commit f5cdd21bc5
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ etcd:
external:
endpoints:
- <%= @etcd_endpoint %>
apiServerExtraArgs:
default-not-ready-toleration-seconds: "30"
default-unreachable-toleration-seconds: "30"
apiServerCertSANs:
- "<%= @apiserver_advertise_address %>"
- "<%= @apiserver_loopback_address %>"