Skip to content

Commit

Permalink
13-kube-single-master: use Taint based Evictions instead of pod-evict…
Browse files Browse the repository at this point in the history
…ion-timeout (fixes #2)

NOTE:
  Taint based Evictions timeout starts since the node status changed to NotReady (or Unreachable)
  so it would take 40s in total after the time of the actual failure:
    40s = node-monitor-grace-period(20s) + default-not-ready-toleration-seconds(20s)
  as it's equal to pod-eviction-timeout=40s
  • Loading branch information
kskmori committed Aug 29, 2019
1 parent 1d9a9b6 commit 26076cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/kube-single-master/templates/kubeadm-config.yml.j2
Expand Up @@ -9,6 +9,8 @@ kubernetesVersion: v1.15.3
apiServer:
extraArgs:
advertise-address: {{ NODE_IP }}
default-not-ready-toleration-seconds: "20"
default-unreachable-toleration-seconds: "20"
networking:
podSubnet: {{ POD_NETWORK_CIDR }}
controllerManager:
Expand Down

0 comments on commit 26076cb

Please sign in to comment.