Removing namesuffix and added Uniquestring variable for mesos/docker

This commit is contained in:
srimathiS 2016-08-16 14:34:36 -07:00
Родитель ed78b23041
Коммит 2d6c26cffb
6 изменённых файлов: 4 добавлений и 36 удалений

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

@ -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
},