< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />
Last updated: 2024-11-13 08:33:50
  • avatar

编辑网络策略配置

本节介绍如何编辑网络策略的配置。

Prerequisites

  • You should join a cluster and have the 集群网络资源管理 permission within the cluster. For more information, refer to "Cluster Members" and "Cluster Roles".

  • KubeSphere 平台需要安装并启用 KubeSphere 网络扩展组件。

Steps

  1. Log in to the KubeSphere web console with a user who has the 集群网络资源管理 permission, and access your cluster.

  2. Click 网络 > 网络策略 in the left navigation pane.

  3. 在需要操作的网络策略右侧点击more,然后在下拉列表中选择编辑 YAML

  4. 编辑 YAML对话框,修改网络策略的配置,然后点击确定

    有关网络策略配置文件的具体参数,请参阅 Kubernetes 官方文档

Receive the latest news, articles and updates from KubeSphere


What’s on this Page