Skip to content

Commit 29b611d

Browse files
authored
Merge pull request #7775 from raywainman/master
VPA: Small documentation changes to supplement removal of v1beta2
2 parents d676e07 + e27059e commit 29b611d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

vertical-pod-autoscaler/MIGRATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Vertical Pod Autoscaler Migration
22

3+
### Notice on switching to v1 version (0.4.X-1.2.X to >=1.3.X)
4+
5+
The `v1beta2` API was removed in 1.3.0.
6+
7+
Since `v1beta2` is strictly a subset of `v1`, migrating to `v1` is as simple as
8+
changing the `apiVersion` to `autoscaling.k8s.io/v1`.
9+
310
### Notice on switching to v1beta2 version (0.3.X to >=0.4.0)
411

512
In 0.4.0 we introduced a new version of the API - `autoscaling.k8s.io/v1beta2`.

vertical-pod-autoscaler/examples/redis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: autoscaling.k8s.io/v1beta2
2+
apiVersion: autoscaling.k8s.io/v1
33
kind: VerticalPodAutoscaler
44
metadata:
55
name: redis-vpa

0 commit comments

Comments
 (0)