nerosense.blogg.se

Kubernetes annotations
Kubernetes annotations







kubernetes annotations

#KUBERNETES ANNOTATIONS UPDATE#

f, -filename= Filename, directory, or URL to files identifying the resource to update the annotation

kubernetes annotations

The server only supports a limited number of field queries per type. field-selector key1=value1,key2=value2). field-selector="" Selector (field query) to filter on, supports '=', '=', and '!='.(e.g. field-manager="kubectl-annotate" Name of the manager used to track field ownership. If server strategy, submit server-side request without persisting the resource. If client strategy, only print the object that would be sent, without sending it. dry-run="none" Must be "none", "server", or "client". Only applies to golang and jsonpath output formats. allow-missing-template-keys=true If true, ignore any errors in templates when a field or map key is missing in the template. A, -all-namespaces=false If true, check the specified action in all namespaces. all=false Select all resources, in the namespace of the specified resource types. Use "kubectl api-resources" for a complete list of supported resources. If -resource-version is specified and does not match the current resource version on the server the command will fail. Tools and system extensions may use annotations to store their own data.Īttempting to set an annotation that already exists will fail unless -overwrite is set. Annotations are key/value pairs that can be larger than labels and include arbitrary string values such as structured JSON. Update the annotations on one or more resources.Īll Kubernetes objects support the ability to store additional data with the object as annotations.









Kubernetes annotations