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

From wikieduonline
Jump to navigation Jump to search
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
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 [[annotation]] <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]]
 +
[[kubectl annotate pod]] [[your-pod-name]] [[karpenter.sh]]/do-not-evict='true' -n [[yournamespace]]
 +
[[your-pod-name]] [[annotated]]
  
[[Eviction]]
 
  
Consolidation
 
Emptiness
 
Expiration
 
  
{{Karpenter}}
+
 
 +
=== [[Eviction]] ===
 +
 
 +
* <code>Consolidation</code>
 +
* <code>Emptiness</code>
 +
* <code>Expiration</code>
 +
 
 +
== Related ==
 +
* <code>[[ttlSecondsUntilExpired]]</code>
 +
* <code>[[ttlSecondsUntilExpired]]</code>,  <code>[[controller.node]] [[Triggering termination for expired node after]] 168h0m0s .../...</code>
 +
 
 +
== See also ==
 +
* {{Kubernetes annotations}}
 +
* {{Eviction}}
 +
* {{Karpenter}}
 +
 
 +
[[Category:Karpeter]]

Latest revision as of 08:58, 20 January 2023

Advertising: