Difference between revisions of "Kubectl annotate pod"
Jump to navigation
Jump to search
(Created page with "{{lc}} == See also == * {{kubectl annotate}} * {{Kubernetes labels}} Category:Kubernetes") |
|||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | * https://jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_annotate/ | ||
+ | |||
+ | [[kubectl annotate pod]] [[your-pod-name]] [[karpenter.sh]]/do-not-evict='true' -n [[yournamespace]] | ||
+ | [[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
kubectl annotate pod your-pod-name karpenter.sh/do-not-evict='true' -n yournamespace your-pod-name annotated
Verify: kubectl describe pod your-pod-name -o yaml -n yournamespace | grep do-not-evict
See also[edit]
Advertising: