Using Labels to Automatically Discover Applications or Other Objects for Kubernetes

Updated

On this page

You can use labels to automatically discover applications or other objects.

Procedure

  1. From the navigation pane, go to Protect > Kubernetes.

    The Clusters page appears.

  2. In the Name column, click the cluster.

    The cluster page appears.

  3. Click an application group.

    The application group properties page appears.

  4. Under Content, click Manage.

    The Application group content dialog box appears.

  5. To define labels to automatically discover applications or other objects, perform the following steps:

    1. Click Add Label selector.

      The Add Label selector page appears.

    2. In the Value box, type the label associated with a Kubernetes object.

      For example, to discover all applications that have the label app=payroll in the finance namespace, enter the following:

      apptype=productionapptype=production -n development

      Note:

      • You cannot use wildcards in labels.

      • --all-namespaces syntax is not supported with labels.

    3. Click OK.

  6. Click OK.