Difference between revisions of "Tolerations:"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
   tolerations:
 
   tolerations:
 
     - key: [[node.kubernetes.io/not-ready]]
 
     - key: [[node.kubernetes.io/not-ready]]
       operator: Exists
+
       operator: [[Exists]]
       effect: NoExecute
+
       effect: [[NoExecute]]
 
       tolerationSeconds: 300
 
       tolerationSeconds: 300
 
     - key: [[node.kubernetes.io/unreachable]]
 
     - key: [[node.kubernetes.io/unreachable]]
Line 13: Line 13:
 
       effect: NoExecute
 
       effect: NoExecute
 
       tolerationSeconds: 300
 
       tolerationSeconds: 300
 +
 +
 +
  tolerations:
 +
    - key: [[nvidia.com/gpu]]
 +
      operator: Exists
 +
      effect: NoSchedule
  
  

Latest revision as of 08:54, 18 October 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


 tolerations:
   - key: nvidia.com/gpu
     operator: Exists
     effect: NoSchedule


Related[edit]

See also[edit]

Advertising: