This topic describes the differences in the networks supported by clusters of Container Service for Swarm and clusters of Container Service for Kubernetes (ACK).
- Virtual private cloud (VPC)
- Classic network
ACK clusters support only VPCs. For more information, see Assign CIDR blocks to resources in a Kubernetes cluster under a VPC.
- If a Swarm cluster is deployed in a VPC, you must select the same VPC when you create an ACK cluster for migration. This ensures that the Swarm cluster and ACK cluster can communicate with each other.
If a Swarm cluster is deployed in the classic network, you must first connect the classic network to the VPC where you want to deploy the ACK cluster. This is because ACK clusters support only VPCs. For more information, see Overview.
After the classic network is connected to the VPC, IP addresses for access from VPCs are generated for Alibaba Cloud services that are used by the Swarm cluster, such as Object Storage Service (OSS), Network Attached Storage (NAS), and Relational Database Service (RDS). The created ACK cluster can connect to these IP addresses to access these Alibaba Cloud services through the VPC where the ACK cluster is deployed.