As part of kubernetes/kubernetes#88676, the hyperkube
image is be removed from the Kubernetes releases.
The first release not producing a hyperkube
image anymore is v1.19.
This repository is used to produce a Docker image that contains the following Kubernetes binaries:
- kubelet
- kubectl
The rationale behind it is that Gardener requires those two binaries to present on each worker nodes of shoot clusters.
While it could simply download them from the internet for the clusters provisioned to hyperscalers, clusters provisioned to private/fenced environments do not necessarily have access to the internet.
However, the worker nodes will always have access to a image registry by design (otherwise, nothing will function at all).
Hence, the hyperkube
image can be downloaded from the configured image registry and be used for copying over the binaries from the image to the host.
The image is as minimal as possible to only make the binaries portable. It is not designed in a way to be used directly.
Build image with the version stored in KUBERNETES_VERSION
:
make docker-image
Build image with a special version:
make docker-image KUBERNETES_VERSION=v1.29.1
Please find further resources about out project here: