virtual_network

virtual_network

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.

Example Usage

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"

Settings

Setting Type Default Description
name String None Name of VNet
resource_group String None Name of resource group that contains the VNet
subnet Object   See the subnet below

subnet

Setting Type Default Description
name String None Name of the subnet in the VNet