ports
is now supported in ACS since version 2017-07-01. It will be one of the optional attribute in the agentPoolProfile
definition. Ports need to conform the following rules
- All ports must be unique
- they must be specified with a agentDnsNamePrefix
- range is 1 <= x <= 65535
In sample templates we specify the public agent pool's ports like this
- Replace GEN-UNIQUE and GEN-UNIQUE-2 with different unique strings
- Replace GEN-SSH-PUB-KEY with valid SSH public key
With the provided sample ARM templates and parameters,
-
Using az cli to deploy
az group deployment create -g <your resource group> --template-file azuredeploy.dcos.json --parameters azuredeploy.params.dcos.json
Note,
<your resource group>
need to be in eitherukwest
oruksouth
regions. Other regions don't support the new version yet.
You should be able to check the public agent pool's nsg rules, in azure portal