This section describes how to edit Ingress annotations.

Prerequisites

You need to join a cluster and have the Application Workload Management permission in the cluster. For more information, see Cluster Members and Cluster Roles.

Steps

  1. Log in to the KubeSphere web console with a user who has Application Workload Management permissions and enter your cluster.

  2. Click Application Workloads > Ingress in the left navigation pane.

  3. On the right side of the Ingress you want to operate, click more, then select Edit Annotations from the dropdown list.

  4. In the Edit Annotations dialog box, set the annotation key-value pairs, then click OK.

    • Click Add to set multiple annotations.

    • Click trash-light on the right side of a created annotation to delete it.

    Note

    KubeSphere’s cluster gateway and project gateway are implemented based on the Nginx Ingress Controller. You can set annotations on the Ingress to control the gateway’s behavior. For more information, please refer to the Nginx Ingress Controller official documentation.