@@ -28,6 +28,7 @@ We use the issue to communicate what is state of the release.
2828 To see what code was actually tested, look for ` ===== last commit ===== `
2929 entries in the full ` build-log.txt ` of a given test run.
30303 . [ ] Make sure the end to end VPA tests are green.
31+ 4 . [ ] Make sure the [ continuous image builds] ( https://testgrid.k8s.io/sig-autoscaling-vpa-images#post-autoscaler-push-vpa-images ) are green.
3132
3233### New minor release
3334
@@ -46,6 +47,45 @@ We use the issue to communicate what is state of the release.
4647
4748## Build and stage images
4849
50+ Select either the Automatic and Manual process below.
51+
52+ ### Option 1: (Preffered) Automatic
53+
54+ NOTE: Currently this process can only be used for new minor releases. Patch
55+ releases need to follow the manual process below.
56+
57+ Images are continuously built as part of the PR release process and are listed
58+ in the following repository:
59+ [ gcr.io/k8s-staging-autoscaling] ( http://gcr.io/k8s-staging-autoscaling ) . Also
60+ see the
61+ [ dashboard] ( https://testgrid.k8s.io/sig-autoscaling-vpa-images#post-autoscaler-push-vpa-images )
62+ for build status.
63+
64+ To stage an image:
65+
66+ 1 . Pick an image to promote from the latest automatically built images in the
67+ repository. Make note of the automatically generated tag (the tag will contain
68+ the date, the name of the latest tag in the repository and a commit hash). For
69+ example ` v20250430-cluster-autoscaler-chart-9.46.6-81-g6a6a912b4 ` .
70+
71+ 2 . Set the ` BUILD_TAG ` variable to this tag in your shell:
72+
73+ ``` sh
74+ BUILD_TAG=< tag>
75+ ```
76+
77+ 3 . Now tag this image with the latest version tag:
78+
79+ ``` sh
80+ cd vertical-pod-autoscaler/
81+ TAG=` grep ' const versionCore = ' common/version.go | cut -d ' "' -f 2`
82+ gcloud artifacts docker tags add gcr.io/k8s-staging-autoscaling/vpa-admission-controller:$BUILD_TAG gcr.io/k8s-staging-autoscaling/vpa-admission-controller:$TAG --project=k8s-staging-autoscaling
83+ gcloud artifacts docker tags add gcr.io/k8s-staging-autoscaling/vpa-recommender:$BUILD_TAG gcr.io/k8s-staging-autoscaling/vpa-recommender:$TAG --project=k8s-staging-autoscaling
84+ gcloud artifacts docker tags add gcr.io/k8s-staging-autoscaling/vpa-updater:$BUILD_TAG gcr.io/k8s-staging-autoscaling/vpa-updater:$TAG --project=k8s-staging-autoscaling
85+ ```
86+
87+ ### Option 2: Manual
88+
4989Create a fresh clone of the repo and switch to the ` vpa-release-1.${minor} `
5090branch. This makes sure you have no local changes while building the images.
5191
0 commit comments