This section describes how to edit Ingress annotations.

Prerequisites

  • The Application Management for Cluster Federation extension must be installed and enabled on the KubeSphere platform.

  • You need to join a federated project and have the Federated Project Management permission in the corresponding workspace.

Steps

  1. Log in to the KubeSphere web console as a user with Federated Project Management permissions and enter your federated project.

  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.