Difference between revisions of "Kubectl annotate pod"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
[[your-pod-name]] [[annotated]] | [[your-pod-name]] [[annotated]] | ||
− | Verify: [[kubectl describe pod]] [[your-pod-name]] -o yaml -n [[yournamespace]] | + | Verify: [[kubectl describe pod]] [[your-pod-name]] -o yaml -n [[yournamespace]] | grep [[do-not-evict]] |
Revision as of 14:32, 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 | grep do-not-evict
See also
Advertising: