Skip to content

Commit

Permalink
Merge pull request #7775 from raywainman/master
Browse files Browse the repository at this point in the history
VPA: Small documentation changes to supplement removal of v1beta2
  • Loading branch information
k8s-ci-robot authored Jan 28, 2025
2 parents d676e07 + e27059e commit 29b611d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions vertical-pod-autoscaler/MIGRATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Vertical Pod Autoscaler Migration

### Notice on switching to v1 version (0.4.X-1.2.X to >=1.3.X)

The `v1beta2` API was removed in 1.3.0.

Since `v1beta2` is strictly a subset of `v1`, migrating to `v1` is as simple as
changing the `apiVersion` to `autoscaling.k8s.io/v1`.

### Notice on switching to v1beta2 version (0.3.X to >=0.4.0)

In 0.4.0 we introduced a new version of the API - `autoscaling.k8s.io/v1beta2`.
Expand Down
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/examples/redis.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: autoscaling.k8s.io/v1beta2
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: redis-vpa
Expand Down

0 comments on commit 29b611d

Please sign in to comment.