Skip to content

Commit 54a654a

Browse files
Merge pull request #269231 from schaffererin/tutorial-k8s-scale-hpa-update
Updated aks-store-quickstart-hpa YAML
2 parents 9af1112 + 416a5af commit 54a654a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

articles/aks/tutorial-kubernetes-scale.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,17 +110,11 @@ These resource requests and limits are defined for each container, as shown in t
110110
spec:
111111
maxReplicas: 10 # define max replica count
112112
minReplicas: 3 # define min replica count
113+
targetCPUUtilizationPercentage: 50 # target CPU utilization
113114
scaleTargetRef:
114115
apiVersion: apps/v1
115116
kind: Deployment
116117
name: store-front
117-
metrics:
118-
- type: Resource
119-
resource:
120-
name: cpu
121-
target:
122-
type: Utilization
123-
averageUtilization: 50
124118
```
125119
126120
2. Apply the autoscaler manifest file using the `kubectl apply` command.

0 commit comments

Comments
 (0)