---
sourceDocument: Zurich IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/zurich/it-operations-management

 Release :

    - zurich

ft:locale :

    - en-US

ft:publication_title :

    - Zurich IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Add custom Labels and Annotations to Kubernetes resources

# Add custom Labels and Annotations to Kubernetes resources {#ariaid-title1}

* Release version: Zurich
* 
* Updated July 31, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Add custom Labels and Annotations to all resources deployed by Kubernetes Visibility Agent in the Kubernetes cluster.

## Before you begin

Role required: none

## Procedure

Do one of the following:

* When using a Helm chart, in the Helm install command, add the custom attributes to the values.yaml file.Use the format shown in this example:

  `--set commonLabels.mylabel1=value1 --set
  commonLabels.mylabel2=value2 --set commonAnnotations.myannotation1=value3`.
* When using the k8s_informer.yaml file, add custom Labels and Annotations manually to the relevant resources in the file.

{#cnov-config-add-custom-labels__choices_fbb_kbk_51c}  
Note:  
Label and Annotation names must be alphanumeric and contain no spaces or special characters. For limitations on Label values, see the [Kubernetes documentation](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).

