This section describes how to view constraint template details.

Prerequisites

  • You need to join a cluster and have the cluster-admin permission in the cluster. For more information, see Cluster Members and Cluster Roles.

  • The KubeSphere platform needs to have the Gatekeeper extension installed and enabled.

Steps

  1. Log in to the KubeSphere web console with a user who has cluster-admin permissions and enter your cluster.

  2. Click Gatekeeper > Constraint Templates in the left navigation pane.

  3. In the constraint template list, click the name of a constraint template to open its details page.

  4. On the constraint template details page, in the Attributes area, view the basic information of the constraint template.

    Parameter Description

    Cluster

    The cluster to which the constraint template belongs.

    Creation Time

    The creation time of the constraint template.

    CRD

    The name of the CRD corresponding to the constraint template.

  5. On the constraint template details page, click the Target tab to view the constrained objects of the constraint template.

  6. On the constraint template details page, click the Status tab to view the labels and annotations of the constraint template.

  7. On the constraint template details page, click the Constraints tab to view the constraints created using the constraint template.