JAEN

Kubernetes

kubectl annotate

SafeAnnotations

kubectl annotate <res> key=value

Labels select, annotations describe — change notes, controller hints. Remove with key-.

Examples

  • kubectl annotate deploy/web kubernetes.io/change-cause='hotfix 1.4.1'Record a change cause

Syntax

kubectl annotate <res> key=value [key-]

Before you run it

Metadata only.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store