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

Enable Workspace Network Isolation

This section introduces how to enable and disable network isolation for clusters authorized to a workspace.

When network isolation is enabled for a cluster authorized to a workspace, pods belonging to the workspace and running in the cluster cannot be accessed by clients outside the workspace or outside the cluster. The egress traffic of pods belonging to the workspace and running in the cluster is not restricted.

Prerequisites

  • You should join a workspace and have the Workspace NetworkPolicy Management permission within the workspace. For more information, refer to "Workspace Members" and "Workspace Roles".

  • KubeSphere Network should have been installed and enabled.

Steps

  1. Log in to the KubeSphere web console with a user who has the Workspace NetworkPolicy Management permission, and access your workspace.

  2. Click Workspace Settings > Basic Info in the left navigation pane.

  3. In the Network Isolation area, click the switch on the right side of the cluster to enable or disable network isolation for the cluster.

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