These steps describe how to change a running Kubernetes cluster deployed with acs-engine
on Azure. These steps are only tested with changes targeting actually Azure resources. Changes made to Kubernetes configuration are not tested yet.
- Modify the apimodel.json file located in the
_output/<clustername>
folder - Run
acs-engine generate --api-model _output/<clustername>/apimodel.json
. This wil update theazuredeploy*
files needed for the new ARM deployment. These files are also located in the_output
folder. - Apply the changes by manually starting an ARM deployment. From within the
_output/<clustername>
runaz group deployment --template-file azuredeploy.json --parameters azuredeploy.parameters.json --resource-group "<my-resource-group>"
- Grab a coffee
- Profit!
-
Adding a node pool
-
Change the node count of an existing pool : Use the
acs-engine scale
commandacs-engine scale --location westeurope --subscription-id "xxx" --resource-group "<my-resource-group"
--deployment-dir ./_output/ --node-pool --new-node-count --master-FQDN
- Change the VM size of existing nodes