Difference between revisions of "Tolerations:"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{lc}} <code>[[tolerations]]:</code>
 +
      # these tolerations are to have the daemonset runnable on control plane nodes
 +
      # remove them if your control plane nodes should not run pods
  
  
      [[tolerations:]]
+
  tolerations:
 
+
    - key: [[node.kubernetes.io/not-ready]]
       # these tolerations are to have the daemonset runnable on control plane nodes
+
      operator: [[Exists]]
 
+
      effect: [[NoExecute]]
       # remove them if your control plane nodes should not run pods
+
      tolerationSeconds: 300
 +
    - key: [[node.kubernetes.io/unreachable]]
 +
       operator: Exists
 +
      effect: NoExecute
 +
       tolerationSeconds: 300
  
  
 
== Related ==
 
== Related ==
[[Kubernetes DaemonSets]]
+
* <code>[[Kubernetes DaemonSets]]</code>: <code>[[kind: DaemonSet]]</code>
 +
* <code>[[kubectl taint nodes]]</code>
 +
* [[Kubernetes taints]]
  
 
== See also ==
 
== See also ==
 +
* {{node.kubernetes.io}}
 +
* {{kubectl taint}}
 
* {{DaemonSet}}
 
* {{DaemonSet}}
 
* {{Kubernetes Workloads}}
 
* {{Kubernetes Workloads}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 18:08, 28 July 2024

tolerations:

     # 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


Related[edit]

See also[edit]

Advertising: