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
Log in to the KubeSphere web console with a user who has the Workspace NetworkPolicy Management permission, and access your workspace.
Click Workspace Settings > Basic Info in the left navigation pane.
In the Network Isolation area, click the switch on the right side of the cluster to enable or disable network isolation for the cluster.
Feedback
Was this page Helpful?
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.