Okay, I had to do a little digging and the k8s docs should be updated. >_>
pod-eviction-timeout works IF the
TaintBasedEvictions featuregate is set to
This is because there is a newer preferred way to control these settings is to use Taints and Tolerations. These let you control it on a per pod level e.g.
- key: "node.kubernetes.io/unreachable"
- key: "node.kubernetes.io/not-ready"
- image: busybox
Alternatively, you CAN set defaults at the cluster level, but this is controlled by by the kube-apiserver since its an admission controller setting for DefaultTolerationSeconds.
The two settings are:
--default-not-ready-toleration-seconds int Default: 300
Indicates the tolerationSeconds of the toleration for notReady:NoExecute
that is added by default to every pod that does not already have such a
--default-unreachable-toleration-seconds int Default: 300
Indicates the tolerationSeconds of the toleration for unreachable:NoExecute
that is added by default to every pod that does not already have such