Skip to content

Commit 92d92e6

Browse files
committed
updated per Acrolinx
1 parent 4134a06 commit 92d92e6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/aks/use-metrics-server-vertical-pod-autoscaling.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Metrics server VPA throttleing in Azure Kubernetes Service (AKS)
2+
title: Metrics server VPA throttling in Azure Kubernetes Service (AKS)
33
description: Learn how to vertically autoscale your pod on an Azure Kubernetes Service (AKS) cluster.
44
ms.topic: article
55
ms.custom: devx-track-azurecli
@@ -18,7 +18,7 @@ AKS cluster is running Kubernetes version 1.24 and higher.
1818

1919
## Metrics server crashloopbackoff or throttling
2020

21-
If the Metrics Server throttling rate is high and the memory usage of its two pods are unbalanced, this indicates the Metrics Server requires more resources than the default values specified.
21+
If the Metrics Server throttling rate is high, and the memory usage of its two pods are unbalanced, this indicates the Metrics Server requires more resources than the default values specified.
2222

2323
To update the coefficient values, create a ConfigMap in the overlay *kube-system* namespace to override the values in the Metrics Server specification. Perform the following steps to update the metrics server.
2424

@@ -43,7 +43,7 @@ To update the coefficient values, create a ConfigMap in the overlay *kube-system
4343
memoryPerNode: 8Mi
4444
```
4545
46-
In this ConfigMap example, it changes the resource limit and request to the following:
46+
In the ConfigMap example, the resource limit and request are changed to the following:
4747
4848
* cpu: (100+1n) millicore
4949
* memory: (100+8n) mebibyte
@@ -62,7 +62,7 @@ To update the coefficient values, create a ConfigMap in the overlay *kube-system
6262
kubectl -n kube-system delete po metrics-server-pod-name
6363
```
6464

65-
4. To verify the updated resources took affect, run the following command to review the Metrics Server VPA log.
65+
4. To verify the updated resources took effect, run the following command to review the Metrics Server VPA log.
6666

6767
```bash
6868
kubectl -n kube-system logs metrics-server-pod-name -c metrics-server-vpa
@@ -79,11 +79,11 @@ To update the coefficient values, create a ConfigMap in the overlay *kube-system
7979
ERROR: logging before flag.Parse: I0315 23:12:33.957456 1 pod_nanny.go:145] Resources: [{Base:{i:{value:100 scale:-3} d:{Dec:<nil>} s:100m Format:DecimalSI} ExtraPerNode:{i:{value:0 scale:-3} d:{Dec:<nil>} s: Format:DecimalSI} Name:cpu} {Base:{i:{value:104857600 scale:0} d:{Dec:<nil>} s:100Mi Format:BinarySI} ExtraPerNode:{i:{value:0 scale:0} d:{Dec:<nil>} s: Format:BinarySI} Name:memory
8080
```
8181

82-
Be cautious of the *baseCPU*, *cpuPerNode*, *baseMemory*, and the *memoryPerNode* as the ConfigMap won't be validated by AKS. As a recommended practice, increase the value gradually to avoid unnecessary resource consumption. Proactively monitor resource usage when updating or creating the ConfigMap. A large number of resource requests could negatively impact the node.
82+
Be cautious of the *baseCPU*, *cpuPerNode*, *baseMemory*, and the *memoryPerNode*, because the ConfigMap isn't validated by AKS. As a recommended practice, increase the value gradually to avoid unnecessary resource consumption. Proactively monitor resource usage when updating or creating the ConfigMap. A large number of resource requests could negatively impact the node.
8383

8484
## Manually configure Metrics Server resource usage
8585

86-
The Metrics Server VPA adjusts resource usage by the number of nodes. If the cluster scale up or down very often, the Metrics Server might restart frequently. In this case, you can bypass VPA and manually control its resource usage. This method to configure VPA is not to be performed in addition to the steps described in the previous section.
86+
The Metrics Server VPA adjusts resource usage by the number of nodes. If the cluster scale up or down often, the Metrics Server might restart frequently. In this case, you can bypass VPA and manually control its resource usage. This method to configure VPA isn't to be performed in addition to the steps described in the previous section.
8787

8888
If you would like to bypass VPA for Metrics Server and manually control its resource usage, perform the following steps.
8989

@@ -113,7 +113,7 @@ If you would like to bypass VPA for Metrics Server and manually control its reso
113113
* cpu: 100 millicore
114114
* memory: 100 mebibyte
115115

116-
So changing the number of nodes will not trigger the autoscaling.
116+
Changing the number of nodes doesn't trigger autoscaling.
117117

118118
2. Create the ConfigMap using the [kubectl apply][kubectl-apply] command and specify the name of your YAML manifest:
119119

@@ -148,7 +148,7 @@ If you would like to bypass VPA for Metrics Server and manually control its reso
148148

149149
## Troubleshooting
150150

151-
1. If you use the following configmap, the Metrics Server VPA customization won't work. You need add a unit for `baseCPU`.
151+
1. If you use the following configmap, the Metrics Server VPA customization aren't applied. You need add a unit for `baseCPU`.
152152

153153
```yml
154154
apiVersion: v1
@@ -169,7 +169,7 @@ If you would like to bypass VPA for Metrics Server and manually control its reso
169169
memoryPerNode: 8Mi
170170
```
171171

172-
The following example output resembles the results showing the updated throttling settings were not applied.
172+
The following example output resembles the results showing the updated throttling settings aren't applied.
173173

174174
```output
175175
ERROR: logging before flag.Parse: I0316 23:32:08.383389 1 pod_nanny.go:68] Invoked by [/pod_nanny --config-dir=/etc/config --cpu=44m
@@ -193,7 +193,7 @@ If you would like to bypass VPA for Metrics Server and manually control its reso
193193

194194
## Next steps
195195

196-
Metrics Server is a component in the core metrics pipeline. For more information see [Metrics Server API design][metrics-server-api-design].
196+
Metrics Server is a component in the core metrics pipeline. For more information see, [Metrics Server API design][metrics-server-api-design].
197197

198198
<!-- EXTERNAL LINKS -->
199199
[kubectl-apply]: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#apply

0 commit comments

Comments
 (0)