forked from Azure/bicep
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathres-aks-cluster.bicep
More file actions
32 lines (32 loc) · 880 Bytes
/
res-aks-cluster.bicep
File metadata and controls
32 lines (32 loc) · 880 Bytes
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
// Kubernetes Service Cluster
resource /*${1:aksCluster}*/aksCluster 'Microsoft.ContainerService/managedClusters@2021-03-01' = {
name: /*${2:'name'}*/'name'
location: /*${3:location}*/'location'
identity: {
type: 'SystemAssigned'
}
properties: {
kubernetesVersion: /*'${4|1.19.7,1.19.6,1.18.14,1.18.10,1.17.16,1.17.13|}'*/'1.19.7'
dnsPrefix: /*${5:'dnsprefix'}*/'dnsprefix'
enableRBAC: true
agentPoolProfiles: [
{
name: 'agentpool'
count: /*${6:3}*/3
vmSize: /*${7:'Standard_DS2_v2'}*/'Standard_DS2_v2'
osType: 'Linux'
mode: 'System'
}
]
linuxProfile: {
adminUsername: /*${8:'adminUserName'}*/'adminUserName'
ssh: {
publicKeys: [
{
keyData: /*${9:'REQUIRED'}*/'REQUIRED'
}
]
}
}
}
}