When creating a pod, you can specify a vSwitch on which to create the pod.
Background information
The corresponding vSwitch and security group for the cluster are configured when you create an Alibaba Cloud Container Compute Service (ACS) cluster. When you create a pod, it binds to its corresponding vSwitch, and the security rules of the pod are associated with the corresponding security group.
Pod configuration
You can use the following pod annotations:
Pod Annotations | Description |
| Specify additional vSwitches for the pod except for service start-up configuration:
|
| Specify additional security groups for the pod except for service start-up configuration:
Note A network interface can only be bound to one type of security group. If the specified security group contains both enterprise and regular security groups, errors occur when creating pods. |