mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-20 01:01:22 +00:00
Quick steps for generating hyperkube image
This commit is contained in:
parent
59e7570c38
commit
dfdfd964e3
@ -4,6 +4,20 @@
|
|||||||
|
|
||||||
`hyperkube` is built for multiple architectures and _the image is pushed automatically on every release._
|
`hyperkube` is built for multiple architectures and _the image is pushed automatically on every release._
|
||||||
|
|
||||||
|
#### Images for development scenarios
|
||||||
|
|
||||||
|
During the development process, it's effective to just build only the required binaries for specific
|
||||||
|
architecture and generate single hyperkube image from it. The following shows how to generate
|
||||||
|
linux/amd64 hyperkube image:
|
||||||
|
|
||||||
|
```console
|
||||||
|
# Run the following from the top level kubernetes directory, to build the binaries necessary for creating hyperkube image.
|
||||||
|
$ KUBE_BUILD_PLATFORMS=linux/amd64 make kube-apiserver kube-controller-manager kube-proxy kube-scheduler kubectl kubelet
|
||||||
|
|
||||||
|
# Create and push the hyperkube image
|
||||||
|
$ REGISTRY=<registry> VERSION=<image version> ARCH=amd64 make -C cluster/images/hyperkube push
|
||||||
|
```
|
||||||
|
|
||||||
#### How to release by hand
|
#### How to release by hand
|
||||||
|
|
||||||
```console
|
```console
|
||||||
|
Loading…
Reference in New Issue
Block a user