kubectl-annotate
Annotate Kubernetes resources. tldr-pages
On several platforms
Several platforms
Annotate a pod
kubectl annotate [po pod_name key=valueIdentifyUpdate a pod annotation by overwriting the existing value
kubectl annotate [po pod_name key=value --overwriteIdentify--overwriteIf true, allow annotations to be overwritten, otherwise reject annotation updates that overwrite existing annotations. kubectl referenceAnnotate all pods in a namespace with a specific label selector
kubectl annotate [po key=value --selector label_key=label_valueIdentify--selectorSelector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2) kubectl referenceList all annotations a pod has
kubectl annotate [po pod_name --listIdentify--listIf true, display the annotations for a given resource. kubectl referenceRemove the annotation from a pod
kubectl annotate [po pod_name key-Identify