Skip to content

Instantly share code, notes, and snippets.

@aramase
Created August 6, 2021 07:04
Show Gist options
  • Select an option

  • Save aramase/e64b126d8d28c1297dded946af7e13a5 to your computer and use it in GitHub Desktop.

Select an option

Save aramase/e64b126d8d28c1297dded946af7e13a5 to your computer and use it in GitHub Desktop.
Sample API model for creating a Kubernetes cluster with london
{
"apiVersion": "vlabs",
"properties": {
"featureFlags": {
"enableLondon": true
},
"orchestratorProfile": {
"orchestratorType": "Kubernetes",
"orchestratorRelease": "1.21",
"kubernetesConfig": {
"useManagedIdentity": false,
"storageAccountName": "<london storage account name>",
"storageConnectionString": "<connection string>",
"storageTableName": "<london table name>",
"londonImage": "<london docker image>"
}
},
"masterProfile": {
"count": 1,
"dnsPrefix": "<dns prefix>",
"vmSize": "Standard_DS2_v2",
"distro": "ubuntu-18.04"
},
"agentPoolProfiles": [
{
"name": "agentpool1",
"count": 1,
"vmSize": "Standard_DS2_v2"
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"runUnattendedUpgradesOnBootstrap": false,
"ssh": {
"publicKeys": [
{
"keyData": "<ssh key>"
}
]
}
},
"servicePrincipalProfile": {
"clientId": "<service principal client id>",
"secret": "<service principal client secret>"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment