forked from Azure/aks-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kubernetesvnet-customnodesdns.json
73 lines (73 loc) · 2.07 KB
/
kubernetesvnet-customnodesdns.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "Kubernetes",
"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"
}
],
"servicePrincipalProfile": {
"clientId": "",
"secret": ""
}
}
}