CDK has possibility to select which virtual switch will be used for minishift virtual machine via env variable HYPERV_VIRTUAL_SWITCH.
Having this variable set up and starting CDK from command line, virtual machine picks up correct virtual switch, but starting CDK from devstudio, virtual machine may pick up different virtual switch (in my case "DockerNAT" -> CDK is not working with this switch).