annotate

    Update a pod identified by type and name in “pod.json”

      Update pod ‘foo’ by removing an annotation named ‘description’ if it exists # Does not require the —overwrite flag

      All Kubernetes objects support the ability to store additional data with the object as annotations. Annotations are key/value pairs that can be larger than labels and include arbitrary string values such as structured JSON. Tools and system extensions may use annotations to store their own data.

      Attempting to set an annotation that already exists will fail unless —overwrite is set. If —resource-version is specified and does not match the current resource version on the server the command will fail.

      Flags