Skip to content

Instantly share code, notes, and snippets.

@eosfor
Created August 7, 2018 11:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save eosfor/d630ceea2cae84f7169f256737bb3d25 to your computer and use it in GitHub Desktop.
Save eosfor/d630ceea2cae84f7169f256737bb3d25 to your computer and use it in GitHub Desktop.
acs-engine example template
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "Kubernetes",
"kubernetesConfig": {
"privateCluster": {
"enabled": true
},
"kubeletConfig": {
"--eviction-hard": "memory.available<250Mi,nodefs.available<20%,nodefs.inodesFree<10%",
"--max-pods": "10"
}
}
},
"masterProfile": {
"count": 1,
"dnsPrefix": "clusterdns",
"vmSize": "Standard_D2s_v3",
"vnetSubnetId": "/subscriptions/<your subscription ID>/resourceGroups/<network RG>/providers/Microsoft.Network/virtualNetworks/<network name>/subnets/<subnet name>",
"firstConsecutiveStaticIP": "<ip address of a first master>",
"vnetCidr": "10.10.5.0/24"
},
"agentPoolProfiles": [
{
"name": "devworker",
"count": 3,
"vmSize": "Standard_D2s_v3",
"StorageProfile":"ManagedDisks",
"diskSizesGB": [
256
],
"vnetSubnetId": "/subscriptions/<your subscription ID>/resourceGroups/<network RG>/providers/Microsoft.Network/virtualNetworks/<network name>/subnets/<subnet name>",
"availabilityProfile": "AvailabilitySet",
"acceleratedNetworkingEnabled":false
}
],
"linuxProfile": {
"adminUsername": "<admin name goes here>",
"ssh": {
"publicKeys": [
{
"keyData": "ssh-rsa <your key goes here>"
}
]
}
},
"servicePrincipalProfile": {
"clientId": "<your SP id goes here>",
"secret": "<your secret goes here>"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment