kubectl annotate
Jump to navigation
Jump to search
This article is a Draft. Help us to complete it.
https://jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_annotate/
kubectl annotate --help kubectl annotate pods kubectl annotate serviceaccount kubectl annotate node
Examples[edit]
kubectl annotate pods my-nginx-v4-9gw19 description='my frontend running nginx' kubectl get pods my-nginx-v4-9gw19 -o yaml
kubectl annotate storageclass gp2 storageclass.kubernetes.io/is-default-class=true
kubectl annotate serviceaccount kubectl annotate serviceaccount ebs-csi-controller-sa
kubectl annotate pod your-pod-name karpenter.sh/do-not-evict='true' -n yournamespace your-pod-name annotated
Activities[edit]
See also[edit]
Advertising: