Enable Swarm Mode cluster creation (#205)

* Add Linux Swarm Mode to ACS Engine

Add Linux Swarm Mode to ACS Engine

* Enable Linux Swarm Mode in ACS Engine

Enable Linux Swarm Mode in ACS Engine

* Update log output

* Update templates.go

* Regenerate acs engine.go after merge from master

* Fixing classicMode template generation and regular expression bugs

* More fixes

* Update expected test files

* Update input JSON

* Add scenario templates for testing.

* Adding more tests

* Adding more test cases for Swarm Mode

* Backcompat fixes

* Fix parameters generation

* Update ReadMe

* Enable classicMode tests

* Fix misc issues

* Update documentation

* Adding example templates

* Fix parameter generation

* Update documentation

* Add support to SSH on port 22 on master 0.

* Update documentation for SSH on port 22

* Update documentation

* Add Swarm Mode large cluster examples and tests
This commit is contained in:
Anubhuti Manohar 2017-01-24 18:44:50 -08:00 коммит произвёл GitHub
Родитель 9306312875
Коммит 86c0d880fc
84 изменённых файлов: 23622 добавлений и 278 удалений

Просмотреть файл

@ -166,17 +166,17 @@ func main() {
if !*noPrettyPrint {
if template, err = acsengine.PrettyPrintArmTemplate(template); err != nil {
fmt.Fprintf(os.Stderr, "error pretty printing template %s", err.Error())
fmt.Fprintf(os.Stderr, "error pretty printing template: %s \n", err.Error())
os.Exit(1)
}
if parameters, err = acsengine.PrettyPrintJSON(parameters); err != nil {
fmt.Fprintf(os.Stderr, "error pretty printing template %s", err.Error())
fmt.Fprintf(os.Stderr, "error pretty printing template parameters: %s \n", err.Error())
os.Exit(1)
}
}
if err = writeArtifacts(containerService, apiVersion, template, parameters, *artifactsDir, certsGenerated, *parametersOnly); err != nil {
fmt.Fprintf(os.Stderr, "error writing artifacts %s", err.Error())
fmt.Fprintf(os.Stderr, "error writing artifacts: %s \n", err.Error())
os.Exit(1)
}
}

Просмотреть файл

@ -11,6 +11,7 @@ This cluster definition examples demonstrate how to create a customized Docker E
* [DC/OS Walkthrough](dcos.md) - shows how to create a DC/OS enabled Docker cluster on Azure
* [Kubernetes Walkthrough](kubernetes.md) - shows how to create a Kubernetes enabled Docker cluster on Azure
* [Swarm Walkthrough](swarm.md) - shows how to create a Swarm enabled Docker cluster on Azure
* [DockerCE Walkthrough](swarmmode.md) - shows how to create a DockerCE cluster on Azure
* [Custom VNET](../examples/vnet) - shows how to use a custom VNET
* [Attached Disks](../examples/disks-storageaccount) - shows how to attach up to 4 disks per node
* [Managed Disks](../examples/disks-managed) (under private preview) - shows how to use managed disks

Просмотреть файл

@ -22,6 +22,7 @@ Here are the valid values for the orchestrator types:
1. `DCOS` - this represents the [DC/OS orchestrator](dcos.md). [Older versions of DCOS173 and DCOS184 may be specified](../examples/dcos-versions).
2. `Kubernetes` - this represents the [Kubernetes orchestrator](kubernetes.md).
3. `Swarm` - this represents the [Swarm orchestrator](swarm.md).
4. `DockerCE` - this represents the [DockerCE/Swarm Mode orchestrator](swarmmode.md).
### masterProfile
`masterProfile` describes the settings for master configuration.
@ -108,6 +109,8 @@ Here are the valid values for the orchestrator types:
1. `DCOS` - this represents the [DC/OS orchestrator](dcos.md).
2. `Swarm` - this represents the [Swarm orchestrator](swarm.md).
3. `Kubernetes` - this represents the [Kubernetes orchestrator](kubernetes.md).
4. `DockerCE` - this represents the [DockerCE/Swarm Mode orchestrator](swarmmode.md).
### masterProfile
`masterProfile` describes the settings for master configuration.

Двоичные данные
docs/images/dockernodels.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 27 KiB

Двоичные данные
docs/images/dockerserviceps.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 9.9 KiB

Двоичные данные
docs/images/dockerservicescale.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 25 KiB

Просмотреть файл

@ -14,7 +14,7 @@ Here are the steps to deploy a simple Swarm cluster:
Once your Swarm cluster has been deployed you will have a resource group containing:
1. a set of 1,3, or 5 masters in a master availability set. Each master's SSH can be accessed via the public dns address at ports 2200..2204
1. a set of 1,3, or 5 masters in a master availability set. Each master's SSH can be accessed via the public dns address at ports 2200..2204. First master's SSH can also be accessed via public dns address on port 22.
2. a set of agents in a VM scale set (VMSS). The agent VMs can be accessed through a master. See [agent forwarding](ssh.md#key-management-and-agent-forwarding-with-windows-pageant) for an example of how to do this.
@ -43,34 +43,34 @@ After completing this walkthrough you will know how to:
![Image of docker scaling](images/findingoutputs.png)
3. SSH to port 2200 of the master FQDN. See [agent forwarding](ssh.md#key-management-and-agent-forwarding-with-windows-pageant) for an example of how to do this.
2. SSH to port 2200 of the master FQDN. See [agent forwarding](ssh.md#key-management-and-agent-forwarding-with-windows-pageant) for an example of how to do this.
4. Set the DOCKER_HOST environment variable to `:2375`: e.g. ```export DOCKER_HOST=:2375```
3. Set the DOCKER_HOST environment variable to `:2375`: e.g. ```export DOCKER_HOST=:2375```
5. Type `docker info` to see the status of the agent nodes.
4. Type `docker info` to see the status of the agent nodes.
![Image of docker info](images/dockerinfo.png)
6. Type `docker run -it hello-world` to see the hello-world test app run on one of the agents (the '-it' switches ensure output is displayed on your client)
5. Type `docker run -it hello-world` to see the hello-world test app run on one of the agents (the '-it' switches ensure output is displayed on your client)
7. Now let's create a simple web app and expose to the world. Start by using your favorite linux file editor to create a file named `docker-compose.yml` with the following contents:
```yaml
6. Now let's create a simple web app and expose to the world. Start by using your favorite linux file editor to create a file named `docker-compose.yml` with the following contents:
```
web:
image: "yeasy/simple-web"
ports:
- "80:80"
restart: "always"
```
8. type `docker-compose up -d` to create the simple web server. This will take a few minutes to pull the image
7. type `docker-compose up -d` to create the simple web server. This will take a few minutes to pull the image
9. once completed, type `docker ps` to see the running image.
8. once completed, type `docker ps` to see the running image.
![Image of docker ps](images/dockerps.png)
10. in your web browser hit the AGENTFQDN endpoint (**not the master FQDN**) you recorded in step #1 and you should see the following page, with a counter that increases on each refresh.
9. in your web browser hit the AGENTFQDN endpoint (**not the master FQDN**) you recorded in step #1 and you should see the following page, with a counter that increases on each refresh.
![Image of the web page](images/swarmbrowser.png)
11. You can now scale the web application. For example, if you have 3 agents, you can type `docker-compose scale web=**3**`, and this will scale to the rest of your agents. Note that in this example you can only scale up to the number of agents that you have since each container requires port 80, so if you deployed a single agent, you won't be able to scale up. The Azure load balancer will automatically pick up the new containers.
10. You can now scale the web application. For example, if you have 3 agents, you can type `docker-compose scale web=**3**`, and this will scale to the rest of your agents. Note that in this example you can only scale up to the number of agents that you have since each container requires port 80, so if you deployed a single agent, you won't be able to scale up. The Azure load balancer will automatically pick up the new containers.
![Image of docker scaling](images/dockercomposescale.png)

73
docs/swarmmode.md Normal file
Просмотреть файл

@ -0,0 +1,73 @@
# Microsoft Azure Container Service Engine - DockerCE/Swarm Mode Walkthrough
## Deployment
Here are the steps to deploy a simple DockerCE cluster:
1. [install acs-engine](acsengine.md#downloading-and-building-acs-engine)
2. [generate your ssh key](ssh.md#ssh-key-generation)
3. edit the [DockerCE example](../examples/swarmmode.json) and fill in the blank strings
4. [generate the template](acsengine.md#generating-a-template)
5. [deploy the output azuredeploy.json and azuredeploy.parameters.json](../README.md#deployment-usage)
## Walkthrough
Once your DockerCE/Swarm Mode cluster has been deployed you will have a resource group containing:
1. a set of 1,3, or 5 masters in a master availability set. Each master's SSH can be accessed via the public dns address at ports 2200..2204. First master's SSH can also be accessed via public dns address on port 22.
2. a set of agents in a VM scale set (VMSS). The agent VMs can be accessed through a master. See [agent forwarding](ssh.md#key-management-and-agent-forwarding-with-windows-pageant) for an example of how to do this.
The following image shows the architecture of a container service cluster with 3 masters, and 3 agents:
![Image of Swarm container service on azure](images/swarm.png)
All VMs are in the same VNET where the masters are on private subnet 172.16.0.0/24 and the agents are on the private subnet, 10.0.0.0/16, and fully accessible to each other.
## Create your First Two DockerCE/Swarm Mode Docker services: hello-world, and Docker web app
After completing this walkthrough you will know how to:
* display information from Swarm Mode,
* deploy a simple Docker hello-world app using docker-compose,
* and deploy a simple Docker web app publically available to the world.
1. After successfully deploying the template write down the two output master and agent FQDNs (Fully Qualified Domain Name).
1. If using Powershell or CLI, the output parameters are the last values printed.
2. If using Portal, to get the output you need to:
1. navigate to "resource group"
2. click on the resource group you just created
3. then click on "Succeeded" under *last deployment*
4. then click on the "Microsoft.Template"
5. now you can copy the output FQDNs and sample SSH commands
![Image of docker scaling](images/findingoutputs.png)
2. SSH to port 2200 of the master FQDN. See [agent forwarding](ssh.md#key-management-and-agent-forwarding-with-windows-pageant) for an example of how to do this.
3. Type `docker node ls` to view the list of nodes (and their status) in the Swarm.
![Image of docker node ls](images/dockernodels.png)
4. Type `docker run -it hello-world` to see the hello-world test app run on one of the agents (the '-it' switches ensure output is displayed on your client)
5. Now let's create a simple service in a swarm and expose it to the world. Type `docker service create --name fe --publish 80:80 yeasy/simple-web`
6. Once completed, type `docker service ps fe` to see the running service.
![Image of docker service ps](images/dockerserviceps.png)
7. In your web browser hit the AGENTFQDN endpoint (**not the master FQDN**) you recorded in step #1 and you should see the following page, with a counter that increases on each refresh.
![Image of the web page](images/swarmbrowser.png)
8. You can now scale the service. You can type `docker service scale fe=5`, and this will scale to the rest of your agents. Note that in this example you can only scale up to the number of agents that you have since each container requires port 80, so if you deployed a single agent, you won't be able to scale up. The Azure load balancer will automatically pick up the new containers.
![Image of service scaling](images/dockerservicescale.png)
# Learning More
Here are recommended links to learn more about Swarm Mode, Docker, and Docker Compose:
1. [Docker](https://docs.docker.com/) - learn more through Docker documentation.
2. [Docker Swarm Mode](https://docs.docker.com/engine/swarm/) - learn more about Docker Swarm Mode.

Просмотреть файл

@ -11,6 +11,7 @@ This cluster definition examples demonstrate how to create a customized Docker E
* [DC/OS Walkthrough](../docs/dcos.md) - shows how to create a DC/OS enabled Docker cluster on Azure
* [Kubernetes Walkthrough](../docs/kubernetes.md) - shows how to create a Kubernetes enabled Docker cluster on Azure
* [Swarm Walkthrough](../docs/swarm.md) - shows how to create a Swarm enabled Docker cluster on Azure
* [DockerCE Walkthrough](../docs/swarmmode.md) - shows how to create a DockerCE cluster on Azure
* [Custom VNET](vnet) - shows how to use a custom VNET
* [Attached Disks](disks-storageaccount) - shows how to attach up to 4 disks per node
* [Managed Disks](disks-managed) (under private preview) - shows how to use managed disks

Просмотреть файл

@ -31,10 +31,6 @@
]
}
],
"windowsProfile": {
"adminUsername": "azureuser",
"adminPassword": "replacepassword1234$"
},
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {

Просмотреть файл

@ -31,10 +31,6 @@
]
}
],
"windowsProfile": {
"adminUsername": "azureuser",
"adminPassword": "replacepassword1234$"
},
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {

Просмотреть файл

@ -0,0 +1,45 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 1,
"dnsPrefix": "",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "agentpool1",
"count": 3,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet",
"storageProfile": "ManagedDisks"
},
{
"name": "agentpool2",
"count": 3,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet",
"storageProfile": "ManagedDisks",
"dnsPrefix": "",
"ports": [
80,
443,
8080
]
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": ""
}
]
}
}
}
}

Просмотреть файл

@ -0,0 +1,45 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 1,
"dnsPrefix": "",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "agentpool1",
"count": 3,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "VirtualMachineScaleSets",
"storageProfile": "ManagedDisks"
},
{
"name": "agentpool2",
"count": 3,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "VirtualMachineScaleSets",
"storageProfile": "ManagedDisks",
"dnsPrefix": "",
"ports": [
80,
443,
8080
]
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": ""
}
]
}
}
}
}

Просмотреть файл

@ -0,0 +1,47 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 3,
"dnsPrefix": "",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "agent128",
"count": 3,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet",
"storageProfile": "StorageAccount",
"diskSizesGB": [128, 128, 128, 128]
},
{
"name": "agent1public",
"count": 3,
"vmSize": "Standard_D2_v2",
"dnsPrefix": "",
"availabilityProfile": "AvailabilitySet",
"storageProfile": "StorageAccount",
"diskSizesGB": [1],
"ports": [
80,
443,
8080
]
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": ""
}
]
}
}
}
}

Просмотреть файл

@ -0,0 +1,47 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 3,
"dnsPrefix": "",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "agent128",
"count": 3,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet",
"storageProfile": "StorageAccount",
"diskSizesGB": [128, 128, 128, 128]
},
{
"name": "agent1public",
"count": 3,
"vmSize": "Standard_D2_v2",
"dnsPrefix": "",
"availabilityProfile": "AvailabilitySet",
"storageProfile": "StorageAccount",
"diskSizesGB": [1],
"ports": [
80,
443,
8080
]
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": ""
}
]
}
}
}
}

Просмотреть файл

@ -0,0 +1,97 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 3,
"dnsPrefix": "",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "agentprivate0",
"count": 100,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentprivate1",
"count": 100,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentprivate2",
"count": 100,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentprivate3",
"count": 100,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentprivate4",
"count": 100,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentprivate5",
"count": 100,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentprivate6",
"count": 100,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentprivate7",
"count": 100,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentprivate8",
"count": 100,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentprivate9",
"count": 100,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentprivate10",
"count": 100,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentprivate11",
"count": 100,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": ""
}
]
}
}
}
}

Просмотреть файл

@ -0,0 +1,85 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 1,
"dnsPrefix": "",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "agentprivate0",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentprivate1",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentprivate2",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentprivate3",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentprivate4",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentprivate5",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentprivate6",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentprivate7",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentprivate8",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentprivate9",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentprivate10",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentprivate11",
"count": 100,
"vmSize": "Standard_D2_v2"
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": ""
}
]
}
}
}
}

36
examples/swarmmode.json Normal file
Просмотреть файл

@ -0,0 +1,36 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 3,
"dnsPrefix": "",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "agentpool1",
"count": 3,
"vmSize": "Standard_D2_v2",
"dnsPrefix": "",
"ports": [
80,
443,
8080
]
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": ""
}
]
}
}
}
}

Просмотреть файл

@ -0,0 +1,45 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 3,
"dnsPrefix": "",
"vmSize": "Standard_D2_v2",
"vnetSubnetId": "/subscriptions/b52fce95-de5f-4b37-afca-db203a5d0b6a/resourceGroups/anhoweExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleCustomVNET/subnets/ExampleMasterSubnet",
"firstConsecutiveStaticIP": "10.100.0.5"
},
"agentPoolProfiles": [
{
"name": "agentprivate",
"count": 3,
"vmSize": "Standard_D2_v2",
"vnetSubnetId": "/subscriptions/b52fce95-de5f-4b37-afca-db203a5d0b6a/resourceGroups/anhoweExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleCustomVNET/subnets/ExampleAgentSubnet"
},
{
"name": "agentpublic",
"count": 3,
"vmSize": "Standard_D2_v2",
"dnsPrefix": "",
"vnetSubnetId": "/subscriptions/b52fce95-de5f-4b37-afca-db203a5d0b6a/resourceGroups/anhoweExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleCustomVNET/subnets/ExampleAgentSubnet",
"ports": [
80,
443,
8080
]
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": ""
}
]
}
}
}
}

Просмотреть файл

@ -275,7 +275,7 @@ fi
echo "processes at end of script"
ps ax
date
echo "completed mesos cluster configuration"
echo "completed Swarm cluster configuration"
echo "restart system to install any remaining software"
if isagent ; then

Просмотреть файл

@ -0,0 +1,283 @@
#!/bin/bash
###########################################################
# Configure Swarm Mode One Box
#
# This installs the following components
# - Docker
# - Docker Compose
# - Swarm Mode masters
# - Swarm Mode agents
###########################################################
set -x
echo "starting Swarm Mode cluster configuration"
date
ps ax
DOCKER_COMPOSE_VERSION="1.9.0"
#############
# Parameters
#############
MASTERCOUNT=${1}
MASTERPREFIX=${2}
MASTERFIRSTADDR=${3}
AZUREUSER=${4}
POSTINSTALLSCRIPTURI=${5}
BASESUBNET=${6}
VMNAME=`hostname`
VMNUMBER=`echo $VMNAME | sed 's/.*[^0-9]\([0-9]\+\)*$/\1/'`
VMPREFIX=`echo $VMNAME | sed 's/\(.*[^0-9]\)*[0-9]\+$/\1/'`
echo "Master Count: $MASTERCOUNT"
echo "Master Prefix: $MASTERPREFIX"
echo "Master First Addr: $MASTERFIRSTADDR"
echo "vmname: $VMNAME"
echo "VMNUMBER: $VMNUMBER, VMPREFIX: $VMPREFIX"
echo "BASESUBNET: $BASESUBNET"
echo "AZUREUSER: $AZUREUSER"
###################
# Common Functions
###################
ensureAzureNetwork()
{
# ensure the network works
networkHealthy=1
for i in {1..12}; do
wget -O/dev/null http://bing.com
if [ $? -eq 0 ]
then
# hostname has been found continue
networkHealthy=0
echo "the network is healthy"
break
fi
sleep 10
done
if [ $networkHealthy -ne 0 ]
then
echo "the network is not healthy, aborting install"
ifconfig
ip a
exit 2
fi
# ensure the host ip can resolve
networkHealthy=1
for i in {1..120}; do
hostname -i
if [ $? -eq 0 ]
then
# hostname has been found continue
networkHealthy=0
echo "the network is healthy"
break
fi
sleep 1
done
if [ $networkHealthy -ne 0 ]
then
echo "the network is not healthy, cannot resolve ip address, aborting install"
ifconfig
ip a
exit 2
fi
}
ensureAzureNetwork
HOSTADDR=`hostname -i`
ismaster ()
{
if [ "$MASTERPREFIX" == "$VMPREFIX" ]
then
return 0
else
return 1
fi
}
if ismaster ; then
echo "this node is a master"
fi
isagent()
{
if ismaster ; then
return 1
else
return 0
fi
}
if isagent ; then
echo "this node is an agent"
fi
MASTER0IPADDR="${BASESUBNET}${MASTERFIRSTADDR}"
######################
# resolve self in DNS
######################
echo "$HOSTADDR $VMNAME" | sudo tee -a /etc/hosts
################
# Install Docker
################
echo "Installing and configuring Docker"
installDocker()
{
for i in {1..10}; do
wget --tries 4 --retry-connrefused --waitretry=15 -qO- https://get.docker.com | sh
if [ $? -eq 0 ]
then
# hostname has been found continue
echo "Docker installed successfully"
break
fi
sleep 10
done
}
time installDocker
sudo usermod -aG docker $AZUREUSER
echo "Updating Docker daemon options"
updateDockerDaemonOptions()
{
sudo mkdir -p /etc/systemd/system/docker.service.d
# Start Docker and listen on :2375 (no auth, but in vnet) and
# also have it bind to the unix socket at /var/run/docker.sock
sudo bash -c 'echo "[Service]
ExecStart=
ExecStart=/usr/bin/docker daemon -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock
" > /etc/systemd/system/docker.service.d/override.conf'
}
time updateDockerDaemonOptions
echo "Installing Docker Compose"
installDockerCompose()
{
# sudo -i
for i in {1..10}; do
wget --tries 4 --retry-connrefused --waitretry=15 -qO- https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_VERSION/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
if [ $? -eq 0 ]
then
# hostname has been found continue
echo "docker-compose installed successfully"
break
fi
sleep 10
done
}
time installDockerCompose
chmod +x /usr/local/bin/docker-compose
sudo systemctl daemon-reload
sudo service docker restart
ensureDocker()
{
# ensure that docker is healthy
dockerHealthy=1
for i in {1..3}; do
sudo docker info
if [ $? -eq 0 ]
then
# hostname has been found continue
dockerHealthy=0
echo "Docker is healthy"
sudo docker ps -a
break
fi
sleep 10
done
if [ $dockerHealthy -ne 0 ]
then
echo "Docker is not healthy"
fi
}
ensureDocker
##############################################
# configure init rules restart all processes
##############################################
if ismaster ; then
if [ "$HOSTADDR" = "$MASTER0IPADDR" ]; then
echo "Creating a new Swarm on first master"
docker swarm init --advertise-addr $(hostname -i):2377 --listen-addr $(hostname -i):2377
else
echo "Secondary master attempting to join an existing Swarm"
swarmmodetoken=""
swarmmodetokenAcquired=1
for i in {1..120}; do
swarmmodetoken=$(docker -H $MASTER0IPADDR:2375 swarm join-token -q manager)
if [ $? -eq 0 ]; then
swarmmodetokenAcquired=0
break
fi
sleep 5
done
if [ $swarmmodetokenAcquired -ne 0 ]
then
echo "Secondary master couldn't connect to Swarm, aborting install"
exit 2
fi
docker swarm join --token $swarmmodetoken $MASTER0IPADDR:2377
fi
fi
if ismaster ; then
echo "Having ssh listen to port 2222 as well as 22"
sudo sed -i "s/^Port 22$/Port 22\nPort 2222/1" /etc/ssh/sshd_config
fi
if ismaster ; then
echo "Setting availability of master node: '$VMNAME' to pause"
docker node update --availability pause $VMNAME
fi
if isagent ; then
echo "Agent attempting to join an existing Swarm"
swarmmodetoken=""
swarmmodetokenAcquired=1
for i in {1..120}; do
swarmmodetoken=$(docker -H $MASTER0IPADDR:2375 swarm join-token -q worker)
if [ $? -eq 0 ]; then
swarmmodetokenAcquired=0
break
fi
sleep 5
done
if [ $swarmmodetokenAcquired -ne 0 ]
then
echo "Agent couldn't join Swarm, aborting install"
exit 2
fi
docker swarm join --token $swarmmodetoken $MASTER0IPADDR:2377
fi
if [ $POSTINSTALLSCRIPTURI != "disabled" ]
then
echo "downloading, and kicking off post install script"
/bin/bash -c "wget --tries 20 --retry-connrefused --waitretry=15 -qO- $POSTINSTALLSCRIPTURI | nohup /bin/bash >> /var/log/azure/cluster-bootstrap-postinstall.log 2>&1 &"
fi
echo "processes at end of script"
ps ax
date
echo "completed Swarm Mode cluster configuration"
echo "restart system to install any remaining software"
if isagent ; then
shutdown -r now
else
# wait 1 minute to restart master
/bin/bash -c "shutdown -r 1 &"
fi

Просмотреть файл

@ -3,8 +3,9 @@
"value": "[reference(concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))).dnsSettings.fqdn]"
}
{{if GetClassicMode}}
,
{{if RequiresFakeAgentOutput}}
,"agentFQDN": {
"agentFQDN": {
"type": "string",
"value": ""
},

Просмотреть файл

@ -127,7 +127,11 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('{{.Name}}VMNamePrefix')]",
{{if IsSwarmMode}}
{{GetAgentSwarmModeCustomData}}
{{else}}
{{GetAgentSwarmCustomData}}
{{end}}
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

Просмотреть файл

@ -181,7 +181,11 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('{{.Name}}VMNamePrefix'), copyIndex())]",
{{if IsSwarmMode}}
{{GetAgentSwarmModeCustomData}}
{{else}}
{{GetAgentSwarmCustomData}}
{{end}}
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

Просмотреть файл

@ -126,7 +126,11 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('{{.Name}}VMNamePrefix')]",
{{if IsSwarmMode}}
{{GetAgentSwarmModeCustomData}}
{{else}}
{{GetAgentSwarmCustomData}}
{{end}}
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

Просмотреть файл

@ -95,6 +95,24 @@
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"dependsOn": [
"[variables('masterLbID')]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]",
"properties": {
"backendPort": 2222,
"enableFloatingIP": false,
"frontendIPConfiguration": {
"id": "[variables('masterLbIPConfigID')]"
},
"frontendPort": "22",
"protocol": "tcp"
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"copy": {
@ -106,7 +124,8 @@
"[variables('vnetID')]",
{{end}}
"[variables('masterLbID')]",
"[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
"[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]",
"[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]",
@ -120,11 +139,7 @@
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
}
],
"loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]",
"privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]",
"privateIPAllocationMethod": "Static",
"subnet": {
@ -170,7 +185,11 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
{{if .OrchestratorProfile.IsSwarmMode}}
{{GetMasterSwarmModeCustomData}}
{{else}}
{{GetMasterSwarmCustomData}}
{{end}}
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

Просмотреть файл

@ -8,9 +8,14 @@
{{if .HasManagedDisks}}
"apiVersionStorageManagedDisks": "2016-04-30-preview",
{{end}}
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
{{if .OrchestratorProfile.IsSwarmMode}}
"configureClusterScriptFile": "configure-swarmmode-cluster.sh",
{{else}}
"configureClusterScriptFile": "configure-swarm-cluster.sh",
{{end}}
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentMaxVMs": 100,
"clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]",
{{if .LinuxProfile.HasSecrets}}
@ -35,8 +40,12 @@
],
{{end}}
"masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]",
{{if GetClassicMode}}
"masterCount": "[parameters('masterCount')]",
{{else}}
"masterCount": {{.MasterProfile.Count}},
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
{{end}}
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]",
"masterLbBackendPoolName": "[concat(variables('orchestratorName'), '-master-pool-', variables('nameSuffix'))]",
"masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]",
@ -65,10 +74,47 @@
"masterVMNamePrefix": "[concat(variables('orchestratorName'), '-master-', variables('nameSuffix'), '-')]",
"masterVMSize": "[parameters('masterVMSize')]",
"nameSuffix": "[parameters('nameSuffix')]",
"masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterLbInboundNatRules":[
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]"
},
{
"id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]"
}
]
],
"orchestratorName": "swarm",
"osImageOffer": "UbuntuServer",
"osImagePublisher": "Canonical",
{{if .OrchestratorProfile.IsSwarmMode}}
"osImageSKU": "16.04.0-LTS",
{{else}}
"osImageSKU": "14.04.4-LTS",
{{end}}
"osImageVersion": "latest",
"postInstallScriptURI": "disabled",
"sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]",

Просмотреть файл

@ -34,6 +34,7 @@ const (
const (
swarmProvision = "configure-swarm-cluster.sh"
swarmWindowsProvision = "Install-ContainerHost-And-Join-Swarm.ps1"
swarmModeProvision = "configure-swarmmode-cluster.sh"
)
const (
@ -80,6 +81,7 @@ var commonTemplateFiles = []string{agentOutputs, agentParams, classicParams, mas
var dcosTemplateFiles = []string{dcosAgentResourcesVMAS, dcosAgentResourcesVMSS, dcosAgentVars, dcosBaseFile, dcosMasterResources, dcosMasterVars}
var kubernetesTemplateFiles = []string{kubernetesBaseFile, kubernetesAgentResourcesVMAS, kubernetesAgentVars, kubernetesMasterResources, kubernetesMasterVars, kubernetesParams}
var swarmTemplateFiles = []string{swarmBaseFile, swarmAgentResourcesVMAS, swarmAgentVars, swarmAgentResourcesVMSS, swarmAgentResourcesClassic, swarmBaseFile, swarmMasterResources, swarmMasterVars, swarmWinAgentResourcesVMAS, swarmWinAgentResourcesVMSS, windowsParams}
var swarmModeTemplateFiles = []string{swarmBaseFile, swarmAgentResourcesVMAS, swarmAgentVars, swarmAgentResourcesVMSS, swarmAgentResourcesClassic, swarmBaseFile, swarmMasterResources, swarmMasterVars, swarmWinAgentResourcesVMAS, swarmWinAgentResourcesVMSS}
func (t *TemplateGenerator) verifyFiles() error {
allFiles := append(commonTemplateFiles, dcosTemplateFiles...)
@ -144,7 +146,7 @@ func (t *TemplateGenerator) GenerateTemplate(containerService *api.ContainerServ
return "", "", certsGenerated, err
}
var parametersMap map[string]interface{}
if parametersMap, err = getParameters(properties); err != nil {
if parametersMap, err = getParameters(properties, t.ClassicMode); err != nil {
return "", "", certsGenerated, err
}
var parameterBytes []byte
@ -197,6 +199,9 @@ func prepareTemplateFiles(properties *api.Properties) ([]string, string, error)
} else if properties.OrchestratorProfile.OrchestratorType == api.Kubernetes {
files = append(commonTemplateFiles, kubernetesTemplateFiles...)
baseFile = kubernetesBaseFile
} else if properties.OrchestratorProfile.OrchestratorType == api.DockerCE {
files = append(commonTemplateFiles, swarmModeTemplateFiles...)
baseFile = swarmBaseFile
} else {
return nil, "", fmt.Errorf("orchestrator '%s' is unsupported", properties.OrchestratorProfile.OrchestratorType)
}
@ -204,7 +209,7 @@ func prepareTemplateFiles(properties *api.Properties) ([]string, string, error)
return files, baseFile, nil
}
func getParameters(properties *api.Properties) (map[string]interface{}, error) {
func getParameters(properties *api.Properties, isClassicMode bool) (map[string]interface{}, error) {
parametersMap := map[string]interface{}{}
// Master Parameters
@ -217,6 +222,9 @@ func getParameters(properties *api.Properties) (map[string]interface{}, error) {
}
addValue(parametersMap, "firstConsecutiveStaticIP", properties.MasterProfile.FirstConsecutiveStaticIP)
addValue(parametersMap, "masterVMSize", properties.MasterProfile.VMSize)
if isClassicMode {
addValue(parametersMap, "masterCount", properties.MasterProfile.Count)
}
addValue(parametersMap, "sshRSAPublicKey", properties.LinuxProfile.SSH.PublicKeys[0].KeyData)
for i, s := range properties.LinuxProfile.Secrets {
addValue(parametersMap, fmt.Sprintf("linuxKeyVaultID%d", i), s.SourceVault.ID)
@ -291,6 +299,9 @@ func (t *TemplateGenerator) getTemplateFuncMap(properties *api.Properties) map[s
"RequiresFakeAgentOutput": func() bool {
return properties.OrchestratorProfile.OrchestratorType == api.Kubernetes
},
"IsSwarmMode": func() bool {
return properties.OrchestratorProfile.IsSwarmMode()
},
"IsPublic": func(ports []int) bool {
return len(ports) > 0
},
@ -408,6 +419,18 @@ func (t *TemplateGenerator) getTemplateFuncMap(properties *api.Properties) map[s
}
return str
},
"GetMasterSwarmModeCustomData": func() string {
files := []string{swarmModeProvision}
str := buildYamlFileWithWriteFiles(files)
str = escapeSingleLine(str)
return fmt.Sprintf("\"customData\": \"[base64('%s')]\",", str)
},
"GetAgentSwarmModeCustomData": func() string {
files := []string{swarmModeProvision}
str := buildYamlFileWithWriteFiles(files)
str = escapeSingleLine(str)
return fmt.Sprintf("\"customData\": \"[base64(concat('%s',variables('agentRunCmdFile'),variables('agentRunCmd')))]\",", str)
},
"AnyAgentHasDisks": func() bool {
for _, agentProfile := range properties.AgentPoolProfiles {
if agentProfile.HasDisks() {

Просмотреть файл

@ -44,11 +44,16 @@ func TestExpected(t *testing.T) {
expectedJsonStr := strings.Replace(string(expectedJson), "\r", "", -1)
expectedParamsStr := strings.Replace(string(expectedParams), "\r", "", -1)
isClassicMode := false
if strings.Contains(tuple.GetExpectedArmTemplateFilename(), "_classicmode_expected") {
isClassicMode = true
}
// test the output container service 3 times:
// 1. first time tests loaded containerService
// 2. second time tests generated containerService
// 3. third time tests the generated containerService from the generated containerService
templateGenerator, e3 := InitializeTemplateGenerator(false)
templateGenerator, e3 := InitializeTemplateGenerator(isClassicMode)
if e3 != nil {
t.Error(e3.Error())
continue

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -526,10 +526,10 @@
},
"variables": {
"adminUsername": "[parameters('linuxAdminUsername')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentMaxVMs": 100,
"agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentpool1AccountName": "[concat(variables('storageAccountBaseName'), 'agnt0')]",
"agentpool1Count": "[parameters('agentpool1Count')]",
"agentpool1EndpointDNSNamePrefix": "[tolower(parameters('agentpool1EndpointDNSNamePrefix'))]",
@ -558,10 +558,11 @@
"apiVersionDefault": "2016-03-30",
"apiVersionStorage": "2015-06-15",
"clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]",
"configureClusterScriptFile": "configure-swarm-cluster.sh",
"dataStorageAccountPrefixSeed": 97,
"masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]",
"masterCount": 1,
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]",
"masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]",
"masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]",
@ -570,8 +571,41 @@
"masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]",
"masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]",
"masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]",
"masterLbInboundNatRules": [
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]"
},
{
"id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]"
}
]
],
"masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]",
"masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]",
"masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterStorageAccountName": "[concat(variables('storageAccountBaseClassicName'), '0')]",
"masterSubnet": "[parameters('masterSubnet')]",
"masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]",
@ -1077,7 +1111,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpool1VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e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GYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCGCx4wWK9zxRlBXGKezxpu08WvuZC7CqI9Jz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NfIsN4ChCUaI3wPP731mi3S+SiBWNSEm+IOYOoTyGNRJPrcfEqhyw6dOMa1p2sMN8uYkTY7ucgi34VwW86UZ7b/7ZaS/rHuUSAvxHDwANq4fbzo0DtY7Ta/aILqEdqFOH/tBRVUR0ZFAFokiJLDkFXZNywXWwkb2H76fm3t8tZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -1179,7 +1213,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpool2VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0DpO52pQHJrnmfU/MgUMQe9mIQzbcQ6um0GQobO88pva3FtLeEogXFVmn0BZMpt8qBMKpKm1g+8p8rYnFFvkwRm+QH9j/SgfH8C9jXqd3OduYZRgsuIFWkKC6XyXqRT27wV8+yrMrHh2DYL5UqohIVV+j0W2ps0NG3sp2DDnKbAmdxHAZ3ZBG5fciBrYrqe82t7c9AcYsJKer+InY1NYYAN6f87E9+CiJiw2t4woCeJQCn/d45WOzKb93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JBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fw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n1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -1338,6 +1372,24 @@
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"dependsOn": [
"[variables('masterLbID')]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]",
"properties": {
"backendPort": 2222,
"enableFloatingIP": false,
"frontendIPConfiguration": {
"id": "[variables('masterLbIPConfigID')]"
},
"frontendPort": "22",
"protocol": "tcp"
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"copy": {
@ -1347,7 +1399,8 @@
"dependsOn": [
"[variables('vnetID')]",
"[variables('masterLbID')]",
"[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
"[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]",
"[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]",
@ -1361,11 +1414,7 @@
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
}
],
"loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]",
"privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]",
"privateIPAllocationMethod": "Static",
"subnet": {
@ -1407,7 +1456,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0DpO52pQHJrnmfU/MgUMQe9m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S7X6RKJY0xpJ8geYOoTyGNRJPrcckqhyw7tOMa1q2t8N8uY4TY7ucgs34VwW86UZ7Z/7Zai/rHuUSQvJHDwANq/vbzrUDtY7Tb/aILqHtqVP7/ryDqojoyKAKRJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqy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7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

Просмотреть файл

@ -547,18 +547,19 @@
"agent1publicVMNamePrefix": "[concat(variables('orchestratorName'), '-agent1public-', variables('nameSuffix'))]",
"agent1publicVMSize": "[parameters('agent1publicVMSize')]",
"agent1publicVnetSubnetID": "[concat(variables('vnetID'),'/subnets/',variables('agent1publicSubnetName'))]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentMaxVMs": 100,
"agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"apiVersionDefault": "2016-03-30",
"apiVersionStorage": "2015-06-15",
"apiVersionStorageManagedDisks": "2016-04-30-preview",
"clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]",
"configureClusterScriptFile": "configure-swarm-cluster.sh",
"dataStorageAccountPrefixSeed": 97,
"masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]",
"masterCount": 3,
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]",
"masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]",
"masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]",
@ -567,8 +568,41 @@
"masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]",
"masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]",
"masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]",
"masterLbInboundNatRules": [
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]"
},
{
"id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]"
}
]
],
"masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]",
"masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]",
"masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterStorageAccountName": "[concat(variables('storageAccountBaseName'), '0')]",
"masterSubnet": "[parameters('masterSubnet')]",
"masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]",
@ -946,7 +980,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agent128VMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXF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y3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDB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ginuVcEq8ZfOdW+q1jkKqkmOv4c56GzptQkJRgSWQY8zuWchyH/v7zqRsYuIHBrLBlVc6qx2wGbyEspAhTHuHUHKebo75B4DcNfIsN4ChCUaI3wPP731mi3S+SiBWNSEm+IOYOoTyGNRJPrcfEqhyw6dOMa1p2sMN8uYkTY7ucgi34VwW86UZ7b/7ZaS/rHuUSAvxHDwANq4fbzo0DtY7Ta/aILqEdqFOH/tBRVUR0ZFAFokiJLDkFXZNywXWwkb2H76fm3t8tZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -1197,7 +1231,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agent1publicVMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0DpO52pQHJrnmfU/MgUMQe9mIQzbcQ6um0GQobO88pva3FtLeEogXFVmn0BZMpt8qBMKpKm1g+8p8rYnFFvkwRm+QH9j/SgfH8C9jXqd3OduYZRgsuIFWkKC6XyXqRT27wV8+yrMrHh2DYL5UqohI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RJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh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+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -1345,6 +1379,24 @@
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"dependsOn": [
"[variables('masterLbID')]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]",
"properties": {
"backendPort": 2222,
"enableFloatingIP": false,
"frontendIPConfiguration": {
"id": "[variables('masterLbIPConfigID')]"
},
"frontendPort": "22",
"protocol": "tcp"
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"copy": {
@ -1354,7 +1406,8 @@
"dependsOn": [
"[variables('vnetID')]",
"[variables('masterLbID')]",
"[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
"[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]",
"[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]",
@ -1368,11 +1421,7 @@
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
}
],
"loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]",
"privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]",
"privateIPAllocationMethod": "Static",
"subnet": {
@ -1414,7 +1463,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSL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tiqmOP+dp5LyJBKZIJMoo4Xcs5SSJgt3nUzcwdAPDSWHLqpxUj9kE3kJUSBGlPCapOU43R32DwG8a+BYbwFHkxQu9AZ7f/84S7X6RKJY0xpJ8geYOoTyGNRJPrcckqhyw7tOMa1q2t8N8uY4TY7ucgs34VwW86UZ7Z/7Zai/rHuUSQvJHDwANq/vbzrUDtY7Tb/aILqHtqVP7/ryDqojoyKAKRJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhK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O8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

Просмотреть файл

@ -547,18 +547,19 @@
"agent1publicVMNamePrefix": "[concat(variables('orchestratorName'), '-agent1public-', variables('nameSuffix'))]",
"agent1publicVMSize": "[parameters('agent1publicVMSize')]",
"agent1publicVnetSubnetID": "[concat(variables('vnetID'),'/subnets/',variables('agent1publicSubnetName'))]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentMaxVMs": 100,
"agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"apiVersionDefault": "2016-03-30",
"apiVersionStorage": "2015-06-15",
"apiVersionStorageManagedDisks": "2016-04-30-preview",
"clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]",
"configureClusterScriptFile": "configure-swarm-cluster.sh",
"dataStorageAccountPrefixSeed": 97,
"masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]",
"masterCount": 3,
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]",
"masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]",
"masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]",
@ -567,8 +568,41 @@
"masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]",
"masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]",
"masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]",
"masterLbInboundNatRules": [
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]"
},
{
"id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]"
}
]
],
"masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]",
"masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]",
"masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterStorageAccountName": "[concat(variables('storageAccountBaseName'), '0')]",
"masterSubnet": "[parameters('masterSubnet')]",
"masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]",
@ -916,7 +950,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agent128VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3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2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/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rsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -1147,7 +1181,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agent1publicVMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0DpO52pQHJrnmfU/MgUMQe9mIQzbcQ6um0GQobO88pva3FtLeEogXFVmn0BZ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7tOMa1q2t8N8uY4TY7ucgs34VwW86UZ7Z/7Zai/rHuUSQvJHDwANq/vbzrUDtY7Tb/aILqHtqVP7/ryDqojoyKAKRJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg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jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -1305,6 +1339,24 @@
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"dependsOn": [
"[variables('masterLbID')]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]",
"properties": {
"backendPort": 2222,
"enableFloatingIP": false,
"frontendIPConfiguration": {
"id": "[variables('masterLbIPConfigID')]"
},
"frontendPort": "22",
"protocol": "tcp"
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"copy": {
@ -1314,7 +1366,8 @@
"dependsOn": [
"[variables('vnetID')]",
"[variables('masterLbID')]",
"[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
"[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]",
"[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]",
@ -1328,11 +1381,7 @@
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
}
],
"loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]",
"privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]",
"privateIPAllocationMethod": "Static",
"subnet": {
@ -1374,7 +1423,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71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UYehOaaFUXGDf7oFeFB0GjT3Q+/PrdrumXW3XfhWuZsJD/3BXtCY4I0WqnCsmlW5FoYMr5lnOJfrN4Du10m8dg1QtiqmOP+dp5LyJBKZIJMoo4Xcs5SSJgt3nUzcwdAPDSWHLqpxUj9kE3kJUSBGlPCapOU43R32DwG8a+BYbwFHkxQu9AZ7f/84S7X6RKJY0xpJ8geYOoTyGNRJPrcckqhyw7tOMa1q2t8N8uY4TY7ucgs34VwW86UZ7Z/7Zai/rHuUSQvJHDwANq/vbzrUDtY7Tb/aILqHtqVP7/ryDqojoyKAKRJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCGCx4wWK9zxRlBXGKezxpu08WvuZC7CqI9JzOXBB8a54X1PzIlJAc9GJizrQR6+iuGQgYcZ5XfluLG2sxJxIYV6XZF4Dn3CYPyqTCaWr9IPdUGZsLirZJYJYf0P9IBOX7E7BvUL9b6sw1DGOyClmRppAolfdCndqWrYhnX5WJLcd2WShXQiUkVun3WGhv09C0cZiCLXOaAmfyEAV0YRO4fckBb4jpIufX7uagOUSYlfR+ETtbm8IAG9D/dya+BRERZrW9YUCPY0Gk/N85Wu/JbOjj0NW7WQ3wGUJUZjbX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U28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

Просмотреть файл

@ -561,10 +561,10 @@
"agent1publicVnetSubnetID": "[concat(variables('vnetID'),'/subnets/',variables('agent1publicSubnetName'))]",
"agent1publicWindowsRDPEndRangeStop": "[add(variables('agent1publicWindowsRDPNatRangeStart'), add(variables('agent1publicCount'),variables('agent1publicCount')))]",
"agent1publicWindowsRDPNatRangeStart": 3389,
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentMaxVMs": 100,
"agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentWindowsBackendPort": 3389,
"agentWindowsOffer": "WindowsServer",
"agentWindowsPublisher": "MicrosoftWindowsServer",
@ -574,10 +574,11 @@
"apiVersionStorage": "2015-06-15",
"apiVersionStorageManagedDisks": "2016-04-30-preview",
"clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]",
"configureClusterScriptFile": "configure-swarm-cluster.sh",
"dataStorageAccountPrefixSeed": 97,
"masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]",
"masterCount": 3,
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]",
"masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]",
"masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]",
@ -586,8 +587,41 @@
"masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]",
"masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]",
"masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]",
"masterLbInboundNatRules": [
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]"
},
{
"id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]"
}
]
],
"masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]",
"masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]",
"masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterStorageAccountName": "[concat(variables('storageAccountBaseName'), '0')]",
"masterSubnet": "[parameters('masterSubnet')]",
"masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]",
@ -1412,6 +1446,24 @@
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"dependsOn": [
"[variables('masterLbID')]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]",
"properties": {
"backendPort": 2222,
"enableFloatingIP": false,
"frontendIPConfiguration": {
"id": "[variables('masterLbIPConfigID')]"
},
"frontendPort": "22",
"protocol": "tcp"
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"copy": {
@ -1421,7 +1473,8 @@
"dependsOn": [
"[variables('vnetID')]",
"[variables('masterLbID')]",
"[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
"[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]",
"[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]",
@ -1435,11 +1488,7 @@
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
}
],
"loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]",
"privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]",
"privateIPAllocationMethod": "Static",
"subnet": {
@ -1481,7 +1530,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9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xLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLx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
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

Просмотреть файл

@ -561,10 +561,10 @@
"agent1publicVnetSubnetID": "[concat(variables('vnetID'),'/subnets/',variables('agent1publicSubnetName'))]",
"agent1publicWindowsRDPEndRangeStop": "[add(variables('agent1publicWindowsRDPNatRangeStart'), add(variables('agent1publicCount'),variables('agent1publicCount')))]",
"agent1publicWindowsRDPNatRangeStart": 3389,
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentMaxVMs": 100,
"agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentWindowsBackendPort": 3389,
"agentWindowsOffer": "WindowsServer",
"agentWindowsPublisher": "MicrosoftWindowsServer",
@ -574,10 +574,11 @@
"apiVersionStorage": "2015-06-15",
"apiVersionStorageManagedDisks": "2016-04-30-preview",
"clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]",
"configureClusterScriptFile": "configure-swarm-cluster.sh",
"dataStorageAccountPrefixSeed": 97,
"masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]",
"masterCount": 3,
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]",
"masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]",
"masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]",
@ -586,8 +587,41 @@
"masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]",
"masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]",
"masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]",
"masterLbInboundNatRules": [
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]"
},
{
"id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]"
}
]
],
"masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]",
"masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]",
"masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterStorageAccountName": "[concat(variables('storageAccountBaseName'), '0')]",
"masterSubnet": "[parameters('masterSubnet')]",
"masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]",
@ -1332,6 +1366,24 @@
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"dependsOn": [
"[variables('masterLbID')]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]",
"properties": {
"backendPort": 2222,
"enableFloatingIP": false,
"frontendIPConfiguration": {
"id": "[variables('masterLbIPConfigID')]"
},
"frontendPort": "22",
"protocol": "tcp"
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"copy": {
@ -1341,7 +1393,8 @@
"dependsOn": [
"[variables('vnetID')]",
"[variables('masterLbID')]",
"[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
"[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]",
"[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]",
@ -1355,11 +1408,7 @@
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
}
],
"loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]",
"privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]",
"privateIPAllocationMethod": "Static",
"subnet": {
@ -1401,7 +1450,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0DpO52pQHJrnmfU/MgUMQe9mIQzbcQ6um0GQobO88pva3FtLeEogXFVmn0BZMpt8qBMKpKm1g+8p8rYnFFvkwRm+QH9j/SgfH8C9jXqd3OduYZRgsuIFWkKC6XyXqRT27w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qHtqVP7/ryDqojoyKAKRJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMM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4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

47
pkg/acsengine/testdata/disks-managed/swarmmode-vmas.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,47 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 3,
"dnsPrefix": "masterdns1",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "agent128",
"count": 3,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet",
"storageProfile": "ManagedDisks",
"diskSizesGB": [128, 128, 128, 128]
},
{
"name": "agent1public",
"count": 3,
"vmSize": "Standard_D2_v2",
"dnsPrefix": "agent1public",
"availabilityProfile": "AvailabilitySet",
"storageProfile": "ManagedDisks",
"diskSizesGB": [1],
"ports": [
80,
443,
8080
]
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": "ssh-rsa PUBLICKEY azureuser@linuxvm"
}
]
}
}
}
}

1534
pkg/acsengine/testdata/disks-managed/swarmmode-vmas_expected.json поставляемый Normal file

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -0,0 +1,41 @@
{
"agent128Count": {
"value": 3
},
"agent128Subnet": {
"value": "10.0.0.0/16"
},
"agent128VMSize": {
"value": "Standard_D2_v2"
},
"agent1publicCount": {
"value": 3
},
"agent1publicEndpointDNSNamePrefix": {
"value": "agent1public"
},
"agent1publicSubnet": {
"value": "10.1.0.0/16"
},
"agent1publicVMSize": {
"value": "Standard_D2_v2"
},
"firstConsecutiveStaticIP": {
"value": "172.16.0.5"
},
"linuxAdminUsername": {
"value": "azureuser"
},
"masterEndpointDNSNamePrefix": {
"value": "masterdns1"
},
"masterSubnet": {
"value": "172.16.0.0/24"
},
"masterVMSize": {
"value": "Standard_D2_v2"
},
"sshRSAPublicKey": {
"value": "ssh-rsa PUBLICKEY azureuser@linuxvm"
}
}

47
pkg/acsengine/testdata/disks-managed/swarmmode-vmss.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,47 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 3,
"dnsPrefix": "masterdns1",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "agent128",
"count": 3,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "VirtualMachineScaleSets",
"storageProfile": "ManagedDisks",
"diskSizesGB": [128, 128, 128, 128]
},
{
"name": "agent1public",
"count": 3,
"vmSize": "Standard_D2_v2",
"dnsPrefix": "agent1public",
"availabilityProfile": "VirtualMachineScaleSets",
"storageProfile": "ManagedDisks",
"diskSizesGB": [1],
"ports": [
80,
443,
8080
]
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": "ssh-rsa PUBLICKEY azureuser@linuxvm"
}
]
}
}
}
}

1494
pkg/acsengine/testdata/disks-managed/swarmmode-vmss_expected.json поставляемый Normal file

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -0,0 +1,41 @@
{
"agent128Count": {
"value": 3
},
"agent128Subnet": {
"value": "10.0.0.0/16"
},
"agent128VMSize": {
"value": "Standard_D2_v2"
},
"agent1publicCount": {
"value": 3
},
"agent1publicEndpointDNSNamePrefix": {
"value": "agent1public"
},
"agent1publicSubnet": {
"value": "10.1.0.0/16"
},
"agent1publicVMSize": {
"value": "Standard_D2_v2"
},
"firstConsecutiveStaticIP": {
"value": "172.16.0.5"
},
"linuxAdminUsername": {
"value": "azureuser"
},
"masterEndpointDNSNamePrefix": {
"value": "masterdns1"
},
"masterSubnet": {
"value": "172.16.0.0/24"
},
"masterVMSize": {
"value": "Standard_D2_v2"
},
"sshRSAPublicKey": {
"value": "ssh-rsa PUBLICKEY azureuser@linuxvm"
}
}

Просмотреть файл

@ -555,17 +555,18 @@
"agent1publicVMNamePrefix": "[concat(variables('orchestratorName'), '-agent1public-', variables('nameSuffix'))]",
"agent1publicVMSize": "[parameters('agent1publicVMSize')]",
"agent1publicVnetSubnetID": "[concat(variables('vnetID'),'/subnets/',variables('agent1publicSubnetName'))]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentMaxVMs": 100,
"agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"apiVersionDefault": "2016-03-30",
"apiVersionStorage": "2015-06-15",
"clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]",
"configureClusterScriptFile": "configure-swarm-cluster.sh",
"dataStorageAccountPrefixSeed": 97,
"masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]",
"masterCount": 3,
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]",
"masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]",
"masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]",
@ -574,8 +575,41 @@
"masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]",
"masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]",
"masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]",
"masterLbInboundNatRules": [
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]"
},
{
"id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]"
}
]
],
"masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]",
"masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]",
"masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterStorageAccountName": "[concat(variables('storageAccountBaseName'), '0')]",
"masterSubnet": "[parameters('masterSubnet')]",
"masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]",
@ -983,7 +1017,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agent128VMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9US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kYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCGCx4wWK9zxRlBXGKezxpu08WvuZC7CqI9JzOXBB8a54X1PzIlJAc9GJizrQR6+iuGQgYcZ5XfluLG2sxJxIYV6XZF4Dn3CYPyqTCaWr9IPdUGZsLirZJYJYf0P9IBOX7E7BvUL9b6sw1DGOyClmRppAolfdCndqWrYhnX5WJLcd2WShXQiU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AFokiJLDkFXZNywXWwkb2H76fm3t8tZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -1288,7 +1322,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agent1publicVMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABo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mC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6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l2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -1448,6 +1482,24 @@
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"dependsOn": [
"[variables('masterLbID')]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]",
"properties": {
"backendPort": 2222,
"enableFloatingIP": false,
"frontendIPConfiguration": {
"id": "[variables('masterLbIPConfigID')]"
},
"frontendPort": "22",
"protocol": "tcp"
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"copy": {
@ -1457,7 +1509,8 @@
"dependsOn": [
"[variables('vnetID')]",
"[variables('masterLbID')]",
"[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
"[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]",
"[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]",
@ -1471,11 +1524,7 @@
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
}
],
"loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]",
"privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]",
"privateIPAllocationMethod": "Static",
"subnet": {
@ -1517,7 +1566,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0DpO52pQHJrnmfU/MgUMQe9mIQzbcQ6um0GQobO88pva3FtLeEogXFVmn0BZMpt8qBMKpKm1g+8p8rYnFFvkwRm+QH9j/SgfH8C9jXqd3OduYZRgsuIFWkKC6XyXqRT27wV8+yrMrHh2DYL5UqohIVV+j0W2ps0NG3sp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4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxo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/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

47
pkg/acsengine/testdata/disks-storageaccount/swarmmode.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,47 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 3,
"dnsPrefix": "masterdns1",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "agent128",
"count": 3,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet",
"storageProfile": "StorageAccount",
"diskSizesGB": [128, 128, 128, 128]
},
{
"name": "agent1public",
"count": 3,
"vmSize": "Standard_D2_v2",
"dnsPrefix": "agent1public",
"availabilityProfile": "AvailabilitySet",
"storageProfile": "StorageAccount",
"diskSizesGB": [1],
"ports": [
80,
443,
8080
]
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": "ssh-rsa PUBLICKEY azureuser@linuxvm"
}
]
}
}
}
}

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -0,0 +1,41 @@
{
"agent128Count": {
"value": 3
},
"agent128Subnet": {
"value": "10.0.0.0/16"
},
"agent128VMSize": {
"value": "Standard_D2_v2"
},
"agent1publicCount": {
"value": 3
},
"agent1publicEndpointDNSNamePrefix": {
"value": "agent1public"
},
"agent1publicSubnet": {
"value": "10.1.0.0/16"
},
"agent1publicVMSize": {
"value": "Standard_D2_v2"
},
"firstConsecutiveStaticIP": {
"value": "172.16.0.5"
},
"linuxAdminUsername": {
"value": "azureuser"
},
"masterEndpointDNSNamePrefix": {
"value": "masterdns1"
},
"masterSubnet": {
"value": "172.16.0.0/24"
},
"masterVMSize": {
"value": "Standard_D2_v2"
},
"sshRSAPublicKey": {
"value": "ssh-rsa PUBLICKEY azureuser@linuxvm"
}
}

Просмотреть файл

@ -797,10 +797,10 @@
},
"variables": {
"adminUsername": "[parameters('linuxAdminUsername')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentMaxVMs": 100,
"agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentWindowsBackendPort": 3389,
"agentWindowsOffer": "WindowsServer",
"agentWindowsPublisher": "MicrosoftWindowsServer",
@ -843,6 +843,7 @@
"apiVersionDefault": "2016-03-30",
"apiVersionStorage": "2015-06-15",
"clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]",
"configureClusterScriptFile": "configure-swarm-cluster.sh",
"dataStorageAccountPrefixSeed": 97,
"linuxProfileSecrets": [
{
@ -868,7 +869,7 @@
],
"masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]",
"masterCount": 1,
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]",
"masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]",
"masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]",
@ -877,8 +878,41 @@
"masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]",
"masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]",
"masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]",
"masterLbInboundNatRules": [
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]"
},
{
"id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]"
}
]
],
"masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]",
"masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]",
"masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterStorageAccountName": "[concat(variables('storageAccountBaseName'), '0')]",
"masterSubnet": "[parameters('masterSubnet')]",
"masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]",
@ -1413,7 +1447,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpool1VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQm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AAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCGCx4wWK9zxRlBXGKezxpu08WvuZC7CqI9JzOXBB8a54X1PzIlJAc9GJizrQR6+iuGQgYcZ5XfluLG2sxJxIYV6XZF4Dn3CYPyqTCaWr9IPdUGZsLirZJYJYf0P9IBOX7E7BvUL9b6sw1DGOyClmRppAolfdCndqWrYhnX5WJLcd2WShXQiUkVun3WGhv09C0cZiCLXOaAmfyEAV0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ZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -1516,7 +1550,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpool2VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5Fr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xLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg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TNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -1792,6 +1826,24 @@
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"dependsOn": [
"[variables('masterLbID')]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]",
"properties": {
"backendPort": 2222,
"enableFloatingIP": false,
"frontendIPConfiguration": {
"id": "[variables('masterLbIPConfigID')]"
},
"frontendPort": "22",
"protocol": "tcp"
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"copy": {
@ -1801,7 +1853,8 @@
"dependsOn": [
"[variables('vnetID')]",
"[variables('masterLbID')]",
"[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
"[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]",
"[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]",
@ -1815,11 +1868,7 @@
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
}
],
"loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]",
"privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]",
"privateIPAllocationMethod": "Static",
"subnet": {
@ -1861,7 +1910,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0DpO52pQHJrnmfU/MgUMQe9mIQzbcQ6um0GQobO88pva3FtLeEogXFVmn0BZMpt8qBMKpKm1g+8p8rYnFFvkwRm+QH9j/SgfH8C9jXqd3OduYZRgsuIFWkKC6XyXqRT27wV8+yrMrHh2DYL5UqohIVV+j0W2ps0NG3sp2DDnKbAmdxHAZ3ZBG5fciBrYrqe82t7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VymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0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8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

63
pkg/acsengine/testdata/key-vault-certs/swarmmode.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,63 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 1,
"dnsPrefix": "masterdns1",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "agentpool1",
"count": 3,
"vmSize": "Standard_D2_v2",
"dnsPrefix": "agentdns1",
"ports": [
80,
443,
8080
]
},
{
"name": "agentpool2",
"count": 3,
"vmSize": "Standard_D2_v2"
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": "ssh-rsa PUBLICKEY azureuser@linuxvm"
}
]
},
"secrets":[
{
"sourceVault":{
"id":"vaultId"
},
"vaultCertificates":[
{
"certificateUrl" :"http://url2"
}
]
},
{
"sourceVault":{
"id":"vaultId2"
},
"vaultCertificates":[
{
"certificateUrl" :"http://url1"
}
]
}
]
}
}
}

1575
pkg/acsengine/testdata/key-vault-certs/swarmmode_expected.json поставляемый Normal file

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -0,0 +1,53 @@
{
"agentpool1Count": {
"value": 3
},
"agentpool1EndpointDNSNamePrefix": {
"value": "agentdns1"
},
"agentpool1Subnet": {
"value": "10.0.0.0/16"
},
"agentpool1VMSize": {
"value": "Standard_D2_v2"
},
"agentpool2Count": {
"value": 3
},
"agentpool2Subnet": {
"value": "10.1.0.0/16"
},
"agentpool2VMSize": {
"value": "Standard_D2_v2"
},
"firstConsecutiveStaticIP": {
"value": "172.16.0.5"
},
"linuxAdminUsername": {
"value": "azureuser"
},
"linuxKeyVaultID0": {
"value": "vaultId"
},
"linuxKeyVaultID0CertificateURL0": {
"value": "http://url2"
},
"linuxKeyVaultID1": {
"value": "vaultId2"
},
"linuxKeyVaultID1CertificateURL0": {
"value": "http://url1"
},
"masterEndpointDNSNamePrefix": {
"value": "masterdns1"
},
"masterSubnet": {
"value": "172.16.0.0/24"
},
"masterVMSize": {
"value": "Standard_D2_v2"
},
"sshRSAPublicKey": {
"value": "ssh-rsa PUBLICKEY azureuser@linuxvm"
}
}

Просмотреть файл

@ -2576,10 +2576,10 @@
},
"variables": {
"adminUsername": "[parameters('linuxAdminUsername')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentMaxVMs": 100,
"agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentpri0AccountName": "[concat(variables('storageAccountBaseName'), 'agnt0')]",
"agentpri0Count": "[parameters('agentpri0Count')]",
"agentpri0StorageAccountOffset": "[mul(variables('maxStorageAccountsPerAgent'),0)]",
@ -2698,10 +2698,11 @@
"apiVersionDefault": "2016-03-30",
"apiVersionStorage": "2015-06-15",
"clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]",
"configureClusterScriptFile": "configure-swarm-cluster.sh",
"dataStorageAccountPrefixSeed": 97,
"masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]",
"masterCount": 3,
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]",
"masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]",
"masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]",
@ -2710,8 +2711,41 @@
"masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]",
"masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]",
"masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]",
"masterLbInboundNatRules": [
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]"
},
{
"id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]"
}
]
],
"masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]",
"masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]",
"masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterStorageAccountName": "[concat(variables('storageAccountBaseName'), '0')]",
"masterSubnet": "[parameters('masterSubnet')]",
"masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]",
@ -3080,7 +3114,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpri0VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2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iutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCGCx4wWK9zxRlB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byEspAhTHuHUHKebo75B4DcNfIsN4ChCUaI3wPP731mi3S+SiBWNSEm+IOYOoTyGNRJPrcfEqhyw6dOMa1p2sMN8uYkTY7ucgi34VwW86UZ7b/7ZaS/rHuUSAvxHDwANq4fbzo0DtY7Ta/aILqEdqFOH/tBRVUR0ZFAFokiJLDkFXZNywXWwkb2H76fm3t8tZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3182,7 +3216,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpri1VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0DpO52pQHJrnmfU/MgUMQe9mIQzbcQ6um0GQobO88pva3FtLeEogXFVmn0BZMpt8qBMKpKm1g+8p8rYnFFvkwRm+QH9j/SgfH8C9jXqd3OduYZRgsuIFWkKC6XyXqRT27wV8+yrMrHh2DYL5UqohIVV+j0W2ps0NG3sp2DDnKbAmdxHAZ3ZBG5fciBrYrqe82t7c9AcYsJKer+InY1NYYAN6f87E9+CiJi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oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u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p8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3284,7 +3318,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpri2VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlw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\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCGCx4wWK9zxRlBXGKezxpu08WvuZC7CqI9JzOXBB8a54X1PzIlJAc9GJizrQR6+iuGQgYcZ5XfluLG2sxJxIYV6XZF4Dn3CYPyqTCaWr9IPdUGZsLirZJYJYf0P9IBOX7E7BvUL9b6sw1DGOyClmRppAolfdCndqWrYhnX5WJLcd2WShXQiUkVun3WGhv09C0cZiCLXOaAmfyEAV0YRO4fckBb4jpIufX7u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r6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3386,7 +3420,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpri3VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE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cO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXA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WVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3488,7 +3522,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpri4VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0Dp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a+BYbwFHkxQu9AZ7f/84S7X6RKJY0xpJ8geYOoTyGNRJPrcckqhyw7tOMa1q2t8N8uY4TY7ucgs34VwW86UZ7Z/7Zai/rHuUSQvJHDwANq/vbzrUDtY7Tb/aILqHtqVP7/ryDqojoyKAKRJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqR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yyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3590,7 +3624,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpri5VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+Or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ZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCG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rLBlVc6qx2wGbyEspAhTHuHUHKebo75B4DcNfIsN4ChCUaI3wPP731mi3S+SiBWNSEm+IOYOoTyGNRJPrcfEqhyw6dOMa1p2sMN8uYkTY7ucgi34VwW86UZ7b/7ZaS/rHuUSAvxHDwANq4fbzo0DtY7Ta/aILqEdqFOH/tBRVUR0ZFAFokiJLDkFXZNywXWwkb2H76fm3t8tZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3692,7 +3726,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpri6VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0DpO52pQHJrnmfU/MgUMQe9mIQzbcQ6um0GQobO88pva3FtLeEogXFVmn0BZMpt8qBMKpKm1g+8p8rYnFFvkwRm+QH9j/SgfH8C9jXqd3OduYZRgsuIFWkKC6XyXqRT27wV8+yrMrHh2DYL5UqohIVV+j0W2ps0NG3sp2DDnKbAmdxHAZ3ZBG5fciBrYrqe82t7c9AcYsJKer+InY1NYY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UtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5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8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3794,7 +3828,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpri7VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WA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iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCGCx4wWK9zxRlBXGKezxpu08WvuZC7CqI9JzOXBB8a54X1PzIlJAc9GJizrQR6+iuGQgYcZ5XfluLG2sxJxIYV6XZF4Dn3CYPyqTCaWr9IPdUGZsLirZJYJYf0P9IBOX7E7BvUL9b6sw1DGOyClmRppAolfdCndqWrYhnX5WJLcd2WShXQiUkVun3WGhv09C0cZiCLXOaAmfyEAV0YRO4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FRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3896,7 +3930,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpri8VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHH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stvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6X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RfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3998,7 +4032,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpri9VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8K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PCapOU43R32DwG8a+BYbwFHkxQu9AZ7f/84S7X6RKJY0xpJ8geYOoTyGNRJPrcckqhyw7tOMa1q2t8N8uY4TY7ucgs34VwW86UZ7Z/7Zai/rHuUSQvJHDwANq/vbzrUDtY7Tb/aILqHtqVP7/ryDqojoyKAKRJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAA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4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -4100,7 +4134,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpri10VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9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8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7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/v7zqRsYuIHBrLBlVc6qx2wGbyEspAhTHuHUHKebo75B4DcNfIsN4ChCUaI3wPP731mi3S+SiBWNSEm+IOYOoTyGNRJPrcfEqhyw6dOMa1p2sMN8uYkTY7ucgi34VwW86UZ7b/7ZaS/rHuUSAvxHDwANq4fbzo0DtY7Ta/aILqEdqFOH/tBRVUR0ZFAFokiJLDkFXZNywXWwkb2H76fm3t8tZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -4338,7 +4372,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpublic1VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0DpO52pQHJrnmfU/MgUMQe9mIQzbcQ6um0GQobO88pva3FtLeEogXFVmn0BZMpt8qBMKpKm1g+8p8rYnFFvkwRm+QH9j/SgfH8C9jXqd3OduYZRgsuIFWkKC6XyXqRT27wV8+yrMrHh2DYL5UqohIVV+j0W2ps0NG3sp2DDnKbAmdxHAZ3ZBG5fciBrYrqe82t7c9A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crIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s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7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -4567,6 +4601,24 @@
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"dependsOn": [
"[variables('masterLbID')]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]",
"properties": {
"backendPort": 2222,
"enableFloatingIP": false,
"frontendIPConfiguration": {
"id": "[variables('masterLbIPConfigID')]"
},
"frontendPort": "22",
"protocol": "tcp"
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"copy": {
@ -4576,7 +4628,8 @@
"dependsOn": [
"[variables('vnetID')]",
"[variables('masterLbID')]",
"[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
"[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]",
"[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]",
@ -4590,11 +4643,7 @@
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
}
],
"loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]",
"privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]",
"privateIPAllocationMethod": "Static",
"subnet": {
@ -4636,7 +4685,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYL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Uj9kE3kJUSBGlPCapOU43R32DwG8a+BYbwFHkxQu9AZ7f/84S7X6RKJY0xpJ8geYOoTyGNRJPrcckqhyw7tOMa1q2t8N8uY4TY7ucgs34VwW86UZ7Z/7Zai/rHuUSQvJHDwANq/vbzrUDtY7Tb/aILqHtqVP7/ryDqojoyKAKRJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrp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ZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

91
pkg/acsengine/testdata/largeclusters/swarmmode.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,91 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 3,
"dnsPrefix": "masterdns1",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "agentpri0",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentpri1",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentpri2",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentpri3",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentpri4",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentpri5",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentpri6",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentpri7",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentpri8",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentpri9",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentpri10",
"count": 100,
"vmSize": "Standard_D2_v2"
},
{
"name": "agentpublic1",
"count": 100,
"vmSize": "Standard_D2_v2",
"dnsPrefix": "agentpublic1",
"ports": [
80,
443,
8080
]
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8fhkh3jpHUQsrUIezFB5k4Rq9giJM8G1Cr0u2IRMiqG++nat5hbOr3gODpTA0h11q9bzb6nJtK7NtDzIHx+w3YNIVpcTGLiUEsfUbY53IHg7Nl/p3/gkST3g0R6BSL7Hg45SfyvpH7kwY30MoVHG/6P3go4SKlYoHXlgaaNr3fMwUTIeE9ofvyS3fcr6xxlsoB6luKuEs50h0NGsE4QEnbfSY4Yd/C1ucc3mEw+QFXBIsENHfHfZYrLNHm2L8MXYVmAH8k//5sFs4Migln9GiUgEQUT6uOjowsZyXBbXwfT11og+syPkAq4eqjiC76r0w6faVihdBYVoc/UcyupgH azureuser@linuxvm"
}
]
}
}
}
}

4756
pkg/acsengine/testdata/largeclusters/swarmmode_expected.json поставляемый Normal file

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -0,0 +1,131 @@
{
"agentpri0Count": {
"value": 100
},
"agentpri0Subnet": {
"value": "10.0.0.0/16"
},
"agentpri0VMSize": {
"value": "Standard_D2_v2"
},
"agentpri10Count": {
"value": 100
},
"agentpri10Subnet": {
"value": "10.10.0.0/16"
},
"agentpri10VMSize": {
"value": "Standard_D2_v2"
},
"agentpri1Count": {
"value": 100
},
"agentpri1Subnet": {
"value": "10.1.0.0/16"
},
"agentpri1VMSize": {
"value": "Standard_D2_v2"
},
"agentpri2Count": {
"value": 100
},
"agentpri2Subnet": {
"value": "10.2.0.0/16"
},
"agentpri2VMSize": {
"value": "Standard_D2_v2"
},
"agentpri3Count": {
"value": 100
},
"agentpri3Subnet": {
"value": "10.3.0.0/16"
},
"agentpri3VMSize": {
"value": "Standard_D2_v2"
},
"agentpri4Count": {
"value": 100
},
"agentpri4Subnet": {
"value": "10.4.0.0/16"
},
"agentpri4VMSize": {
"value": "Standard_D2_v2"
},
"agentpri5Count": {
"value": 100
},
"agentpri5Subnet": {
"value": "10.5.0.0/16"
},
"agentpri5VMSize": {
"value": "Standard_D2_v2"
},
"agentpri6Count": {
"value": 100
},
"agentpri6Subnet": {
"value": "10.6.0.0/16"
},
"agentpri6VMSize": {
"value": "Standard_D2_v2"
},
"agentpri7Count": {
"value": 100
},
"agentpri7Subnet": {
"value": "10.7.0.0/16"
},
"agentpri7VMSize": {
"value": "Standard_D2_v2"
},
"agentpri8Count": {
"value": 100
},
"agentpri8Subnet": {
"value": "10.8.0.0/16"
},
"agentpri8VMSize": {
"value": "Standard_D2_v2"
},
"agentpri9Count": {
"value": 100
},
"agentpri9Subnet": {
"value": "10.9.0.0/16"
},
"agentpri9VMSize": {
"value": "Standard_D2_v2"
},
"agentpublic1Count": {
"value": 100
},
"agentpublic1EndpointDNSNamePrefix": {
"value": "agentpublic1"
},
"agentpublic1Subnet": {
"value": "10.11.0.0/16"
},
"agentpublic1VMSize": {
"value": "Standard_D2_v2"
},
"firstConsecutiveStaticIP": {
"value": "172.16.0.5"
},
"linuxAdminUsername": {
"value": "azureuser"
},
"masterEndpointDNSNamePrefix": {
"value": "masterdns1"
},
"masterSubnet": {
"value": "172.16.0.0/24"
},
"masterVMSize": {
"value": "Standard_D2_v2"
},
"sshRSAPublicKey": {
"value": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8fhkh3jpHUQsrUIezFB5k4Rq9giJM8G1Cr0u2IRMiqG++nat5hbOr3gODpTA0h11q9bzb6nJtK7NtDzIHx+w3YNIVpcTGLiUEsfUbY53IHg7Nl/p3/gkST3g0R6BSL7Hg45SfyvpH7kwY30MoVHG/6P3go4SKlYoHXlgaaNr3fMwUTIeE9ofvyS3fcr6xxlsoB6luKuEs50h0NGsE4QEnbfSY4Yd/C1ucc3mEw+QFXBIsENHfHfZYrLNHm2L8MXYVmAH8k//5sFs4Migln9GiUgEQUT6uOjowsZyXBbXwfT11og+syPkAq4eqjiC76r0w6faVihdBYVoc/UcyupgH azureuser@linuxvm"
}
}

97
pkg/acsengine/testdata/largeclusters/swarmmodevmas.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,97 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 3,
"dnsPrefix": "masterdns1",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "agentpri0",
"count": 1,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentpri1",
"count": 1,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentpri2",
"count": 1,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentpri3",
"count": 1,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentpri4",
"count": 1,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentpri5",
"count": 1,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentpri6",
"count": 1,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentpri7",
"count": 1,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentpri8",
"count": 1,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentpri9",
"count": 1,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentpri10",
"count": 1,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
},
{
"name": "agentpri11",
"count": 1,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8fhkh3jpHUQsrUIezFB5k4Rq9giJM8G1Cr0u2IRMiqG++nat5hbOr3gODpTA0h11q9bzb6nJtK7NtDzIHx+w3YNIVpcTGLiUEsfUbY53IHg7Nl/p3/gkST3g0R6BSL7Hg45SfyvpH7kwY30MoVHG/6P3go4SKlYoHXlgaaNr3fMwUTIeE9ofvyS3fcr6xxlsoB6luKuEs50h0NGsE4QEnbfSY4Yd/C1ucc3mEw+QFXBIsENHfHfZYrLNHm2L8MXYVmAH8k//5sFs4Migln9GiUgEQUT6uOjowsZyXBbXwfT11og+syPkAq4eqjiC76r0w6faVihdBYVoc/UcyupgH azureuser@linuxvm"
}
]
}
}
}
}

4759
pkg/acsengine/testdata/largeclusters/swarmmodevmas_expected.json поставляемый Normal file

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -0,0 +1,128 @@
{
"agentpri0Count": {
"value": 1
},
"agentpri0Subnet": {
"value": "10.0.0.0/16"
},
"agentpri0VMSize": {
"value": "Standard_D2_v2"
},
"agentpri10Count": {
"value": 1
},
"agentpri10Subnet": {
"value": "10.10.0.0/16"
},
"agentpri10VMSize": {
"value": "Standard_D2_v2"
},
"agentpri11Count": {
"value": 1
},
"agentpri11Subnet": {
"value": "10.11.0.0/16"
},
"agentpri11VMSize": {
"value": "Standard_D2_v2"
},
"agentpri1Count": {
"value": 1
},
"agentpri1Subnet": {
"value": "10.1.0.0/16"
},
"agentpri1VMSize": {
"value": "Standard_D2_v2"
},
"agentpri2Count": {
"value": 1
},
"agentpri2Subnet": {
"value": "10.2.0.0/16"
},
"agentpri2VMSize": {
"value": "Standard_D2_v2"
},
"agentpri3Count": {
"value": 1
},
"agentpri3Subnet": {
"value": "10.3.0.0/16"
},
"agentpri3VMSize": {
"value": "Standard_D2_v2"
},
"agentpri4Count": {
"value": 1
},
"agentpri4Subnet": {
"value": "10.4.0.0/16"
},
"agentpri4VMSize": {
"value": "Standard_D2_v2"
},
"agentpri5Count": {
"value": 1
},
"agentpri5Subnet": {
"value": "10.5.0.0/16"
},
"agentpri5VMSize": {
"value": "Standard_D2_v2"
},
"agentpri6Count": {
"value": 1
},
"agentpri6Subnet": {
"value": "10.6.0.0/16"
},
"agentpri6VMSize": {
"value": "Standard_D2_v2"
},
"agentpri7Count": {
"value": 1
},
"agentpri7Subnet": {
"value": "10.7.0.0/16"
},
"agentpri7VMSize": {
"value": "Standard_D2_v2"
},
"agentpri8Count": {
"value": 1
},
"agentpri8Subnet": {
"value": "10.8.0.0/16"
},
"agentpri8VMSize": {
"value": "Standard_D2_v2"
},
"agentpri9Count": {
"value": 1
},
"agentpri9Subnet": {
"value": "10.9.0.0/16"
},
"agentpri9VMSize": {
"value": "Standard_D2_v2"
},
"firstConsecutiveStaticIP": {
"value": "172.16.0.5"
},
"linuxAdminUsername": {
"value": "azureuser"
},
"masterEndpointDNSNamePrefix": {
"value": "masterdns1"
},
"masterSubnet": {
"value": "172.16.0.0/24"
},
"masterVMSize": {
"value": "Standard_D2_v2"
},
"sshRSAPublicKey": {
"value": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8fhkh3jpHUQsrUIezFB5k4Rq9giJM8G1Cr0u2IRMiqG++nat5hbOr3gODpTA0h11q9bzb6nJtK7NtDzIHx+w3YNIVpcTGLiUEsfUbY53IHg7Nl/p3/gkST3g0R6BSL7Hg45SfyvpH7kwY30MoVHG/6P3go4SKlYoHXlgaaNr3fMwUTIeE9ofvyS3fcr6xxlsoB6luKuEs50h0NGsE4QEnbfSY4Yd/C1ucc3mEw+QFXBIsENHfHfZYrLNHm2L8MXYVmAH8k//5sFs4Migln9GiUgEQUT6uOjowsZyXBbXwfT11og+syPkAq4eqjiC76r0w6faVihdBYVoc/UcyupgH azureuser@linuxvm"
}
}

Просмотреть файл

@ -2570,10 +2570,10 @@
},
"variables": {
"adminUsername": "[parameters('linuxAdminUsername')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentMaxVMs": 100,
"agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentpri0AccountName": "[concat(variables('storageAccountBaseName'), 'agnt0')]",
"agentpri0AvailabilitySet": "[concat('agentpri0-availabilitySet-', variables('nameSuffix'))]",
"agentpri0Count": "[parameters('agentpri0Count')]",
@ -2697,10 +2697,11 @@
"apiVersionDefault": "2016-03-30",
"apiVersionStorage": "2015-06-15",
"clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]",
"configureClusterScriptFile": "configure-swarm-cluster.sh",
"dataStorageAccountPrefixSeed": 97,
"masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]",
"masterCount": 3,
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]",
"masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]",
"masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]",
@ -2709,8 +2710,41 @@
"masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]",
"masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]",
"masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]",
"masterLbInboundNatRules": [
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]"
},
{
"id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]"
}
]
],
"masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]",
"masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]",
"masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterStorageAccountName": "[concat(variables('storageAccountBaseName'), '0')]",
"masterSubnet": "[parameters('masterSubnet')]",
"masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]",
@ -3101,7 +3135,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agentpri0VMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQ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APDSWHLqpxUj9kE3kJUSBGlPCapOU43R32DwG8a+BYbwFHkxQu9AZ7f/84S7X6RKJY0xpJ8geYOoTyGNRJPrcckqhyw7tOMa1q2t8N8uY4TY7ucgs34VwW86UZ7Z/7Zai/rHuUSQvJHDwANq/vbzrUDtY7Tb/aILqHtqVP7/ryDqojoyKAKRJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUj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M0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3215,7 +3249,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agentpri1VMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2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pEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugx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qkmOv4c56GzptQkJRgSWQY8zuWchyH/v7zqRsYuIHBrLBlVc6qx2wGbyEspAhTHuHUHKebo75B4DcNfIsN4ChCUaI3wPP731mi3S+SiBWNSEm+IOYOoTyGNRJPrcfEqhyw6dOMa1p2sMN8uYkTY7ucgi34VwW86UZ7b/7ZaS/rHuUSAvxHDwANq4fbzo0DtY7Ta/aILqEdqFOH/tBRVUR0ZFAFokiJLDkFXZNywXWwkb2H76fm3t8tZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3329,7 +3363,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agentpri2VMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0DpO52pQHJrnmfU/MgUMQe9mIQzbcQ6um0GQobO88pva3FtLeEogXFVmn0BZMpt8qBMKpKm1g+8p8rYnFFvkwRm+QH9j/SgfH8C9jXqd3OduYZRgsuIFWkKC6XyXqRT27wV8+yrMrHh2DYL5UqohIVV+j0W2ps0NG3sp2DDn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91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIb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sIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3443,7 +3477,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agentpri3VMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/Kb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YtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCGCx4wWK9zxRlBXGKezxpu08WvuZC7CqI9JzOXBB8a54X1PzIlJAc9GJizrQR6+iuGQgYcZ5XfluLG2sxJxIYV6XZF4Dn3CYPyqTCaWr9IPdUGZsLirZJYJYf0P9IBOX7E7BvUL9b6sw1DGOyClmRppAolfdCndqWrY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dqFOH/tBRVUR0ZFAFokiJLDkFXZNywXWwkb2H76fm3t8tZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3557,7 +3591,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agentpri4VMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyy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qQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl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SsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3671,7 +3705,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agentpri5VMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUO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dp5LyJBKZIJMoo4Xcs5SSJgt3nUzcwdAPDSWHLqpxUj9kE3kJUSBGlPCapOU43R32DwG8a+BYbwFHkxQu9AZ7f/84S7X6RKJY0xpJ8geYOoTyGNRJPrcckqhyw7tOMa1q2t8N8uY4TY7ucgs34VwW86UZ7Z/7Zai/rHuUSQvJHDwANq/vbzrUDtY7Tb/aILqHtqVP7/ryDqojoyKAKRJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA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/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3785,7 +3819,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agentpri6VMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OS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Z/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMh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KTKuWJS6U4UOrginuVcEq8ZfOdW+q1jkKqkmOv4c56GzptQkJRgSWQY8zuWchyH/v7zqRsYuIHBrLBlVc6qx2wGbyEspAhTHuHUHKebo75B4DcNfIsN4ChCUaI3wPP731mi3S+SiBWNSEm+IOYOoTyGNRJPrcfEqhyw6dOMa1p2sMN8uYkTY7ucgi34VwW86UZ7b/7ZaS/rHuUSAvxHDwANq4fbzo0DtY7Ta/aILqEdqFOH/tBRVUR0ZFAFokiJLDkFXZNywXWwkb2H76fm3t8tZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -3899,7 +3933,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agentpri7VMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0DpO52pQHJrnmfU/MgUMQe9mIQzbcQ6um0GQobO88pva3FtLeEogXFVmn0BZMpt8qBMKpKm1g+8p8rYnFFvkwRm+QH9j/SgfH8C9jXqd3OduYZRgsuIFWkKC6XyXqRT27wV8+yr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P7/ryDqojoyKAKRJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5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QbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -4013,7 +4047,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agentpri8VMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt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WDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCGCx4wWK9zxRlBXGKezxpu08WvuZC7CqI9JzOXBB8a54X1PzIlJAc9GJizrQR6+iuGQgYcZ5XfluLG2sxJxIYV6XZF4Dn3CYPyqTCaWr9IPdUGZsLirZJYJYf0P9IBO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/rHuUSAvxHDwANq4fbzo0DtY7Ta/aILqEdqFOH/tBRVUR0ZFAFokiJLDkFXZNywXWwkb2H76fm3t8tZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -4127,7 +4161,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agentpri9VMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXP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9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l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WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -4241,7 +4275,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agentpri10VMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSd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W5FoYMr5lnOJfrN4Du10m8dg1QtiqmOP+dp5LyJBKZIJMoo4Xcs5SSJgt3nUzcwdAPDSWHLqpxUj9kE3kJUSBGlPCapOU43R32DwG8a+BYbwFHkxQu9AZ7f/84S7X6RKJY0xpJ8geYOoTyGNRJPrcckqhyw7tOMa1q2t8N8uY4TY7ucgs34VwW86UZ7Z/7Zai/rHuUSQvJHDwANq/vbzrUDtY7Tb/aILqHtqVP7/ryDqojoyKAKRJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files: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+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -4355,7 +4389,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('agentpri11VMNamePrefix'), copyIndex())]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8Px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kJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2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"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -4574,6 +4608,24 @@
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"dependsOn": [
"[variables('masterLbID')]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]",
"properties": {
"backendPort": 2222,
"enableFloatingIP": false,
"frontendIPConfiguration": {
"id": "[variables('masterLbIPConfigID')]"
},
"frontendPort": "22",
"protocol": "tcp"
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"copy": {
@ -4583,7 +4635,8 @@
"dependsOn": [
"[variables('vnetID')]",
"[variables('masterLbID')]",
"[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
"[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]",
"[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]",
@ -4597,11 +4650,7 @@
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
}
],
"loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]",
"privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]",
"privateIPAllocationMethod": "Static",
"subnet": {
@ -4643,7 +4692,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |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6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28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0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

Просмотреть файл

@ -526,10 +526,10 @@
},
"variables": {
"adminUsername": "[parameters('linuxAdminUsername')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentMaxVMs": 100,
"agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentpool1AccountName": "[concat(variables('storageAccountBaseName'), 'agnt0')]",
"agentpool1Count": "[parameters('agentpool1Count')]",
"agentpool1EndpointDNSNamePrefix": "[tolower(parameters('agentpool1EndpointDNSNamePrefix'))]",
@ -558,10 +558,11 @@
"apiVersionDefault": "2016-03-30",
"apiVersionStorage": "2015-06-15",
"clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]",
"configureClusterScriptFile": "configure-swarm-cluster.sh",
"dataStorageAccountPrefixSeed": 97,
"masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]",
"masterCount": 1,
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]",
"masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]",
"masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]",
@ -570,8 +571,41 @@
"masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]",
"masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]",
"masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]",
"masterLbInboundNatRules": [
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]"
},
{
"id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]"
}
]
],
"masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]",
"masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]",
"masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterStorageAccountName": "[concat(variables('storageAccountBaseName'), '0')]",
"masterSubnet": "[parameters('masterSubnet')]",
"masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]",
@ -1076,7 +1110,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpool1VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24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/opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCGCx4wWK9zxRlBXGKezxpu08WvuZC7CqI9JzOXBB8a54X1PzIlJAc9GJizrQR6+iuGQgYcZ5XfluLG2sxJxIYV6XZF4Dn3CYPyqTCaWr9IPdUGZsLirZJYJYf0P9IBOX7E7BvUL9b6sw1DGOyClmRppAolfdCndqWrYhnX5WJLcd2WShXQiUkVun3WGhv09C0cZiCLXOaAmfyEAV0YRO4fckBb4jpIufX7uagOUS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c7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -1178,7 +1212,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpool2VMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvD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NeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqr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E0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -1337,6 +1371,24 @@
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"dependsOn": [
"[variables('masterLbID')]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]",
"properties": {
"backendPort": 2222,
"enableFloatingIP": false,
"frontendIPConfiguration": {
"id": "[variables('masterLbIPConfigID')]"
},
"frontendPort": "22",
"protocol": "tcp"
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"copy": {
@ -1346,7 +1398,8 @@
"dependsOn": [
"[variables('vnetID')]",
"[variables('masterLbID')]",
"[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
"[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]",
"[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]",
@ -1360,11 +1413,7 @@
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
}
],
"loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]",
"privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]",
"privateIPAllocationMethod": "Static",
"subnet": {
@ -1406,7 +1455,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0DpO52pQHJrnmfU/MgUMQe9mIQzbcQ6um0GQobO88pva3FtLeEogXFVmn0BZMpt8qBMKpKm1g+8p8rYnFFvkwRm+QH9j/SgfH8C9jXqd3OduYZRgsuIFWkKC6XyXqRT27wV8+yrMrHh2DYL5UqohIVV+j0W2ps0NG3sp2DDnKbAmdxHAZ3ZBG5fciBrYrqe82t7c9AcYsJKer+InY1NYYAN6f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d645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwc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1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

51
pkg/acsengine/testdata/simple/swarmmode.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,51 @@
{
"apiVersion": "vlabs",
"plan": {},
"properties": {
"provisioningState": "",
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 3,
"dnsPrefix": "masterdns1",
"vmSize": "Standard_D2_v2",
"firstConsecutiveStaticIP": "172.16.0.5"
},
"agentPoolProfiles": [
{
"name": "agentpool1",
"count": 3,
"vmSize": "Standard_D2_v2",
"dnsPrefix": "agentdns1",
"ports": [
80,
443,
8080
],
"availabilityProfile": "VirtualMachineScaleSets",
"storageProfile": "StorageAccount"
},
{
"name": "agentpool2",
"count": 3,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "VirtualMachineScaleSets",
"storageProfile": "StorageAccount"
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": "ssh-rsa PUBLICKEY azureuser@linuxvm"
}
]
}
},
"windowsProfile": {},
"servicePrincipalProfile": {},
"certificateProfile": {}
}
}

38
pkg/acsengine/testdata/simple/swarmmode_classicmode.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,38 @@
{
"apiVersion": "vlabs",
"plan": {},
"properties": {
"provisioningState": "",
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 3,
"dnsPrefix": "masterdns1",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "agentpool1",
"count": 3,
"vmSize": "Standard_D2_v2",
"dnsPrefix": "agentdns1",
"ports": [
80,
443,
8080
]
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": "ssh-rsa PUBLICKEY azureuser@linuxvm"
}
]
}
}
}
}

1454
pkg/acsengine/testdata/simple/swarmmode_classicmode_expected.json поставляемый Normal file

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -0,0 +1,35 @@
{
"agentpool1Count": {
"value": 3
},
"agentpool1EndpointDNSNamePrefix": {
"value": "agentdns1"
},
"agentpool1Subnet": {
"value": "10.0.0.0/16"
},
"agentpool1VMSize": {
"value": "Standard_D2_v2"
},
"firstConsecutiveStaticIP": {
"value": "172.16.0.5"
},
"linuxAdminUsername": {
"value": "azureuser"
},
"masterCount": {
"value": 3
},
"masterEndpointDNSNamePrefix": {
"value": "masterdns1"
},
"masterSubnet": {
"value": "172.16.0.0/24"
},
"masterVMSize": {
"value": "Standard_D2_v2"
},
"sshRSAPublicKey": {
"value": "ssh-rsa PUBLICKEY azureuser@linuxvm"
}
}

1526
pkg/acsengine/testdata/simple/swarmmode_expected.json поставляемый Normal file

Разница между файлами не показана из-за своего большого размера Загрузить разницу

41
pkg/acsengine/testdata/simple/swarmmode_expected_params.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,41 @@
{
"agentpool1Count": {
"value": 3
},
"agentpool1EndpointDNSNamePrefix": {
"value": "agentdns1"
},
"agentpool1Subnet": {
"value": "10.0.0.0/16"
},
"agentpool1VMSize": {
"value": "Standard_D2_v2"
},
"agentpool2Count": {
"value": 3
},
"agentpool2Subnet": {
"value": "10.1.0.0/16"
},
"agentpool2VMSize": {
"value": "Standard_D2_v2"
},
"firstConsecutiveStaticIP": {
"value": "172.16.0.5"
},
"linuxAdminUsername": {
"value": "azureuser"
},
"masterEndpointDNSNamePrefix": {
"value": "masterdns1"
},
"masterSubnet": {
"value": "172.16.0.0/24"
},
"masterVMSize": {
"value": "Standard_D2_v2"
},
"sshRSAPublicKey": {
"value": "ssh-rsa PUBLICKEY azureuser@linuxvm"
}
}

45
pkg/acsengine/testdata/vnet/swarmmodevnet.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,45 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "DockerCE"
},
"masterProfile": {
"count": 3,
"dnsPrefix": "masterdns1",
"vmSize": "Standard_D2_v2",
"vnetSubnetId": "/subscriptions/SUBSCRIPTION/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleCustomVNET/subnets/ExampleMasterSubnet",
"firstConsecutiveStaticIP": "10.100.0.5"
},
"agentPoolProfiles": [
{
"name": "agentprivate",
"count": 3,
"vmSize": "Standard_D2_v2",
"vnetSubnetId": "/subscriptions/SUBSCRIPTION/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleCustomVNET/subnets/ExampleAgentSubnet"
},
{
"name": "agentpublic",
"count": 3,
"vmSize": "Standard_D2_v2",
"dnsPrefix": "agentpublic",
"vnetSubnetId": "/subscriptions/SUBSCRIPTION/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleCustomVNET/subnets/ExampleAgentSubnet",
"ports": [
80,
443,
8080
]
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": "ssh-rsa PUBLICKEY azureuser@linuxvm"
}
]
}
}
}
}

1477
pkg/acsengine/testdata/vnet/swarmmodevnet_expected.json поставляемый Normal file

Разница между файлами не показана из-за своего большого размера Загрузить разницу

41
pkg/acsengine/testdata/vnet/swarmmodevnet_expected_params.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,41 @@
{
"agentprivateCount": {
"value": 3
},
"agentprivateVMSize": {
"value": "Standard_D2_v2"
},
"agentprivateVnetSubnetID": {
"value": "/subscriptions/SUBSCRIPTION/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleCustomVNET/subnets/ExampleAgentSubnet"
},
"agentpublicCount": {
"value": 3
},
"agentpublicEndpointDNSNamePrefix": {
"value": "agentpublic"
},
"agentpublicVMSize": {
"value": "Standard_D2_v2"
},
"agentpublicVnetSubnetID": {
"value": "/subscriptions/SUBSCRIPTION/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleCustomVNET/subnets/ExampleAgentSubnet"
},
"firstConsecutiveStaticIP": {
"value": "10.100.0.5"
},
"linuxAdminUsername": {
"value": "azureuser"
},
"masterEndpointDNSNamePrefix": {
"value": "masterdns1"
},
"masterVMSize": {
"value": "Standard_D2_v2"
},
"masterVnetSubnetID": {
"value": "/subscriptions/SUBSCRIPTION/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleCustomVNET/subnets/ExampleMasterSubnet"
},
"sshRSAPublicKey": {
"value": "ssh-rsa PUBLICKEY azureuser@linuxvm"
}
}

Просмотреть файл

@ -523,10 +523,10 @@
},
"variables": {
"adminUsername": "[parameters('linuxAdminUsername')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentMaxVMs": 100,
"agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentprivateAccountName": "[concat(variables('storageAccountBaseName'), 'agnt0')]",
"agentprivateCount": "[parameters('agentprivateCount')]",
"agentprivateStorageAccountOffset": "[mul(variables('maxStorageAccountsPerAgent'),0)]",
@ -551,10 +551,11 @@
"apiVersionDefault": "2016-03-30",
"apiVersionStorage": "2015-06-15",
"clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]",
"configureClusterScriptFile": "configure-swarm-cluster.sh",
"dataStorageAccountPrefixSeed": 97,
"masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]",
"masterCount": 3,
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]",
"masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]",
"masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]",
@ -563,8 +564,41 @@
"masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]",
"masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]",
"masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]",
"masterLbInboundNatRules": [
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]"
},
{
"id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]"
}
]
],
"masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]",
"masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]",
"masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterStorageAccountName": "[concat(variables('storageAccountBaseName'), '0')]",
"masterVMNamePrefix": "[concat(variables('orchestratorName'), '-master-', variables('nameSuffix'), '-')]",
"masterVMSize": "[parameters('masterVMSize')]",
@ -928,7 +962,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentprivateVMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc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FHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svY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YLXKTKuWJS6U4UOrginuVcEq8ZfOdW+q1jkKqkmOv4c56GzptQkJRgSWQY8zuWchyH/v7zqRsYuIHBrLBlVc6qx2wGbyEspAhTHuHUHKebo75B4DcNfIsN4ChCUaI3wPP731mi3S+SiBWNSEm+IOYOoTyGNRJPrcfEqhyw6dOMa1p2sMN8uYkTY7ucgi34VwW86UZ7b/7ZaS/rHuUSAvxHDwANq4fbzo0DtY7Ta/aILqEdqFOH/tBRVUR0ZFAFokiJLDkFXZNywXWwkb2H76fm3t8tZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -1165,7 +1199,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('agentpublicVMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0DpO52pQHJrnmfU/MgUMQe9mIQzbcQ6um0GQobO88pva3FtLeEogXFVmn0BZMpt8qBMKpKm1g+8p8rYnFFvkwRm+QH9j/SgfH8C9jXqd3OduYZRgsuIFWkKC6XyXqRT27wV8+yrM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7/ryDqojoyKAKRJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5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btxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -1289,6 +1323,24 @@
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"dependsOn": [
"[variables('masterLbID')]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]",
"properties": {
"backendPort": 2222,
"enableFloatingIP": false,
"frontendIPConfiguration": {
"id": "[variables('masterLbIPConfigID')]"
},
"frontendPort": "22",
"protocol": "tcp"
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"copy": {
@ -1297,7 +1349,8 @@
},
"dependsOn": [
"[variables('masterLbID')]",
"[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
"[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]",
"[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]",
@ -1311,11 +1364,7 @@
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
}
],
"loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]",
"privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]",
"privateIPAllocationMethod": "Static",
"subnet": {
@ -1357,7 +1406,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbS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QtiqmOP+dp5LyJBKZIJMoo4Xcs5SSJgt3nUzcwdAPDSWHLqpxUj9kE3kJUSBGlPCapOU43R32DwG8a+BYbwFHkxQu9AZ7f/84S7X6RKJY0xpJ8geYOoTyGNRJPrcckqhyw7tOMa1q2t8N8uY4TY7ucgs34VwW86UZ7Z/7Zai/rHuUSQvJHDwANq/vbzrUDtY7Tb/aILqHtqVP7/ryDqojoyKAKRJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdh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DO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

Просмотреть файл

@ -538,10 +538,10 @@
},
"variables": {
"adminUsername": "[parameters('linuxAdminUsername')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentMaxVMs": 100,
"agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentWindowsBackendPort": 3389,
"agentWindowsOffer": "WindowsServer",
"agentWindowsPublisher": "MicrosoftWindowsServer",
@ -550,10 +550,11 @@
"apiVersionDefault": "2016-03-30",
"apiVersionStorage": "2015-06-15",
"clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]",
"configureClusterScriptFile": "configure-swarm-cluster.sh",
"dataStorageAccountPrefixSeed": 97,
"masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]",
"masterCount": 1,
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]",
"masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]",
"masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]",
@ -562,8 +563,41 @@
"masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]",
"masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]",
"masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]",
"masterLbInboundNatRules": [
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]"
},
{
"id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]"
}
]
],
"masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]",
"masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]",
"masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterStorageAccountName": "[concat(variables('storageAccountBaseName'), '0')]",
"masterSubnet": "[parameters('masterSubnet')]",
"masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]",
@ -1430,6 +1464,24 @@
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"dependsOn": [
"[variables('masterLbID')]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]",
"properties": {
"backendPort": 2222,
"enableFloatingIP": false,
"frontendIPConfiguration": {
"id": "[variables('masterLbIPConfigID')]"
},
"frontendPort": "22",
"protocol": "tcp"
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"copy": {
@ -1439,7 +1491,8 @@
"dependsOn": [
"[variables('vnetID')]",
"[variables('masterLbID')]",
"[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
"[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]",
"[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]",
@ -1453,11 +1506,7 @@
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
}
],
"loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]",
"privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]",
"privateIPAllocationMethod": "Static",
"subnet": {
@ -1499,7 +1548,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fH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ViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCGCx4wWK9zxRlBXGKezxpu08WvuZC7CqI9JzOXBB8a54X1PzIlJAc9GJizrQR6+iuGQgYcZ5XfluLG2sxJxIYV6XZF4Dn3CYPyqTCaWr9IPdUGZsLirZJYJYf0P9IBOX7E7Bv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AvxHDwANq4fbzo0DtY7Ta/aILqEdqFOH/tBRVUR0ZFAFokiJLDkFXZNywXWwkb2H76fm3t8tZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

Просмотреть файл

@ -743,10 +743,10 @@
},
"variables": {
"adminUsername": "[parameters('linuxAdminUsername')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentMaxVMs": 100,
"agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentWindowsBackendPort": 3389,
"agentWindowsOffer": "WindowsServer",
"agentWindowsPublisher": "MicrosoftWindowsServer",
@ -755,10 +755,11 @@
"apiVersionDefault": "2016-03-30",
"apiVersionStorage": "2015-06-15",
"clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]",
"configureClusterScriptFile": "configure-swarm-cluster.sh",
"dataStorageAccountPrefixSeed": 97,
"masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]",
"masterCount": 1,
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]",
"masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]",
"masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]",
@ -767,8 +768,41 @@
"masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]",
"masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]",
"masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]",
"masterLbInboundNatRules": [
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]"
},
{
"id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]"
}
]
],
"masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]",
"masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]",
"masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterStorageAccountName": "[concat(variables('storageAccountBaseName'), '0')]",
"masterSubnet": "[parameters('masterSubnet')]",
"masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]",
@ -1550,7 +1584,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computerNamePrefix": "[variables('privatelinuxVMNamePrefix')]",
"customData": "[base64(concat('#cloud-config\n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iRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3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M2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {
@ -1716,6 +1750,24 @@
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"dependsOn": [
"[variables('masterLbID')]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]",
"properties": {
"backendPort": 2222,
"enableFloatingIP": false,
"frontendIPConfiguration": {
"id": "[variables('masterLbIPConfigID')]"
},
"frontendPort": "22",
"protocol": "tcp"
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"copy": {
@ -1725,7 +1777,8 @@
"dependsOn": [
"[variables('vnetID')]",
"[variables('masterLbID')]",
"[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
"[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]",
"[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]",
@ -1739,11 +1792,7 @@
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
}
],
"loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]",
"privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]",
"privateIPAllocationMethod": "Static",
"subnet": {
@ -1785,7 +1834,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+16T/ypATnmWcQYfChbrQJQ71TxkshB48p9C4AWqOy5uj469Rw/gAOwnUAsEzSzoJQKVIFDydEmmKXpgvoyMAD8iSdXiod/xAGZcAAXK4LHTanW67dUbSLgHYAeUOBkBncEnCP4KIf4KbfjZyNQCmXnQfpRhBQsiYYrIYMYLluh9pigr0Cnu8KTtPln4mguxq0DpO52pQHJrnmfU/MgUMQe9mIQzbcQ6um0GQobO88pva3FtLeEogXFVmn0BZMpt8qB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q2t8N8uY4TY7ucgs34VwW86UZ7Z/7Zai/rHuUSQvJHDwANq/vbzrUDtY7Tb/aILqHtqVP7/ryDqojoyKAKRJGiLDkFXZNywXWw4c7D91Nz7+4Ws9uECghziBKiSGSTV9XHuVymEcrIHHtw4+eCzwUtMqd645seLssIS3oQ6mBEAaHp/cp7lnrHAJBzoWTP4BnCja+zokmNN/5a9lLLXm7KOlrW2SWLiiRvyrta3t0l29R9pW29craWPC0yrLlXh6VnXoyeY0QDQtI78iBvfM9evdWxChqXc02oMsLIHE1+zVMam5s9COtNXKMqQBgmVMZ8ieIh5LmC22UrJ2rRd1lWAy6hqj07Ss829HpeM7nxLKXstvaxRu82KKYgGcO92vNeZHydrXmuIqKPThpNRShDITcyWushS3X/nRdykewZUSWpKhEXOYSJWV2e1CI3y1NUOjuXV6ouNdibVc7MQbtxLtp/mvpIluZSVi7KzkJxgyZ0u90uEAl3mKb6t9vVILjEnACEFHwZ/XJpdYPIPdywy3J01PFthZdyof9PPruDqPPpEwS77k3huz74CZVkmmKizwkNh8saS9n8hWmIbml8q5fAZzPIze2C63FlLGiutNPVpTSEMfiNPqDb/uJGYLezvwHjiyKv2Xj7Fkx7lfJ5SbJrjNbnJu2o87OV8jl0337fge/9WvNTZUMgCpAlwGfViuwFubkr34yJDCWX+27XnXaZdOWDVJhpwkvICHsAgRmhzAQFn6k7InS7taM3lYtCaTIgFMD4necOYwegkYMOZJQVCvXspT0bgVt81CcqQfhvAAAA///iNHIQSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJ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JJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

Просмотреть файл

@ -538,10 +538,10 @@
},
"variables": {
"adminUsername": "[parameters('linuxAdminUsername')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]",
"agentMaxVMs": 100,
"agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]",
"agentWindowsBackendPort": 3389,
"agentWindowsOffer": "WindowsServer",
"agentWindowsPublisher": "MicrosoftWindowsServer",
@ -550,10 +550,11 @@
"apiVersionDefault": "2016-03-30",
"apiVersionStorage": "2015-06-15",
"clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]",
"configureClusterScriptFile": "configure-swarm-cluster.sh",
"dataStorageAccountPrefixSeed": 97,
"masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]",
"masterCount": 1,
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/configure-swarm-cluster.sh ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]",
"masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]",
"masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]",
"masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]",
@ -562,8 +563,41 @@
"masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]",
"masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]",
"masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]",
"masterLbInboundNatRules": [
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]"
},
{
"id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]"
}
],
[
{
"id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]"
}
]
],
"masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]",
"masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]",
"masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]",
"masterStorageAccountName": "[concat(variables('storageAccountBaseName'), '0')]",
"masterSubnet": "[parameters('masterSubnet')]",
"masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]",
@ -1393,6 +1427,24 @@
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"dependsOn": [
"[variables('masterLbID')]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]",
"properties": {
"backendPort": 2222,
"enableFloatingIP": false,
"frontendIPConfiguration": {
"id": "[variables('masterLbIPConfigID')]"
},
"frontendPort": "22",
"protocol": "tcp"
},
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
},
{
"apiVersion": "[variables('apiVersionDefault')]",
"copy": {
@ -1402,7 +1454,8 @@
"dependsOn": [
"[variables('vnetID')]",
"[variables('masterLbID')]",
"[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
"[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]",
"[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]"
],
"location": "[resourceGroup().location]",
"name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]",
@ -1416,11 +1469,7 @@
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
}
],
"loadBalancerInboundNatRules": [
{
"id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]"
}
],
"loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]",
"privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]",
"privateIPAllocationMethod": "Static",
"subnet": {
@ -1462,7 +1511,7 @@
"osProfile": {
"adminUsername": "[variables('adminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+zl+xR3POdhKKkpJcW2WUjuMojadnyyPZ107juwgiVxJqEuABoGzXp//ewQspUi++XCeZqW8uIpcL7OJ5FrsLHHwXTSmLpkQuPE+igvDe8zBecPClIkJRNgd5R0QGcVpIhQJizmZ0XgiiKGe+lxCFXi6B3Hve+B8no/PPPw1G47PhRd8343qdVqfV9r33w9O/D0afT4fnl8PxYK3Uaf3Q6vreQf3PO4BLIkiGCoXc+OSdn4yvBqPT4fXFVT947Kyc4HI0+HD2z37w2C0lH85G46uT9+9H/eDx5co7+df1aHA9HujXVyvvcji+OrsYX538+OP4dHR2eXU9OusHj69X3ruT8WB8/e5ioOf/YeX9dH5xcj7oTxZcKkYynGjJ9fm7wag/MUgFVgN+A4kJHMqo9ezTL+3wLz/fHH0yP89vjp8F0U0nOtRjnad7xt4cVaOPn7nh5VhHzDkxRJzygqkeBDVA/KbGpcAZva9UrOENnQ9USAUnSSIqvQq4UnWZ6XX3SmdLcQmD/WAeX0C5PiNsWlwD24Ng/VJ+rgjqQVA9+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m-cluster.sh\n permissions: \"0744\"\n\n')]",
"customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAJbogA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCGCx4wWK9zxRlBXGKezxpu08WvuZC7CqI9JzOXBB8a54X1PzIlJAc9GJizrQR6+iuGQgYcZ5XfluLG2sxJxIYV6XZF4Dn3CYPyqTCaWr9IPdUGZsLirZJYJYf0P9IBOX7E7BvUL9b6sw1DGOyClmRppAolfdCndqWrYhnX5WJLcd2WShXQiUkVun3WGhv09C0cZiCLXOaAmfyEAV0YRO4fckBb4jpIufX7uagOUSYlfR+ETtbm8IAG9D/dya+BRERZrW9YUCPY0Gk/N85Wu/J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3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]",
"linuxConfiguration": {
"disablePasswordAuthentication": "true",
"ssh": {

Просмотреть файл

@ -16,6 +16,8 @@ const (
Swarm OrchestratorType = "Swarm"
// Kubernetes is the string constant for the Kubernetes orchestrator type
Kubernetes OrchestratorType = "Kubernetes"
// DockerCE is the string constant for the Swarm Mode orchestrator type
DockerCE OrchestratorType = "DockerCE"
)
const (

Просмотреть файл

@ -330,3 +330,8 @@ func (w *WindowsProfile) HasSecrets() bool {
func (l *LinuxProfile) HasSecrets() bool {
return len(l.Secrets) > 0
}
// IsSwarmMode returns true if this template is for Swarm Mode orchestrator
func (o *OrchestratorProfile) IsSwarmMode() bool {
return o.OrchestratorType == DockerCE
}

Просмотреть файл

@ -127,8 +127,7 @@ func validateDNSName(dnsName string) error {
if err != nil {
return err
}
submatches := re.FindStringSubmatch(dnsName)
if len(submatches) != 2 {
if !re.MatchString(dnsName) {
return fmt.Errorf("DNS name '%s' is invalid. The DNS name must contain between 3 and 45 characters. The name can contain only letters, numbers, and hyphens. The name must start with a letter and must end with a letter or a number. (length was %d)", dnsName, len(dnsName))
}
return nil

Просмотреть файл

@ -128,8 +128,7 @@ func validateDNSName(dnsName string) error {
if err != nil {
return err
}
submatches := re.FindStringSubmatch(dnsName)
if len(submatches) != 2 {
if !re.MatchString(dnsName) {
return fmt.Errorf("DNS name '%s' is invalid. The DNS name must contain between 3 and 45 characters. The name can contain only letters, numbers, and hyphens. The name must start with a letter and must end with a letter or a number. (length was %d)", dnsName, len(dnsName))
}
return nil

Просмотреть файл

@ -0,0 +1,33 @@
package v20170131
const (
// APIVersion is the version of this API
APIVersion = "2017-01-31"
)
// the orchestrators supported by 2017-01-31
const (
// Mesos is the string constant for the Mesos orchestrator type
Mesos OrchestratorType = "Mesos"
// DCOS is the string constant for DCOS orchestrator type and defaults to DCOS187
DCOS = "DCOS"
// Swarm is the string constant for the Swarm orchestrator type
Swarm = "Swarm"
// Kubernetes is the string constant for the Kubernetes orchestrator type
Kubernetes = "Kubernetes"
// DockerCE is the string constant for the Swarm Mode orchestrator type
DockerCE = "DockerCE"
)
const (
Windows OSType = "Windows"
Linux OSType = "Linux"
)
// validation values
const (
// MinAgentCount are the minimum number of agents
MinAgentCount = 1
// MaxAgentCount are the maximum number of agents
MaxAgentCount = 100
)

2
pkg/api/v20170131/doc.go Normal file
Просмотреть файл

@ -0,0 +1,2 @@
// Package v20170131 stores api model for version "2017-01-31"
package v20170131

207
pkg/api/v20170131/types.go Normal file
Просмотреть файл

@ -0,0 +1,207 @@
package v20170131
import (
neturl "net/url"
)
// ResourcePurchasePlan defines resource plan as required by ARM
// for billing purposes.
type ResourcePurchasePlan struct {
Name string `json:"name,omitempty"`
Product string `json:"product,omitempty"`
PromotionCode string `json:"promotionCode,omitempty"`
Publisher string `json:"publisher,omitempty"`
}
// ContainerService complies with the ARM model of
// resource definition in a JSON template.
type ContainerService struct {
ID string `json:"id,omitempty"`
Location string `json:"location,omitempty"`
Name string `json:"name,omitempty"`
Plan ResourcePurchasePlan `json:"plan,omitempty"`
Tags map[string]string `json:"tags,omitempty"`
Type string `json:"type,omitempty"`
Properties Properties `json:"properties"`
}
// Properties represents the ACS cluster definition
type Properties struct {
ProvisioningState ProvisioningState `json:"provisioningState"`
OrchestratorProfile OrchestratorProfile `json:"orchestratorProfile"`
MasterProfile MasterProfile `json:"masterProfile"`
AgentPoolProfiles []AgentPoolProfile `json:"agentPoolProfiles"`
LinuxProfile LinuxProfile `json:"linuxProfile"`
WindowsProfile WindowsProfile `json:"windowsProfile"`
DiagnosticsProfile DiagnosticsProfile `json:"diagnosticsProfile"`
JumpboxProfile JumpboxProfile `json:"jumpboxProfile"`
ServicePrincipalProfile ServicePrincipalProfile `json:"servicePrincipalProfile"`
CustomProfile CustomProfile `json:"customProfile"`
}
// ServicePrincipalProfile contains the client and secret used by the cluster for Azure Resource CRUD
type ServicePrincipalProfile struct {
ClientID string `json:"clientId,omitempty"`
Secret string `json:"secret,omitempty"`
}
// CustomProfile specifies custom properties that are used for
// cluster instantiation. Should not be used by most users.
type CustomProfile struct {
Orchestrator string `json:"orchestrator,omitempty"`
}
// LinuxProfile represents the Linux configuration passed to the cluster
type LinuxProfile struct {
AdminUsername string `json:"adminUsername"`
SSH struct {
PublicKeys []struct {
KeyData string `json:"keyData"`
} `json:"publicKeys"`
} `json:"ssh"`
}
// WindowsProfile represents the Windows configuration passed to the cluster
type WindowsProfile struct {
AdminUsername string `json:"adminUsername,omitempty"`
AdminPassword string `json:"adminPassword,omitempty"`
}
// ProvisioningState represents the current state of container service resource.
type ProvisioningState string
const (
// Creating means ContainerService resource is being created.
Creating ProvisioningState = "Creating"
// Updating means an existing ContainerService resource is being updated
Updating ProvisioningState = "Updating"
// Failed means resource is in failed state
Failed ProvisioningState = "Failed"
// Succeeded means resource created succeeded during last create/update
Succeeded ProvisioningState = "Succeeded"
// Deleting means resource is in the process of being deleted
Deleting ProvisioningState = "Deleting"
// Migrating means resource is being migrated from one subscription or
// resource group to another
Migrating ProvisioningState = "Migrating"
)
// OrchestratorProfile contains Orchestrator properties
type OrchestratorProfile struct {
OrchestratorType OrchestratorType `json:"orchestratorType"`
}
// MasterProfile represents the definition of master cluster
type MasterProfile struct {
Count int `json:"count"`
DNSPrefix string `json:"dnsPrefix"`
// Master LB public endpoint/FQDN with port
// The format will be FQDN:2376
// Not used during PUT, returned as part of GET
FQDN string `json:"fqdn,omitempty"`
// subnet is internal
subnet string
}
// AgentPoolProfile represents configuration of VMs running agent
// daemons that register with the master and offer resources to
// host applications in containers.
type AgentPoolProfile struct {
Name string `json:"name"`
Count int `json:"count"`
VMSize string `json:"vmSize"`
DNSPrefix string `json:"dnsPrefix"`
FQDN string `json:"fqdn,omitempty"`
// OSType is the operating system type for agents
// Set as nullable to support backward compat because
// this property was added later.
// If the value is null or not set, it defaulted to Linux.
OSType OSType `json:"osType,omitempty"`
// subnet is internal
subnet string
}
// JumpboxProfile dscribes properties of the jumpbox setup
// in the ACS container cluster.
type JumpboxProfile struct {
OSType OSType `json:"osType,omitempty"`
DNSPrefix string `json:"dnsPrefix"`
// Jumpbox public endpoint/FQDN with port
// The format will be FQDN:2376
// Not used during PUT, returned as part of GET
FQDN string `json:"fqdn,omitempty"`
}
// DiagnosticsProfile setting to enable/disable capturing
// diagnostics for VMs hosting container cluster.
type DiagnosticsProfile struct {
VMDiagnostics VMDiagnostics `json:"vmDiagnostics"`
}
// VMDiagnostics contains settings to on/off boot diagnostics collection
// in RD Host
type VMDiagnostics struct {
Enabled bool `json:"enabled"`
// Specifies storage account Uri where Boot Diagnostics (CRP &
// VMSS BootDiagostics) and VM Diagnostics logs (using Linux
// Diagnostics Extension) will be stored. Uri will be of standard
// blob domain. i.e. https://storageaccount.blob.core.windows.net/
// This field is readonly as ACS RP will create a storage account
// for the customer.
StorageURL neturl.URL `json:"storageUrl"`
}
// OrchestratorType defines orchestrators supported by ACS
type OrchestratorType string
// OSType represents OS types of agents
type OSType string
// HasWindows returns true if the cluster contains windows
func (a *Properties) HasWindows() bool {
for _, agentPoolProfile := range a.AgentPoolProfiles {
if agentPoolProfile.OSType == Windows {
return true
}
}
return false
}
// GetSubnet returns the read-only subnet for the master
func (m *MasterProfile) GetSubnet() string {
return m.subnet
}
// SetSubnet sets the read-only subnet for the master
func (m *MasterProfile) SetSubnet(subnet string) {
m.subnet = subnet
}
// IsWindows returns true if the agent pool is windows
func (a *AgentPoolProfile) IsWindows() bool {
return a.OSType == Windows
}
// GetSubnet returns the read-only subnet for the agent pool
func (a *AgentPoolProfile) GetSubnet() string {
return a.subnet
}
// SetSubnet sets the read-only subnet for the agent pool
func (a *AgentPoolProfile) SetSubnet(subnet string) {
a.subnet = subnet
}
// IsSwarmMode returns true if this template is for Swarm Mode orchestrator
func (o *OrchestratorProfile) IsSwarmMode() bool {
return o.OrchestratorType == DockerCE
}

Просмотреть файл

@ -0,0 +1,158 @@
package v20170131
import (
"errors"
"fmt"
"regexp"
)
// Validate implements APIObject
func (o *OrchestratorProfile) Validate() error {
switch o.OrchestratorType {
case DCOS:
case Mesos:
case Swarm:
case Kubernetes:
case DockerCE:
default:
return fmt.Errorf("OrchestratorProfile has unknown orchestrator: %s", o.OrchestratorType)
}
return nil
}
// Validate implements APIObject
func (m *MasterProfile) Validate() error {
if m.Count != 1 && m.Count != 3 && m.Count != 5 {
return fmt.Errorf("MasterProfile count needs to be 1, 3, or 5")
}
if e := validateName(m.DNSPrefix, "MasterProfile.DNSPrefix"); e != nil {
return e
}
if e := validateDNSName(m.DNSPrefix); e != nil {
return e
}
return nil
}
// Validate implements APIObject
func (a *AgentPoolProfile) Validate() error {
if e := validateName(a.Name, "AgentPoolProfile.Name"); e != nil {
return e
}
if e := validatePoolName(a.Name); e != nil {
return e
}
if a.Count < MinAgentCount || a.Count > MaxAgentCount {
return fmt.Errorf("AgentPoolProfile count needs to be in the range [%d,%d]", MinAgentCount, MaxAgentCount)
}
if e := validateName(a.VMSize, "AgentPoolProfile.VMSize"); e != nil {
return e
}
return nil
}
// Validate implements APIObject
func (l *LinuxProfile) Validate() error {
if e := validateName(l.AdminUsername, "LinuxProfile.AdminUsername"); e != nil {
return e
}
if len(l.SSH.PublicKeys) != 1 {
return errors.New("LinuxProfile.PublicKeys requires only 1 SSH Key")
}
if e := validateName(l.SSH.PublicKeys[0].KeyData, "LinuxProfile.PublicKeys.KeyData"); e != nil {
return e
}
return nil
}
// Validate implements APIObject
func (a *Properties) Validate() error {
if e := a.OrchestratorProfile.Validate(); e != nil {
return e
}
if e := a.MasterProfile.Validate(); e != nil {
return e
}
if e := validateUniqueProfileNames(a.AgentPoolProfiles); e != nil {
return e
}
for _, agentPoolProfile := range a.AgentPoolProfiles {
if e := agentPoolProfile.Validate(); e != nil {
return e
}
if agentPoolProfile.OSType == Windows {
switch a.OrchestratorProfile.OrchestratorType {
case Swarm:
default:
return fmt.Errorf("Orchestrator %s does not support Windows", a.OrchestratorProfile.OrchestratorType)
}
if len(a.WindowsProfile.AdminUsername) == 0 {
return fmt.Errorf("WindowsProfile.AdminUsername must not be empty since agent pool '%s' specifies windows", agentPoolProfile.Name)
}
if len(a.WindowsProfile.AdminPassword) == 0 {
return fmt.Errorf("WindowsProfile.AdminPassword must not be empty since agent pool '%s' specifies windows", agentPoolProfile.Name)
}
}
}
if e := a.LinuxProfile.Validate(); e != nil {
return e
}
return nil
}
func validateName(name string, label string) error {
if name == "" {
return fmt.Errorf("%s must be a non-empty value", label)
}
return nil
}
func validatePoolName(poolName string) error {
// we will cap at length of 12 and all lowercase letters since this makes up the VMName
poolNameRegex := `^([a-z][a-z0-9]{0,11})$`
re, err := regexp.Compile(poolNameRegex)
if err != nil {
return err
}
submatches := re.FindStringSubmatch(poolName)
if len(submatches) != 2 {
return fmt.Errorf("pool name '%s' is invalid. A pool name must start with a lowercase letter, have max length of 12, and only have characters a-z0-9", poolName)
}
return nil
}
func validateDNSName(dnsName string) error {
dnsNameRegex := `^([a-z][a-z0-9-]{1,45}[a-z0-9])$`
re, err := regexp.Compile(dnsNameRegex)
if err != nil {
return err
}
if !re.MatchString(dnsName) {
return fmt.Errorf("DNS name '%s' is invalid. The DNS name must contain between 3 and 45 characters. The name can contain only letters, numbers, and hyphens. The name must start with a letter and must end with a letter or a number. (length was %d)", dnsName, len(dnsName))
}
return nil
}
func validateUniqueProfileNames(profiles []AgentPoolProfile) error {
profileNames := make(map[string]bool)
for _, profile := range profiles {
if _, ok := profileNames[profile.Name]; ok {
return fmt.Errorf("profile name '%s' already exists, profile names must be unique across pools", profile.Name)
}
profileNames[profile.Name] = true
}
return nil
}
func validateUniquePorts(ports []int, name string) error {
portMap := make(map[int]bool)
for _, port := range ports {
if _, ok := portMap[port]; ok {
return fmt.Errorf("agent profile '%s' has duplicate port '%d', ports must be unique", name, port)
}
portMap[port] = true
}
return nil
}

Просмотреть файл

@ -19,6 +19,8 @@ const (
Swarm = "Swarm"
// Kubernetes is the string constant for the Kubernetes orchestrator type
Kubernetes = "Kubernetes"
// DockerCE is the string constant for the Swarm Mode orchestrator type
DockerCE = "DockerCE"
)
const (

Просмотреть файл

@ -254,3 +254,8 @@ func (a *AgentPoolProfile) GetSubnet() string {
func (a *AgentPoolProfile) SetSubnet(subnet string) {
a.subnet = subnet
}
// IsSwarmMode returns true if this template is for Swarm Mode orchestrator
func (o *OrchestratorProfile) IsSwarmMode() bool {
return o.OrchestratorType == DockerCE
}

Просмотреть файл

@ -17,6 +17,7 @@ func (o *OrchestratorProfile) Validate() error {
case DCOS173:
case Swarm:
case Kubernetes:
case DockerCE:
default:
return fmt.Errorf("OrchestratorProfile has unknown orchestrator: %s", o.OrchestratorType)
}
@ -161,6 +162,18 @@ func (a *Properties) Validate() error {
return fmt.Errorf("only 1 master may be specified with %s", a.OrchestratorProfile.OrchestratorType)
}
if a.MasterProfile.StorageProfile == StorageAccountClassic {
switch a.OrchestratorProfile.OrchestratorType {
case DCOS:
case DCOS173:
case DCOS184:
case DCOS187:
case Swarm:
default:
return fmt.Errorf("StorageAccountClassic is not supported in MasterProfile for Orchestrator %s \n", a.OrchestratorProfile.OrchestratorType)
}
}
for _, agentPoolProfile := range a.AgentPoolProfiles {
if e := agentPoolProfile.Validate(); e != nil {
return e
@ -181,10 +194,24 @@ func (a *Properties) Validate() error {
case DCOS184:
case DCOS187:
case Swarm:
case DockerCE:
default:
return fmt.Errorf("HA volumes are currently unsupported for Orchestrator %s", a.OrchestratorProfile.OrchestratorType)
}
}
if agentPoolProfile.StorageProfile == StorageAccountClassic {
switch a.OrchestratorProfile.OrchestratorType {
case DCOS:
case DCOS173:
case DCOS184:
case DCOS187:
case Swarm:
default:
return fmt.Errorf("StorageAccountClassic is not supported in agentPoolProfile for Orchestrator %s \n", a.OrchestratorProfile.OrchestratorType)
}
}
if a.OrchestratorProfile.OrchestratorType == Kubernetes && (agentPoolProfile.AvailabilityProfile == VirtualMachineScaleSets || len(agentPoolProfile.AvailabilityProfile) == 0) {
return fmt.Errorf("VirtualMachineScaleSets are not supported with Kubernetes since Kubernetes requires the ability to attach/detach disks. To fix specify \"AvailabilityProfile\":\"%s\"", AvailabilitySet)
}

0
test/cluster-tests/dcos/test.sh Executable file → Normal file
Просмотреть файл

0
test/cluster-tests/kubernetes/test.sh Executable file → Normal file
Просмотреть файл