Skip to content

Commit eeb1312

Browse files
authored
chore(deps): bump vertical-pod-autoscaler from 1.4.1 to 1.6.0 (7582)
chore(deps): bump vertical-pod-autoscaler from 1.4.1 to 1.6.0 Closes #7568 --- chore: update CHANGELOG with PR #7582 reference
1 parent c50d2fb commit eeb1312

File tree

6 files changed

+64
-10
lines changed

6 files changed

+64
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* Fix #7541: bump gateway-api from 1.4.0 to 1.5.0
2626
* Fix #7538: bump cert-manager from 1.18.2 to 1.19.4
2727
* Fix #7578: bump tektoncd/pipeline from 1.9.0 to 1.10.2
28+
* Fix #7582: bump vertical-pod-autoscaler from 1.4.1 to 1.6.0
2829

2930
#### New Features
3031

extensions/verticalpodautoscaler/model/src/generated/java/io/fabric8/autoscaling/api/model/v1/ContainerResourcePolicy.java

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
"controlledValues",
4747
"maxAllowed",
4848
"minAllowed",
49-
"mode"
49+
"mode",
50+
"oomBumpUpRatio",
51+
"oomMinBumpUp"
5052
})
5153
@ToString
5254
@EqualsAndHashCode
@@ -88,6 +90,10 @@ public class ContainerResourcePolicy implements Editable<ContainerResourcePolicy
8890
private Map<String, Quantity> minAllowed = new LinkedHashMap<>();
8991
@JsonProperty("mode")
9092
private String mode;
93+
@JsonProperty("oomBumpUpRatio")
94+
private Quantity oomBumpUpRatio;
95+
@JsonProperty("oomMinBumpUp")
96+
private Quantity oomMinBumpUp;
9197
@JsonIgnore
9298
private Map<String, Object> additionalProperties = new LinkedHashMap<String, Object>();
9399

@@ -97,14 +103,16 @@ public class ContainerResourcePolicy implements Editable<ContainerResourcePolicy
97103
public ContainerResourcePolicy() {
98104
}
99105

100-
public ContainerResourcePolicy(String containerName, List<String> controlledResources, String controlledValues, Map<String, Quantity> maxAllowed, Map<String, Quantity> minAllowed, String mode) {
106+
public ContainerResourcePolicy(String containerName, List<String> controlledResources, String controlledValues, Map<String, Quantity> maxAllowed, Map<String, Quantity> minAllowed, String mode, Quantity oomBumpUpRatio, Quantity oomMinBumpUp) {
101107
super();
102108
this.containerName = containerName;
103109
this.controlledResources = controlledResources;
104110
this.controlledValues = controlledValues;
105111
this.maxAllowed = maxAllowed;
106112
this.minAllowed = minAllowed;
107113
this.mode = mode;
114+
this.oomBumpUpRatio = oomBumpUpRatio;
115+
this.oomMinBumpUp = oomMinBumpUp;
108116
}
109117

110118
/**
@@ -206,6 +214,38 @@ public void setMode(String mode) {
206214
this.mode = mode;
207215
}
208216

217+
/**
218+
* ContainerResourcePolicy controls how autoscaler computes the recommended resources for a specific container.
219+
*/
220+
@JsonProperty("oomBumpUpRatio")
221+
public Quantity getOomBumpUpRatio() {
222+
return oomBumpUpRatio;
223+
}
224+
225+
/**
226+
* ContainerResourcePolicy controls how autoscaler computes the recommended resources for a specific container.
227+
*/
228+
@JsonProperty("oomBumpUpRatio")
229+
public void setOomBumpUpRatio(Quantity oomBumpUpRatio) {
230+
this.oomBumpUpRatio = oomBumpUpRatio;
231+
}
232+
233+
/**
234+
* ContainerResourcePolicy controls how autoscaler computes the recommended resources for a specific container.
235+
*/
236+
@JsonProperty("oomMinBumpUp")
237+
public Quantity getOomMinBumpUp() {
238+
return oomMinBumpUp;
239+
}
240+
241+
/**
242+
* ContainerResourcePolicy controls how autoscaler computes the recommended resources for a specific container.
243+
*/
244+
@JsonProperty("oomMinBumpUp")
245+
public void setOomMinBumpUp(Quantity oomMinBumpUp) {
246+
this.oomMinBumpUp = oomMinBumpUp;
247+
}
248+
209249
@JsonIgnore
210250
public ContainerResourcePolicyBuilder edit() {
211251
return new ContainerResourcePolicyBuilder(this);

extensions/verticalpodautoscaler/model/src/generated/java/io/fabric8/autoscaling/api/model/v1/PodUpdatePolicy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,15 @@ public void setMinReplicas(Integer minReplicas) {
126126
}
127127

128128
/**
129-
* Controls when autoscaler applies changes to the pod resources. The default is 'Auto'.
129+
* Controls when autoscaler applies changes to the pod resources. The default is 'Recreate'.
130130
*/
131131
@JsonProperty("updateMode")
132132
public String getUpdateMode() {
133133
return updateMode;
134134
}
135135

136136
/**
137-
* Controls when autoscaler applies changes to the pod resources. The default is 'Auto'.
137+
* Controls when autoscaler applies changes to the pod resources. The default is 'Recreate'.
138138
*/
139139
@JsonProperty("updateMode")
140140
public void setUpdateMode(String updateMode) {

kubernetes-model-generator/openapi/generator/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ require (
3434
k8s.io/api v0.35.2
3535
k8s.io/apiextensions-apiserver v0.35.2
3636
k8s.io/apimachinery v0.35.2
37-
k8s.io/autoscaler/vertical-pod-autoscaler v1.4.1
37+
k8s.io/autoscaler/vertical-pod-autoscaler v1.6.0
3838
k8s.io/client-go v12.0.0+incompatible
39-
k8s.io/gengo/v2 v2.0.0-20250922181213-ec3ebc5fd46b
39+
k8s.io/gengo/v2 v2.0.0-20251215205346-5ee0d033ba5b
4040
k8s.io/kube-openapi v0.0.0-20260127142750-a19766b6e2d4
4141
k8s.io/metrics v0.35.2
4242
knative.dev/caching v0.0.0-20260120130310-f1fc03b7f5ee

kubernetes-model-generator/openapi/generator/go.sum

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3379,6 +3379,7 @@ github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSS
33793379
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
33803380
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
33813381
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
3382+
github.com/stretchr/objx v0.5.3 h1:jmXUvGomnU1o3W/V5h2VEradbpJDwGrzugQQvL0POH4=
33823383
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
33833384
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
33843385
github.com/stretchr/testify v1.3.1-0.20190311161405-34c6fa2dc709/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
@@ -5170,6 +5171,8 @@ k8s.io/apiserver v0.35.2 h1:rb52v0CZGEL0FkhjS+I6jHflAp7fZ4MIaKcEHX7wmDk=
51705171
k8s.io/apiserver v0.35.2/go.mod h1:CROJUAu0tfjZLyYgSeBsBan2T7LUJGh0ucWwTCSSk7g=
51715172
k8s.io/autoscaler/vertical-pod-autoscaler v1.4.1 h1:egVuwoIPvX7EPRi57bxpoIu/+9z1fK1AqyyhI/p8+v0=
51725173
k8s.io/autoscaler/vertical-pod-autoscaler v1.4.1/go.mod h1:rIBiAf+sK2mw8ryeHIZuY5juhJ4e2rNLwo59SDRXF7I=
5174+
k8s.io/autoscaler/vertical-pod-autoscaler v1.6.0 h1:JC2YsVS6njOY8+a2mr8YX2FwZCpWfe7oVzjk98YPKZg=
5175+
k8s.io/autoscaler/vertical-pod-autoscaler v1.6.0/go.mod h1:w7pOVKXZAZsct/dXWsGJflrGOTkMpBxI75KyQjUYg7Y=
51735176
k8s.io/client-go v0.35.2 h1:YUfPefdGJA4aljDdayAXkc98DnPkIetMl4PrKX97W9o=
51745177
k8s.io/client-go v0.35.2/go.mod h1:4QqEwh4oQpeK8AaefZ0jwTFJw/9kIjdQi0jpKeYvz7g=
51755178
k8s.io/code-generator v0.21.4/go.mod h1:K3y0Bv9Cz2cOW2vXUrNZlFbflhuPvuadW6JdnN6gGKo=
@@ -5193,6 +5196,8 @@ k8s.io/gengo/v2 v2.0.0-20250207200755-1244d31929d7/go.mod h1:EJykeLsmFC60UQbYJez
51935196
k8s.io/gengo/v2 v2.0.0-20250604051438-85fd79dbfd9f/go.mod h1:EJykeLsmFC60UQbYJezXkEsG2FLrt0GPNkU5iK5GWxU=
51945197
k8s.io/gengo/v2 v2.0.0-20250922181213-ec3ebc5fd46b h1:gMplByicHV/TJBizHd9aVEsTYoJBnnUAT5MHlTkbjhQ=
51955198
k8s.io/gengo/v2 v2.0.0-20250922181213-ec3ebc5fd46b/go.mod h1:CgujABENc3KuTrcsdpGmrrASjtQsWCT7R99mEV4U/fM=
5199+
k8s.io/gengo/v2 v2.0.0-20251215205346-5ee0d033ba5b h1:0YkdvW3rX2vaBWsqCGZAekxPRwaI5NuYNprOsMNVLns=
5200+
k8s.io/gengo/v2 v2.0.0-20251215205346-5ee0d033ba5b/go.mod h1:yvyl3l9E+UxlqOMUULdKTAYB0rEhsmjr7+2Vb/1pCSo=
51965201
k8s.io/klog v0.2.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk=
51975202
k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I=
51985203
k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=

kubernetes-model-generator/openapi/schemas/io.k8s.autoscaling.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@
4444
"mode": {
4545
"description": "Whether autoscaler is enabled for the container. The default is \"Auto\".",
4646
"type": "string"
47+
},
48+
"oomBumpUpRatio": {
49+
"description": "oomBumpUpRatio is the ratio to increase memory when OOM is detected.",
50+
"$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
51+
},
52+
"oomMinBumpUp": {
53+
"description": "oomMinBumpUp is the minimum increase in memory when OOM is detected.",
54+
"$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
4755
}
4856
},
4957
"x-fabric8-info": {
@@ -154,7 +162,7 @@
154162
"format": "int32"
155163
},
156164
"updateMode": {
157-
"description": "Controls when autoscaler applies changes to the pod resources. The default is 'Auto'.",
165+
"description": "Controls when autoscaler applies changes to the pod resources. The default is 'Recreate'.",
158166
"type": "string"
159167
}
160168
},
@@ -375,7 +383,7 @@
375383
"$ref": "#/definitions/io.k8s.autoscaling.v1.HistogramCheckpoint"
376384
},
377385
"firstSampleStart": {
378-
"description": "Timestamp of the fist sample from the histograms.",
386+
"description": "Timestamp of the first sample from the histograms.",
379387
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
380388
},
381389
"lastSampleStart": {
@@ -885,7 +893,7 @@
885893
"$ref": "#/definitions/io.k8s.autoscaling.v1beta1.HistogramCheckpoint"
886894
},
887895
"firstSampleStart": {
888-
"description": "Timestamp of the fist sample from the histograms.",
896+
"description": "Timestamp of the first sample from the histograms.",
889897
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
890898
},
891899
"lastSampleStart": {
@@ -1365,7 +1373,7 @@
13651373
"$ref": "#/definitions/io.k8s.autoscaling.v1beta2.HistogramCheckpoint"
13661374
},
13671375
"firstSampleStart": {
1368-
"description": "Timestamp of the fist sample from the histograms.",
1376+
"description": "Timestamp of the first sample from the histograms.",
13691377
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
13701378
},
13711379
"lastSampleStart": {

0 commit comments

Comments
 (0)