Removing namesuffix and added Uniquestring variable for mesos/docker
This commit is contained in:
Родитель
ed78b23041
Коммит
2d6c26cffb
|
@ -21,9 +21,6 @@
|
|||
"masterVMSize": {
|
||||
"value": "Standard_A2"
|
||||
},
|
||||
"nameSuffix": {
|
||||
"value": "GEN-UNIQUE"
|
||||
},
|
||||
"setLinuxConfigurationForVMCreate": {
|
||||
"value": 1
|
||||
},
|
||||
|
|
|
@ -127,13 +127,6 @@
|
|||
"description": "This setting controls whether Linux configuration with SSH Key is passed in VM PUT Payload. Defaults to 1. If SSH Key is blank, this must be set to 0."
|
||||
}
|
||||
},
|
||||
"nameSuffix": {
|
||||
"type": "string",
|
||||
"defaultValue": "0",
|
||||
"metadata": {
|
||||
"description": "A UNIQUE string to be included in the names of resources created. Defaults to 0. Can not be blank."
|
||||
}
|
||||
},
|
||||
"vmsPerStorageAccount": {
|
||||
"type": "int",
|
||||
"defaultValue": 40,
|
||||
|
@ -158,6 +151,8 @@
|
|||
"storage": "2015-05-01-preview",
|
||||
"compute": "2015-06-15"
|
||||
},
|
||||
"orchestratorName": "swarm",
|
||||
"nameSuffix": "[replace(replace(substring(tolower(uniqueString(resourceGroup().id)),0,5), '-', ''), '.','')]",
|
||||
"jumpboxEndpointDNSName": "[tolower(concat('jumpbox', variables('nameSuffix')))]",
|
||||
"masterEndpointDNSName": "[tolower(concat('master', variables('nameSuffix')))]",
|
||||
"agentEndpointDNSName": "[tolower(concat('agent', variables('nameSuffix')))]",
|
||||
|
@ -175,8 +170,6 @@
|
|||
"windowsAdminUsername": "[parameters('windowsAdminUsername')]",
|
||||
"windowsAdminPassword": "[parameters('windowsAdminPassword')]",
|
||||
"vmsPerStorageAccount": "[parameters('vmsPerStorageAccount')]",
|
||||
|
||||
"nameSuffix": "[tolower(parameters('nameSuffix'))]",
|
||||
"storageLocation": "[resourceGroup().location]",
|
||||
|
||||
"sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]",
|
||||
|
@ -196,8 +189,6 @@
|
|||
],
|
||||
"linuxConfiguration": "[variables('linuxConfigurations')[parameters('setSSHKeysLinuxConfiguration')]]",
|
||||
|
||||
"orchestratorName": "swarm",
|
||||
|
||||
|
||||
"jumpboxPublicIPAddressName": "[concat(variables('orchestratorName'), '-jumpbox-ip-', '-', variables('nameSuffix'))]",
|
||||
"swarmEnabled": true,
|
||||
|
|
|
@ -21,9 +21,6 @@
|
|||
"masterVMSize": {
|
||||
"value": "Standard_A2"
|
||||
},
|
||||
"nameSuffix": {
|
||||
"value": "GEN-UNIQUE"
|
||||
},
|
||||
"setLinuxConfigurationForVMCreate": {
|
||||
"value": 0
|
||||
},
|
||||
|
|
|
@ -20,9 +20,6 @@
|
|||
"masterVMSize": {
|
||||
"value": "Standard_A2"
|
||||
},
|
||||
"nameSuffix": {
|
||||
"value": "GEN-UNIQUE"
|
||||
},
|
||||
"setLinuxConfigurationForVMCreate": {
|
||||
"value": 1
|
||||
},
|
||||
|
|
|
@ -127,13 +127,6 @@
|
|||
"description": "This setting controls whether Linux configuration with SSH Key is passed in VM PUT Payload. Defaults to 1. If SSH Key is blank, this must be set to 0."
|
||||
}
|
||||
},
|
||||
"nameSuffix": {
|
||||
"type": "string",
|
||||
"defaultValue": "0",
|
||||
"metadata": {
|
||||
"description": "A UNIQUE string to be included in the names of resources created. Defaults to 0. Can not be blank."
|
||||
}
|
||||
},
|
||||
"vmsPerStorageAccount": {
|
||||
"type": "int",
|
||||
"defaultValue": 40,
|
||||
|
@ -158,6 +151,8 @@
|
|||
"storage": "2015-05-01-preview",
|
||||
"compute": "2015-06-15"
|
||||
},
|
||||
"orchestratorName": "mesos",
|
||||
"nameSuffix": "[replace(replace(substring(tolower(uniqueString(resourceGroup().id)),0,5), '-', ''), '.','')]",
|
||||
"jumpboxEndpointDNSName": "[tolower(concat('jumpbox', variables('nameSuffix')))]",
|
||||
"masterEndpointDNSName": "[tolower(concat('master', variables('nameSuffix')))]",
|
||||
"agentEndpointDNSName": "[tolower(concat('agent', variables('nameSuffix')))]",
|
||||
|
@ -175,8 +170,6 @@
|
|||
"windowsAdminUsername": "[parameters('windowsAdminUsername')]",
|
||||
"windowsAdminPassword": "[parameters('windowsAdminPassword')]",
|
||||
"vmsPerStorageAccount": "[parameters('vmsPerStorageAccount')]",
|
||||
|
||||
"nameSuffix": "[tolower(parameters('nameSuffix'))]",
|
||||
"storageLocation": "[resourceGroup().location]",
|
||||
|
||||
"sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]",
|
||||
|
@ -195,10 +188,6 @@
|
|||
}
|
||||
],
|
||||
"linuxConfiguration": "[variables('linuxConfigurations')[parameters('setSSHKeysLinuxConfiguration')]]",
|
||||
|
||||
"orchestratorName": "mesos",
|
||||
|
||||
|
||||
"jumpboxPublicIPAddressName": "[concat(variables('orchestratorName'), '-jumpbox-ip-', '-', variables('nameSuffix'))]",
|
||||
|
||||
"marathonEnabled": true,
|
||||
|
|
|
@ -20,9 +20,6 @@
|
|||
"masterVMSize": {
|
||||
"value": "Standard_A2"
|
||||
},
|
||||
"nameSuffix": {
|
||||
"value": "GEN-UNIQUE"
|
||||
},
|
||||
"setLinuxConfigurationForVMCreate": {
|
||||
"value": 0
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче