Loading...

Using Labels to Automatically Discover Applications or Other Objects for Kubernetes

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.

      Examples of apptype label

      • To discover all production applications that have the label apptype=production in the development namespace, enter the following:

        apptype=production -n development

      • To discover all production applications from all namespaces that have the label apptype=production, enter the following:

        apptype=production --all-namespaces

        Note:

        • Whitespace is mandatory after the -n parameter.
        • You cannot use wildcards in labels.
    3. Click OK.
  6. Click OK.

Last modified: 3/22/2021 11:04:03 AM