The virtual_network
component enables Cluster to use an existing VNet
(Virtual Network) for the Docker Enterprise resources. If a virtual_network
component is not specified, a new VNet will be created with the default
settings. The default is a VNet with a CIDR of 172.31.0.0/16
and a single
subnet.
The following is an example of using an existing VNet and subnet.
cluster:
virtual_network:
name: "my-vnet"
resource_group: "MyResourceGroup"
subnet:
name: "my-subnet"