This section describes how to edit Ingress annotations.

Prerequisites

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

Steps

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

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

  3. Select a project from the drop-down list in the upper left corner of the page.

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

  5. 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.