Edit Overlay Mode
This section introduces how to edit overlay mode.
Overlay mode can achieve cross-host container communication without modifying the physical network of the host machines.
Prerequisites
You should join a cluster and have the Cluster Network Resource Management permission within the cluster. For more information, refer to "Cluster Members" and "Cluster Roles".
KubeSphere Network should have been installed and enabled.
Steps
Log in to the KubeSphere web console with a user who has the Cluster Network Resource Management permission, and access your cluster.
Click Network > Pod IP Pools in the left navigation pane.
Click on the right side of the pod IP pool you want to edit, and then select Edit Overlay Mode from the dropdown list.
In the Edit Overlay Mode dialog box, select IPIP mode or VXLAN mode, and then click OK.
Mode Description IPIP Mode
Create an IP in IP tunnel on each node to achieve communication between containers. The values are as follows:
Always: Always perform IPIP encapsulation (default).
CrossSubnet: Perform IPIP encapsulation only when crossing network segments.
Never: Never perform IPIP encapsulation.
VXLAN Mode
Create a VXLAN tunnel on each node to achieve communication between containers. The values are as follows:
Always: Always perform VXLAN encapsulation.
CrossSubnet: Perform VXLAN encapsulation only when crossing network segments.
Never: Never perform VXLAN encapsulation.
Note |
---|
If both are set to Never, BGP mode is used. |
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.