You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/aks/use-metrics-server-vertical-pod-autoscaling.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Metrics server VPA throttleing in Azure Kubernetes Service (AKS)
2
+
title: Metrics server VPA throttling in Azure Kubernetes Service (AKS)
3
3
description: Learn how to vertically autoscale your pod on an Azure Kubernetes Service (AKS) cluster.
4
4
ms.topic: article
5
5
ms.custom: devx-track-azurecli
@@ -18,7 +18,7 @@ AKS cluster is running Kubernetes version 1.24 and higher.
18
18
19
19
## Metrics server crashloopbackoff or throttling
20
20
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.
22
22
23
23
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.
24
24
@@ -43,7 +43,7 @@ To update the coefficient values, create a ConfigMap in the overlay *kube-system
43
43
memoryPerNode: 8Mi
44
44
```
45
45
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:
47
47
48
48
* cpu: (100+1n) millicore
49
49
* memory: (100+8n) mebibyte
@@ -62,7 +62,7 @@ To update the coefficient values, create a ConfigMap in the overlay *kube-system
62
62
kubectl -n kube-system delete po metrics-server-pod-name
63
63
```
64
64
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.
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.
83
83
84
84
## Manually configure Metrics Server resource usage
85
85
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.
87
87
88
88
If you would like to bypass VPA for Metrics Server and manually control its resource usage, perform the following steps.
89
89
@@ -113,7 +113,7 @@ If you would like to bypass VPA for Metrics Server and manually control its reso
113
113
* cpu: 100 millicore
114
114
* memory: 100 mebibyte
115
115
116
-
So changing the number of nodes will not trigger the autoscaling.
116
+
Changing the number of nodes doesn't trigger autoscaling.
117
117
118
118
2. Create the ConfigMap using the [kubectl apply][kubectl-apply] command and specify the name of your YAML manifest:
119
119
@@ -148,7 +148,7 @@ If you would like to bypass VPA for Metrics Server and manually control its reso
148
148
149
149
## Troubleshooting
150
150
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`.
152
152
153
153
```yml
154
154
apiVersion: v1
@@ -169,7 +169,7 @@ If you would like to bypass VPA for Metrics Server and manually control its reso
169
169
memoryPerNode: 8Mi
170
170
```
171
171
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.
173
173
174
174
```output
175
175
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
193
193
194
194
## Next steps
195
195
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].
0 commit comments