This commit is contained in:
Mathieu Benoit 2018-08-22 20:14:36 -04:00 коммит произвёл GitHub
Родитель 36b2482dcf
Коммит e490a8660e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -17,13 +17,13 @@ Output:
```console
Name ResourceGroup MasterVersion NodePoolVersion Upgrades
------- --------------- --------------- ------------------- -------------------
default myResourceGroup 1.10.6 1.10.6 1.11.1, 1.11.2
default myResourceGroup 1.11.1 1.11.1 1.11.2
```
In this case, we have one version available for upgrade: 1.11.1. We can use the `az aks upgrade` command to upgrade to the latest available version. During the upgrade process, nodes are carefully [cordoned and drained][kubernetes-drain] to minimize disruption to running applications. Before initiating a cluster upgrade, ensure that you have enough additional compute capacity to handle your workload as cluster nodes are added and removed.
In this case, we have one version available for upgrade: 1.11.2. We can use the `az aks upgrade` command to upgrade to the latest available version. During the upgrade process, nodes are carefully [cordoned and drained][kubernetes-drain] to minimize disruption to running applications. Before initiating a cluster upgrade, ensure that you have enough additional compute capacity to handle your workload as cluster nodes are added and removed.
```azurecli-interactive
az aks upgrade --name $CLUSTER_NAME --resource-group $NAME --kubernetes-version 1.11.1
az aks upgrade --name $CLUSTER_NAME --resource-group $NAME --kubernetes-version 1.11.2
```
Output:
@ -58,7 +58,7 @@ Output:
],
"dnsPrefix": "myK8sClust-myResourceGroup-4f48ee",
"fqdn": "myk8sclust-myresourcegroup-4f48ee-406cc140.hcp.eastus.azmk8s.io",
"kubernetesVersion": "1.11.1",
"kubernetesVersion": "1.11.2",
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
@ -93,7 +93,7 @@ Output:
```json
Name Location ResourceGroup KubernetesVersion ProvisioningState Fqdn
------------ ---------- --------------- ------------------- ------------------- ----------------------------------------------------------------
myK8sCluster eastus myResourceGroup 1.11.1 Succeeded myk8sclust-myresourcegroup-3762d8-2f6ca801.hcp.eastus.azmk8s.io
myK8sCluster eastus myResourceGroup 1.11.2 Succeeded myk8sclust-myresourcegroup-3762d8-2f6ca801.hcp.eastus.azmk8s.io
```
## Attribution: