forked from Azure/aks-engine
-
Notifications
You must be signed in to change notification settings - Fork 1
/
agentparams.t
164 lines (164 loc) · 4.24 KB
/
agentparams.t
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
"{{.Name}}Count": {
"defaultValue": {{.Count}},
"metadata": {
"description": "The number of vms in agent pool {{.Name}}"
},
"type": "int"
},
{{if .IsAvailabilitySets}}
"{{.Name}}Offset": {
"defaultValue": 0,
"metadata": {
"description": "offset to a particular vm within a VMAS agent pool"
},
"type": "int"
},
{{end}}
{{if .IsLowPriorityScaleSet}}
"{{.Name}}ScaleSetPriority": {
"allowedValues":[
"Low",
"Regular",
""
],
"defaultValue": "{{.ScaleSetPriority}}",
"metadata": {
"description": "The priority for the VM Scale Set. This value can be Low or Regular."
},
"type": "string"
},
"{{.Name}}ScaleSetEvictionPolicy": {
"allowedValues":[
"Delete",
"Deallocate",
""
],
"defaultValue": "{{.ScaleSetEvictionPolicy}}",
"metadata": {
"description": "The Eviction Policy for a Low-priority VM Scale Set."
},
"type": "string"
},
{{end}}
{{if .IsSpotScaleSet}}
"{{.Name}}ScaleSetPriority": {
"allowedValues":[
"Spot",
"Regular",
""
],
"defaultValue": "{{.ScaleSetPriority}}",
"metadata": {
"description": "The priority for the VM Scale Set. This value can be Spot or Regular."
},
"type": "string"
},
"{{.Name}}ScaleSetEvictionPolicy": {
"allowedValues":[
"Delete",
"Deallocate",
""
],
"defaultValue": "{{.ScaleSetEvictionPolicy}}",
"metadata": {
"description": "The Eviction Policy for a Spot VM Scale Set."
},
"type": "string"
},
{{end}}
"{{.Name}}VMSize": {
{{GetKubernetesAllowedVMSKUs}}
"defaultValue": "{{.VMSize}}",
"metadata": {
"description": "The size of the Virtual Machine."
},
"type": "string"
},
{{if HasAvailabilityZones .}}
"{{.Name}}AvailabilityZones": {
"metadata": {
"description": "Agent availability zones"
},
"type": "array"
},
{{end}}
"{{.Name}}osImageName": {
"defaultValue": "",
"metadata": {
"description": "Name of a {{.OSType}} OS image. Needs to be used in conjuction with osImageResourceGroup."
},
"type": "string"
},
"{{.Name}}osImageResourceGroup": {
"defaultValue": "",
"metadata": {
"description": "Resource group of a {{.OSType}} OS image. Needs to be used in conjuction with osImageName."
},
"type": "string"
},
"{{.Name}}osImageOffer": {
"defaultValue": "UbuntuServer",
"metadata": {
"description": "{{.OSType}} OS image type."
},
"type": "string"
},
"{{.Name}}osImagePublisher": {
"defaultValue": "Canonical",
"metadata": {
"description": "OS image publisher."
},
"type": "string"
},
"{{.Name}}osImageSKU": {
"defaultValue": "16.04-LTS",
"metadata": {
"description": "OS image SKU."
},
"type": "string"
},
"{{.Name}}osImageVersion": {
"defaultValue": "latest",
"metadata": {
"description": "OS image version."
},
"type": "string"
},
{{if .IsCustomVNET}}
"{{.Name}}VnetSubnetID": {
"metadata": {
"description": "Sets the vnet subnet of agent pool '{{.Name}}'."
},
"type": "string"
}
{{else}}
"{{.Name}}Subnet": {
"defaultValue": "{{.Subnet}}",
"metadata": {
"description": "Sets the subnet of agent pool '{{.Name}}'."
},
"type": "string"
}
{{end}}
{{if IsPublic .Ports}}
,"{{.Name}}EndpointDNSNamePrefix": {
"metadata": {
"description": "Sets the Domain name label for the agent pool IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address."
},
"type": "string"
}
{{end}}
{{if HasPrivateRegistry}}
,"registry": {
"metadata": {
"description": "Private Container Registry"
},
"type": "string"
},
"registryKey": {
"metadata": {
"description": "base64 encoded key to the Private Container Registry"
},
"type": "string"
}
{{end}}