Define include and exclude lists of Labels and Annotations

  • Release version: Xanadu
  • Updated January 30, 2025
  • 1 minute to read
  • In Agent Client Collector for Kubernetes – Visibility, define include and exclude lists of Labels and Annotations in Kubernetes resources that the Informer pulls into the Configuration Management Database (CMDB).

    Before you begin

    Role required: none

    Procedure

    Create an include or exclude list by performing the appropriate procedure.
    TaskProcedure
    Create an include list
    • When using a Helm chart, in the Helm install command, add a comma-separated include list of Labels and Annotations.

      For example: --set IncludeLabelsAndAnnotations="label1,label2"

    • When using the k8s_informer.yaml file, add values under the environment variable INCLUDE_LABELS_AND_ANNOTATIONS.
    Create an exclude list
    • When using a Helm chart, in the Helm install command, add a comma-separated include list of Labels and Annotations.

      For example: --set ExcludeLabelsAndAnnotations="label1,label2"

    • When using the k8s_informer.yaml file, add values under the environment variable EXCLUDE_LABELS_AND_ANNOTATIONS.