Skip to content

Instantly share code, notes, and snippets.

@eriksywu
Last active April 16, 2020 16:24
Show Gist options
  • Save eriksywu/8ee7cb98d7bc7660cd2c6fb339273445 to your computer and use it in GitHub Desktop.
Save eriksywu/8ee7cb98d7bc7660cd2c6fb339273445 to your computer and use it in GitHub Desktop.
manual_scaling
{
"apiVersion": "vlabs",
"location": "",
"properties": {
"orchestratorProfile": {
"orchestratorType": "Kubernetes",
"orchestratorRelease": "1.17",
"kubernetesConfig": {
"components": [{
"name": "kube-addon-manager",
"enabled": false
}],
"networkPolicy": "none",
"cloudProviderRateLimitQPS": 6,
"cloudProviderRateLimitBucket": 20,
"apiServerConfig": {
"--enable-admission-plugins": "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,ResourceQuota,AlwaysPullImages"
},
"controllerManagerConfig": {
"--feature-gates": "CSIInlineVolume=true,LocalStorageCapacityIsolation=true,ServiceNodeExclusion=true"
}
}
},
"masterProfile": {
"count": 1,
"dnsPrefix": "{dnsPrefix}",
"vmSize": "Standard_F2"
},
"agentPoolProfiles": [{
"name": "agentpool1",
"count": 2,
"vmSize": "Standard_F2",
"availabilityProfile": "VirtualMachineScaleSets",
"storageProfile": "ManagedDisks"
}],
"linuxProfile": {
"adminUsername": "k8s-ci",
"ssh": {
"publicKeys": [{
"keyData": "{keyData}"
}]
}
},
"servicePrincipalProfile": {
"clientID": "{servicePrincipalClientID}",
"secret": "{servicePrincipalClientSecret}"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment