|
| 1 | +# Preparing a bootkube release |
| 2 | + |
| 3 | +### Update kubernetes vendor code |
| 4 | + |
| 5 | +- Bump `VENDOR_VERSION` in `Makefile` |
| 6 | +- Run `make vendor` |
| 7 | + |
| 8 | +### Update hyperkube image |
| 9 | + |
| 10 | +- Update hyperkube image version in templates: `pkg/asset/internal/templates.go` |
| 11 | +- Update on-host kubelet versions (`KUBELET_VERSION`) |
| 12 | + - hack/multi-node/user-data.sample |
| 13 | + - hack/single-node/user-data.sample |
| 14 | + |
| 15 | +### Update conformance test k8s version |
| 16 | + |
| 17 | +- hack/tests/conformance-test.sh (`CONFORMANCE_VERSION`) |
| 18 | + |
| 19 | +### Run conformance test |
| 20 | + |
| 21 | +Easiest is to use internal jenkins jobs |
| 22 | + |
| 23 | +Or, manually: |
| 24 | + |
| 25 | +``` |
| 26 | +# GCE |
| 27 | +./hack/tests/conformance-gce.sh |
| 28 | +``` |
| 29 | + |
| 30 | +``` |
| 31 | +# Vagrant |
| 32 | +make conformance-multi |
| 33 | +``` |
| 34 | + |
| 35 | +``` |
| 36 | +# Other |
| 37 | +./hack/tests/conformance-test.sh |
| 38 | +``` |
| 39 | + |
| 40 | +### Cut a release image |
| 41 | + |
| 42 | +Easiest is to use internal jenkins jobs |
| 43 | + |
| 44 | +Or, manually: |
| 45 | + |
| 46 | +``` |
| 47 | +PUSH_IMAGE=true ./build/build-image.sh |
| 48 | +``` |
| 49 | + |
| 50 | +# Updating quickstart guides |
| 51 | + |
| 52 | +Note: the quickstart guides use the release images, so we should not update them until after building/pushing new release. |
| 53 | + |
| 54 | +Update on-host kubelet version (`KUBELET_VERSION`) |
| 55 | + |
| 56 | +- hack/quickstart/kubelet.master |
| 57 | +- hack/quickstart/kubelet.worker |
| 58 | + |
| 59 | +Update the bootkube image version (to latest release) |
| 60 | + |
| 61 | +- hack/quickstart/init-master.sh (`BOOTKUBE_VERSION`) |
| 62 | + |
| 63 | +# Updating checkpointer |
| 64 | + |
| 65 | +This only needs to happen when changes have been made to the checkpointer code / container. |
| 66 | + |
| 67 | +### Build a new checkpointer image |
| 68 | + |
| 69 | +Easiest is to use internal jenkin jobs |
| 70 | + |
| 71 | +Or, manually: |
| 72 | + |
| 73 | +``` |
| 74 | +BUILD_IMAGE=checkpoint PUSH_IMAGE=true ./build/build-image.sh |
| 75 | +``` |
| 76 | + |
| 77 | +### Update checkpointer manifest |
| 78 | + |
| 79 | +In `pkg/asset/internal/templates.go` change: |
| 80 | + |
| 81 | +`CheckpointerTemplate` manifest to use the image built in previous step. |
| 82 | + |
0 commit comments