Skip to content

Commit d741211

Browse files
authored
Update cluster-autoscaler.md
1 parent 00c3500 commit d741211

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/aks/cluster-autoscaler.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,19 +199,19 @@ The following table lists the available settings for the cluster autoscaler prof
199199
> [!NOTE]
200200
> Scaling down aggressively is not recommended for clusters experiencing frequent scale-outs and scale-ins within short intervals, as it could potentially result in extended node provisioning times under these circumstances. Increasing `scale-down-delay-after-add` can help in these circumstances by keeping the node around longer to handle incoming workloads.
201201
202-
```azurecli-interactive
202+
```azurecli-interactive
203203
az aks update \
204204
--resource-group myResourceGroup \
205205
--name myAKSCluster \
206206
--cluster-autoscaler-profile scan-interval=30s, scale-down-delay-after-add=0s,scale-down-delay-after-failure=30s,scale-down-unneeded-time=3m,scale-down-unready-time=3m,max-graceful-termination-sec=30,skip-nodes-with-local-storage=false,max-empty-bulk-delete=1000,max-total-unready-percentage=100,ok-total-unready-count=1000,max-node-provision-time=15m
207-
```
207+
```
208208
### Configure cluster autoscaler profile for bursty workloads
209-
```azurecli-interactive
209+
```azurecli-interactive
210210
az aks update \
211-
--resource-group "myResourceGroup"
211+
--resource-group "myResourceGroup" \
212212
--name myAKSCluster \
213213
--cluster-autoscaler-profile scan-interval=20s,scale-down-delay-after-add=10m,scale-down-delay-after-failure=1m,scale-down-unneeded-time=5m,scale-down-unready-time=5m,max-graceful-termination-sec=30,skip-nodes-with-local-storage=false,max-empty-bulk-delete=100,max-total-unready-percentage=100,ok-total-unready-count=1000,max-node-provision-time=15m
214-
```
214+
```
215215

216216
### Reset cluster autoscaler profile to default values
217217

0 commit comments

Comments
 (0)