Difference between revisions of "Kubectl annotate pod"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
[[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]] | ||
Revision as of 14:26, 3 January 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
See also
Advertising: