Difference between revisions of "Tolerations:"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{lc}} | + | {{lc}} <code>[[tolerations]]:</code> |
− | |||
− | |||
− | |||
# these tolerations are to have the daemonset runnable on control plane nodes | # these tolerations are to have the daemonset runnable on control plane nodes | ||
− | |||
# remove them if your control plane nodes should not run pods | # remove them if your control plane nodes should not run pods | ||
tolerations: | tolerations: | ||
− | - key: [[node.kubernetes.io | + | - key: [[node.kubernetes.io/not-ready]] |
+ | operator: [[Exists]] | ||
+ | effect: [[NoExecute]] | ||
+ | tolerationSeconds: 300 | ||
+ | - key: [[node.kubernetes.io/unreachable]] | ||
operator: Exists | operator: Exists | ||
effect: NoExecute | effect: NoExecute | ||
tolerationSeconds: 300 | tolerationSeconds: 300 | ||
− | - key: | + | |
+ | |||
+ | tolerations: | ||
+ | - key: [[nvidia.com/gpu]] | ||
operator: Exists | operator: Exists | ||
− | effect: | + | effect: NoSchedule |
− | |||
Line 22: | Line 24: | ||
* <code>[[Kubernetes DaemonSets]]</code>: <code>[[kind: DaemonSet]]</code> | * <code>[[Kubernetes DaemonSets]]</code>: <code>[[kind: DaemonSet]]</code> | ||
* <code>[[kubectl taint nodes]]</code> | * <code>[[kubectl taint nodes]]</code> | ||
+ | * [[Kubernetes taints]] | ||
== See also == | == See also == | ||
+ | * {{node.kubernetes.io}} | ||
* {{kubectl taint}} | * {{kubectl taint}} | ||
* {{DaemonSet}} | * {{DaemonSet}} |
Latest revision as of 08:54, 18 October 2024
# these tolerations are to have the daemonset runnable on control plane nodes # remove them if your control plane nodes should not run pods
tolerations: - key: node.kubernetes.io/not-ready operator: Exists effect: NoExecute tolerationSeconds: 300 - key: node.kubernetes.io/unreachable operator: Exists effect: NoExecute tolerationSeconds: 300
tolerations: - key: nvidia.com/gpu operator: Exists effect: NoSchedule
Related[edit]
See also[edit]
Advertising: