File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
vertical-pod-autoscaler/pkg Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -212,12 +212,12 @@ func (u *updater) RunOnce(ctx context.Context) {
212
212
// wrappers for metrics which are computed every loop run
213
213
controlledPodsCounter := metrics_updater .NewControlledPodsCounter ()
214
214
evictablePodsCounter := metrics_updater .NewEvictablePodsCounter ()
215
- inPlaceUpdatablePodsCounter := metrics_updater .NewInPlaceUpdtateablePodsCounter ()
215
+ inPlaceUpdatablePodsCounter := metrics_updater .NewInPlaceUpdatablePodsCounter ()
216
216
vpasWithEvictablePodsCounter := metrics_updater .NewVpasWithEvictablePodsCounter ()
217
217
vpasWithEvictedPodsCounter := metrics_updater .NewVpasWithEvictedPodsCounter ()
218
218
219
- vpasWithInPlaceUpdatablePodsCounter := metrics_updater .NewVpasWithInPlaceUpdtateablePodsCounter ()
220
- vpasWithInPlaceUpdatedPodsCounter := metrics_updater .NewVpasWithInPlaceUpdtatedPodsCounter ()
219
+ vpasWithInPlaceUpdatablePodsCounter := metrics_updater .NewVpasWithInPlaceUpdatablePodsCounter ()
220
+ vpasWithInPlaceUpdatedPodsCounter := metrics_updater .NewVpasWithInPlaceUpdatedPodsCounter ()
221
221
222
222
// using defer to protect against 'return' after evictionRateLimiter.Wait
223
223
defer controlledPodsCounter .Observe ()
Original file line number Diff line number Diff line change @@ -164,19 +164,19 @@ func AddEvictedPod(vpaSize int) {
164
164
evictedCount .WithLabelValues (strconv .Itoa (log2 )).Inc ()
165
165
}
166
166
167
- // NewInPlaceUpdtateablePodsCounter returns a wrapper for counting Pods which are matching in-place update criteria
168
- func NewInPlaceUpdtateablePodsCounter () * SizeBasedGauge {
169
- return newSizeBasedGauge (evictableCount )
167
+ // NewInPlaceUpdatablePodsCounter returns a wrapper for counting Pods which are matching in-place update criteria
168
+ func NewInPlaceUpdatablePodsCounter () * SizeBasedGauge {
169
+ return newSizeBasedGauge (inPlaceUpdatableCount )
170
170
}
171
171
172
- // NewVpasWithInPlaceUpdtateablePodsCounter returns a wrapper for counting VPA objects with Pods matching in-place update criteria
173
- func NewVpasWithInPlaceUpdtateablePodsCounter () * SizeBasedGauge {
174
- return newSizeBasedGauge (vpasWithEvictablePodsCount )
172
+ // NewVpasWithInPlaceUpdatablePodsCounter returns a wrapper for counting VPA objects with Pods matching in-place update criteria
173
+ func NewVpasWithInPlaceUpdatablePodsCounter () * SizeBasedGauge {
174
+ return newSizeBasedGauge (vpasWithInPlaceUpdatablePodsCount )
175
175
}
176
176
177
- // NewVpasWithInPlaceUpdtatedPodsCounter returns a wrapper for counting VPA objects with evicted Pods
178
- func NewVpasWithInPlaceUpdtatedPodsCounter () * SizeBasedGauge {
179
- return newSizeBasedGauge (vpasWithEvictedPodsCount )
177
+ // NewVpasWithInPlaceUpdatedPodsCounter returns a wrapper for counting VPA objects with in-place updated Pods
178
+ func NewVpasWithInPlaceUpdatedPodsCounter () * SizeBasedGauge {
179
+ return newSizeBasedGauge (vpasWithInPlaceUpdatedPodsCount )
180
180
}
181
181
182
182
// AddInPlaceUpdatedPod increases the counter of pods updated in place by Updater, by given VPA size
You can’t perform that action at this time.
0 commit comments