Skip to content

Commit 4835707

Browse files
authored
incorrect drain argument
nodepool drain timeout was using an incorrect argument. Changed to match the correct argument drain-timeout
1 parent f9eec46 commit 4835707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/aks/upgrade-aks-cluster.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,10 @@ At times, you may have a long running workload on a certain pod and it can't be
244244
245245
```azurecli-interactive
246246
# Set drain timeout for a new node pool
247-
az aks nodepool add -n mynodepool -g MyResourceGroup --cluster-name MyManagedCluster --drainTimeoutInMinutes 100
247+
az aks nodepool add -n mynodepool -g MyResourceGroup --cluster-name MyManagedCluster --drain-timeout 100
248248
249249
# Update drain timeout for an existing node pool
250-
az aks nodepool update -n mynodepool -g MyResourceGroup --cluster-name MyManagedCluster --drainTimeoutInMinutes 45
250+
az aks nodepool update -n mynodepool -g MyResourceGroup --cluster-name MyManagedCluster --drain-timeout 45
251251
```
252252
253253
#### Set node soak time value

0 commit comments

Comments
 (0)