Skip to content

Commit 2df4900

Browse files
AKS Bug Fix: Update Autoscaler yaml with CPU utilization threshold.
1 parent d110040 commit 2df4900

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

articles/aks/tutorial-kubernetes-scale.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Kubernetes on Azure tutorial - Scale applications in Azure Kubernetes Service (AKS)
33
description: In this Azure Kubernetes Service (AKS) tutorial, you learn how to scale nodes and pods and implement horizontal pod autoscaling.
44
ms.topic: tutorial
5-
ms.date: 10/23/2023
5+
ms.date: 03/05/2023
66
ms.custom: mvc
77
#Customer intent: As a developer or IT pro, I want to learn how to scale my applications in an Azure Kubernetes Service (AKS) cluster so I can provide high availability or respond to customer demand and application load.
88
---
@@ -114,7 +114,13 @@ These resource requests and limits are defined for each container, as shown in t
114114
apiVersion: apps/v1
115115
kind: Deployment
116116
name: store-front
117-
metrics: 50 # target CPU utilization
117+
metrics:
118+
- type: Resource
119+
resource:
120+
name: cpu
121+
target:
122+
type: Utilization
123+
averageUtilization: 50
118124
```
119125
120126
2. Apply the autoscaler manifest file using the `kubectl apply` command.

0 commit comments

Comments
 (0)