Skip to content

Commit dfdfd96

Browse files
committed
Quick steps for generating hyperkube image
1 parent 59e7570 commit dfdfd96

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

cluster/images/hyperkube/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@
44

55
`hyperkube` is built for multiple architectures and _the image is pushed automatically on every release._
66

7+
#### Images for development scenarios
8+
9+
During the development process, it's effective to just build only the required binaries for specific
10+
architecture and generate single hyperkube image from it. The following shows how to generate
11+
linux/amd64 hyperkube image:
12+
13+
```console
14+
# Run the following from the top level kubernetes directory, to build the binaries necessary for creating hyperkube image.
15+
$ KUBE_BUILD_PLATFORMS=linux/amd64 make kube-apiserver kube-controller-manager kube-proxy kube-scheduler kubectl kubelet
16+
17+
# Create and push the hyperkube image
18+
$ REGISTRY=<registry> VERSION=<image version> ARCH=amd64 make -C cluster/images/hyperkube push
19+
```
20+
721
#### How to release by hand
822

923
```console

0 commit comments

Comments
 (0)