Difference between revisions of "Kubectl annotate"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Draft}}
+
{{lc}}https://jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_annotate/
{{lc}}
 
https://jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_annotate/
 
  
 
  [[kubectl annotate --help]]
 
  [[kubectl annotate --help]]
Line 7: Line 5:
 
  [[kubectl annotate serviceaccount]]
 
  [[kubectl annotate serviceaccount]]
 
  [[kubectl annotate node]]
 
  [[kubectl annotate node]]
 
  
 
== Examples ==
 
== Examples ==
Line 18: Line 15:
 
  [[kubectl annotate serviceaccount ebs-csi-controller-sa]]
 
  [[kubectl annotate serviceaccount ebs-csi-controller-sa]]
  
  [[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]]
  
Line 24: Line 21:
 
* [[CKAD: Understand how to use Labels, Selector and Annotations]]
 
* [[CKAD: Understand how to use Labels, Selector and Annotations]]
 
* [[Kubernetes annotations]]
 
* [[Kubernetes annotations]]
 +
* [[Kubernetes labels]]: <code>[[kubectl label]]</code>
 +
 +
== Related ==
 +
* [[annotations:]]
  
 
== See also ==
 
== See also ==

Latest revision as of 20:55, 8 November 2023

Advertising: