Difference between revisions of "Karpenter.sh/do-not-evict: true"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
Pods without an <code>[[ownerRef]]</code> (also called “controllerless” or "[[naked pods]]") will be [[evicted]] during voluntary node disruption, such as expiration or consolidation. A pod with the [[annotations:]] <code>[[karpenter.sh/do-not-evict: true]]</code> will cause its node to be opted out from voluntary node disruption workflows.
 
Pods without an <code>[[ownerRef]]</code> (also called “controllerless” or "[[naked pods]]") will be [[evicted]] during voluntary node disruption, such as expiration or consolidation. A pod with the [[annotations:]] <code>[[karpenter.sh/do-not-evict: true]]</code> will cause its node to be opted out from voluntary node disruption workflows.
 +
 +
[[kubectl annotate pod]] [[your-pod-name]] [[karpenter.sh]]/do-not-evict='true' -n [[yournamespace]]
 +
[[your-pod-name]] [[annotated]]
  
  
Line 18: Line 21:
 
== See also ==
 
== See also ==
 
* {{Kubernetes annotations}}
 
* {{Kubernetes annotations}}
 +
* {{Eviction}}
 
* {{Karpenter}}
 
* {{Karpenter}}
  
 
[[Category:Karpeter]]
 
[[Category:Karpeter]]

Revision as of 15:54, 19 January 2023

Advertising: