Skip to content

Commit

Permalink
Merge pull request #6394 from laoj2/release-doc
Browse files Browse the repository at this point in the history
Update VPA release README to reference 1.X VPA versions.
  • Loading branch information
k8s-ci-robot authored Dec 22, 2023
2 parents fc48d5c + bb82ce3 commit 600cda5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions vertical-pod-autoscaler/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,27 @@ We use the issue to communicate what is state of the release.

1. [ ] Change the version in
[common/version-go](https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-autoscaler/common/version.go)
to `0.${next-minor}.0`,
to `1.${next-minor}.0`,
2. [ ] Commit and merge the change,
3. [ ] Go to the merged change,
4. [ ] [Create a new branch](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository) named `vpa-release-0.${next-minor}` from the
4. [ ] [Create a new branch](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository) named `vpa-release-1.${next-minor}` from the
merged change.

### New patch release

1. [ ] Bump the patch version number in VerticalPodAutoscalerVersion constant in
[common/version.go](https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-autoscaler/common/version.go).
Create a commit and merge by making a PR to the `vpa-release-0.${minor}` branch.
Create a commit and merge by making a PR to the `vpa-release-1.${minor}` branch.

## Build and stage images

Create a fresh clone of the repo and switch to the `vpa-release-0.${minor}`
Create a fresh clone of the repo and switch to the `vpa-release-1.${minor}`
branch. This makes sure you have no local changes while building the images.

For example:
```sh
git clone [email protected]:kubernetes/autoscaler.git
git switch vpa-release-0.14
git switch vpa-release-1.0
```

Once in the freshly cloned repo, build and stage the images.
Expand Down Expand Up @@ -127,7 +127,7 @@ sure nothing we care about will break if we do.
```sh
sed -i -s "s|[0-9]\+\.[0-9]\+\.[0-9]\+|[*vpa-version*]|" ./deploy/*-deployment*.yaml ./hack/vpa-process-yaml.sh
```
Merge this change into branch vpa-release-0.X and optionally into master if 0.X is the latest minor release (example
Merge this change into branch vpa-release-1.{$minor} and optionally into master if 1.{$minor} is the latest minor release (example
PR: [#5460](https://github.com/kubernetes/autoscaler/pull/5460)).
1. [ ] Tag the commit with version const change
Expand Down

0 comments on commit 600cda5

Please sign in to comment.