CmdID / az / az aks / az aks nodepool
az aks nodepool upgrade
Upgrade the node pool in a managed Kubernetes cluster. Azure CLI reference
12 options Its page in the Azure CLI reference
Options
--aks-custom-headersComma-separated key-value pairs to specify custom headers.--drain-timeoutWhen nodes are drain how long to wait for all pods to be evicted--if-matchThe value provided will be compared to the ETag of the node pool, if it matches the operation will proceed.--if-none-matchSet to '*' to allow a new node pool to be created, but to prevent updating an existing node pool.--kubernetes-version, -kVersion of Kubernetes to upgrade the node pool to, such as "1.16.9".--max-surgeExtra nodes used to speed upgrade.--max-unavailableThe maximum number or percentage of nodes that can be simultaneously unavailable during upgrade.--node-image-onlyOnly upgrade agent pool's node image.--node-soak-durationThe amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node.--snapshot-idThe source snapshot id used to upgrade this nodepool.--undrainable-node-behaviorDefine the behavior for undrainable nodes during upgrade.--yes, -yDo not prompt for confirmation.