Difference between revisions of "Kubectl annotate pod"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
* https://jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_annotate/
 
* https://jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_annotate/
  
  [[kubectl annotate pod]] [[your-pod-name]] karpenter.sh/do-not-evict='true' -n [[yournamespace]]
+
  [[kubectl annotate pod]] [[your-pod-name]] [[karpenter.sh]]/do-not-evict='true' -n [[yournamespace]]
 
  [[your-pod-name]] [[annotated]]
 
  [[your-pod-name]] [[annotated]]
 +
 +
Verify: [[kubectl describe pod]] [[your-pod-name]] -o yaml -n [[yournamespace]] | grep [[do-not-evict]]
  
  

Latest revision as of 21:21, 9 November 2023

Advertising: