Skip to content

Note: There will be a service break on Puhti on Tue Aug 12 from 8:30 to 12:00. Click here for more info.

Basic level

You need a knowledge of OpenShift CLI tool oc and kubernetes annotations

Annotations

You can use Kubernetes annotations to attach arbitrary non-identifying metadata to objects. Clients such as tools and libraries can retrieve this metadata. Annotations, like labels, are key/value maps.

Annotations can be added to any object by simply doing:

oc annotate <object_type> <object_name> <key>=<value>

Here are some examples that use annotations: