69 строки
2.0 KiB
JSON
69 строки
2.0 KiB
JSON
{
|
|
"apiVersion": "vlabs",
|
|
"properties": {
|
|
"orchestratorProfile": {
|
|
"kubernetesConfig": {
|
|
"networkPolicy": "calico"
|
|
}
|
|
},
|
|
"masterProfile": {
|
|
"count": 1,
|
|
"dnsPrefix": "test",
|
|
"vmSize": "Standard_D2_v3",
|
|
"vnetSubnetId": "/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/virtualNetworks/VNET_NAME/subnets/SUBNET_NAME",
|
|
"firstConsecutiveStaticIP": "10.239.255.239",
|
|
"vnetCidr": "10.22.221.0/24",
|
|
"preProvisionExtension": {
|
|
"name": "register-dns",
|
|
"singleOrAll": "All"
|
|
}
|
|
},
|
|
"agentPoolProfiles": [
|
|
{
|
|
"name": "staging",
|
|
"count": 2,
|
|
"vmSize": "Standard_D2_v3",
|
|
"vnetSubnetId": "/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/virtualNetworks/VNET_NAME/subnets/SUBNET_NAME",
|
|
"availabilityProfile": "VirtualMachineScaleSets",
|
|
"preProvisionExtension": {
|
|
"name": "register-dns",
|
|
"singleOrAll": "All"
|
|
}
|
|
},
|
|
{
|
|
"name": "production",
|
|
"count": 2,
|
|
"vmSize": "Standard_D2_v3",
|
|
"vnetSubnetId": "/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/virtualNetworks/VNET_NAME/subnets/SUBNET_NAME",
|
|
"availabilityProfile": "VirtualMachineScaleSets",
|
|
"preProvisionExtension": {
|
|
"name": "register-dns",
|
|
"singleOrAll": "All"
|
|
}
|
|
}
|
|
],
|
|
"linuxProfile": {
|
|
"customNodesDNS": {
|
|
"dnsServer": "10.239.255.255"
|
|
},
|
|
"adminUsername": "azureuser",
|
|
"ssh": {
|
|
"publicKeys": [
|
|
{
|
|
"keyData": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"extensionProfiles": [
|
|
{
|
|
"name": "register-dns",
|
|
"version": "v1",
|
|
"extensionParameters": "mydomain.com",
|
|
"rootURL": "https://raw.githubusercontent.com/Azure/aks-engine/master/extensions/dnsupdate/",
|
|
"script": "register-dns.sh"
|
|
}
|
|
]
|
|
}
|
|
}
|