Difference between revisions of "Kubectl annotate"

From wikieduonline
Jump to navigation Jump to search
Line 18: Line 18:
 
  [[kubectl annotate serviceaccount ebs-csi-controller-sa]]
 
  [[kubectl annotate serviceaccount ebs-csi-controller-sa]]
  
  [[kubectl annotate pods your-pod-name karpenter
+
  [[kubectl annotate pod]] [[your-pod-name]] karpenter.sh/do-not-evict='true' -n [[yournamespace]]
+
 
 
== Activities ==
 
== Activities ==
 
* [[CKAD: Understand how to use Labels, Selector and Annotations]]
 
* [[CKAD: Understand how to use Labels, Selector and Annotations]]

Revision as of 14:24, 3 January 2023

Advertising: