< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

编辑应用路由注解

This section describes how to edit Ingress annotations.

Prerequisites

您需要加入一个集群或项目,并在集群或项目中具有应用负载管理权限。有关更多信息,请参阅集群角色项目角色

Steps

  1. 以具有应用负载管理权限的用户登录 KubeSphere Web 控制台并进入您的集群或项目。

  2. Click 应用负载 > 应用路由 in the left navigation pane.

  3. Click more on the right side of the ingress you want to edit, then select Edit Annotations from the dropdown list.

  4. In the Edit Annotations dialog, 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

    The cluster gateway and project gateway in KubeSphere are implemented based on Nginx Ingress Controller. You can set annotations on the Ingress to control the behavior of the gateway. For more information, see Nginx Ingress Controller Documentation.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page