|
1 | 1 | # Preparing a bootkube release |
2 | 2 |
|
3 | | -### Update kubernetes vendor code |
| 3 | +## Updating Kubernetes Version |
4 | 4 |
|
5 | | -- Bump `VENDOR_VERSION` in `Makefile` |
6 | | -- Run `make vendor` |
| 5 | +### Updating Kubernetes vendor code |
7 | 6 |
|
8 | | -### Update hyperkube image |
| 7 | +Vendoring currently relies on the [glide](https://github.com/Masterminds/glide) and [glide-vc](https://github.com/sgotti/glide-vc) tools. |
9 | 8 |
|
10 | | -- Update hyperkube image version in templates: `pkg/asset/internal/templates.go` |
11 | | -- Update on-host kubelet versions (`KUBELET_IMAGE_TAG`) |
12 | | - - hack/multi-node/user-data.sample |
13 | | - - hack/single-node/user-data.sample |
14 | | - - hack/quickstart/kubelet.master |
15 | | - - hack/quickstart/kubelet.worker |
| 9 | +- Update pinned versions in `glide.yaml` |
| 10 | +- Run `make vendor` |
16 | 11 |
|
17 | | -### Update conformance test k8s version |
| 12 | +### Updating hyperkube image / Kubernetes version |
18 | 13 |
|
19 | | -- hack/tests/conformance-test.sh (`CONFORMANCE_VERSION`) |
| 14 | +- Update hyperkube image for manifests in templates: |
| 15 | + - `pkg/asset/internal/templates.go` |
| 16 | +- Update conformance test version: (`CONFORMANCE_VERSION`) |
| 17 | + - `hack/tests/conformance-test.sh` |
| 18 | +- Update on-host kubelet versions (`KUBELET_IMAGE_TAG`) |
| 19 | + - `hack/multi-node/user-data.sample` |
| 20 | + - `hack/single-node/user-data.sample` |
| 21 | + - `hack/quickstart/kubelet.master` |
| 22 | + - `hack/quickstart/kubelet.worker` |
20 | 23 |
|
21 | | -### Run conformance test |
| 24 | +## Run conformance test |
22 | 25 |
|
23 | | -Easiest is to use internal jenkins jobs [bootkube-development](https://jenkins.coreos.systems/job/bootkube-development/) |
| 26 | +Easiest is to use internal jenkins job: [bootkube-development](https://jenkins.coreos.systems/job/bootkube-development/) |
24 | 27 |
|
25 | 28 | Or, manually: |
26 | 29 |
|
@@ -48,25 +51,30 @@ git push origin vX.Y.Z |
48 | 51 |
|
49 | 52 | ### Cut a release image |
50 | 53 |
|
51 | | -Easiest is to use internal jenkins jobs (`bootkube-release`using release tag). This job will push the image to the quay.io/coreos/bootkube repo, and archive a tarball of binary releases (manually upload to github release) |
| 54 | +Easiest is to use internal jenkins job: [bootkube-release](https://jenkins.coreos.systems/view/Kubernetes/job/bootkube-release/). |
| 55 | +This job will push the image to the quay.io/coreos/bootkube repo, and archive a tarball of binary releases (manually upload to github release) |
52 | 56 |
|
53 | 57 | Or, manually: |
54 | 58 |
|
55 | 59 | ``` |
56 | 60 | git checkout vX.Y.Z |
| 61 | +make release |
57 | 62 | PUSH_IMAGE=true ./build/build-image.sh |
58 | 63 | ``` |
| 64 | + |
59 | 65 | # Updating checkpointer |
60 | 66 |
|
61 | 67 | This only needs to happen when changes have been made to the checkpointer code / container. |
62 | 68 |
|
63 | 69 | ### Build a new checkpointer image |
64 | 70 |
|
65 | | -Easiest is to use internal jenkin jobs |
| 71 | +Easiest is to use internal jenkin job: [checkpointer-release](https://jenkins.coreos.systems/view/Kubernetes/job/checkpointer-release/) |
66 | 72 |
|
67 | 73 | Or, manually: |
68 | 74 |
|
69 | 75 | ``` |
| 76 | +git checkout master # Checkpointer releases should only be built from commits reachable by master |
| 77 | +make release |
70 | 78 | BUILD_IMAGE=checkpoint PUSH_IMAGE=true ./build/build-image.sh |
71 | 79 | ``` |
72 | 80 |
|
|
0 commit comments