Deploying VIC v0.7.0 in multi-cluster, multi-DVS infras

I’ve been liaising with one of our customers in the UK who is currently evaluating vSphere Integrated Containers in a very large vSphere infrastructure. In this infrastructure, a single vCenter Server is managing lots and lots of vSphere clusters, and very many distributed switches (DVS) and distributed portgroup. There were some issues encountered when trying to select the correct compute resource  and correct distributed portgroup for a particular Virtual Container Host, which I will highlight in this post.

Selecting a particular portgroup for frameworks on Photon Controller

Continuing my education on Photon Controller, I was trying to figure out how I would select a particular VM network (port group) for containers to use when I was deploying a particular framework on top of Photon Controller. Let’s say for instance that I had two VM Networks, one using VLAN 51 and another using VLAN 30. Initially I thought the frameworks would choose the default “VM Network” but quickly realized this was not the case. How then would I select the correct one for my framework?