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: vertical-pod-autoscaler/FAQ.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
5
5
-[VPA restarts my pods but does not modify CPU or memory settings. Why?](#vpa-restarts-my-pods-but-does-not-modify-CPU-or-memory-settings)
6
6
-[How can I use Prometheus as a history provider for the VPA recommender?](#how-can-i-use-prometheus-as-a-history-provider-for-the-vpa-recommender)
7
+
-[I get recommendations for my single pod replicaSet, but they are not applied. Why?](#i-get-recommendations-for-my-single-pod-replicaset-but-they-are-not-applied)
7
8
8
9
### VPA restarts my pods but does not modify CPU or memory settings
9
10
@@ -129,3 +130,17 @@ Here you should see the flags that you set for the VPA recommender and you shoul
129
130
```Initializing VPA from history provider```
130
131
131
132
This means that the VPA recommender is now using Prometheus as the history provider.
133
+
134
+
### I get recommendations for my single pod replicaSet but they are not applied
135
+
136
+
By default, the [`--min-replicas`](pkg/updater/main.go#L44) flag on the updater is set to 2. To change this, you can supply the arg in the [deploys/updater-deployment.yaml](deploy/updater-deployment.yaml) file:
137
+
138
+
```yaml
139
+
spec:
140
+
containers:
141
+
- name: updater
142
+
- args:
143
+
- "--min-replicas=1"
144
+
```
145
+
146
+
and then deploy it manually if your vpa is already configured.
0 commit comments