mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue Use a patched golang version for building linux/arm Fixes: #29904 Right now, linux/arm is broken because of an internal limitation in Go. I've filed an issue for it here: https://github.com/golang/go/issues/17028 The affected binaries of this limitation are hyperkube and kube-apiserver, which are the largest binaries. And when we now have a patched go 1.7.1 version for building "unsupported" but important architectures (ref: https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/multi-platform.md), we should also include the patch for ppc64le and start building ppc64le again. As soon as @laboger has the patch I need up on Github, I'll include ppc64le to this PR and we'll merge it TODO: - [ ] ~~Update the PR with patches for ppc64le at the same time @luxas~~ - [x] Push the new kube-cross image @ixdy - [x] Run a full `make release` before to verify nothing breaks @luxas + @ixdy - [ ] Cherrypick into the 1.4 branch @luxas + (who?) @lavalamp @smarterclayton @ixdy @rsc @davecheney @wojtek-t @jfrazelle @bradfitz @david-mcmahon @pwittrock |
||
---|---|---|
.. | ||
cni-conf | ||
static-pods | ||
Dockerfile | ||
Makefile | ||
README.md | ||
copy-addons.sh | ||
kube-proxy-ds.yaml | ||
setup-files.sh |
README.md
hyperkube
hyperkube
is an all-in-one binary for the Kubernetes server components
Also, it's very easy to run this hyperkube
setup dockerized.
See http://kubernetes.io/docs/getting-started-guides/docker/ for up-to-date commands.
hyperkube
is built for multiple architectures and pushed automatically on every release.
How to release by hand
# First, build the binaries
$ build/run.sh make cross
# Build for linux/amd64 (default)
$ make push VERSION={target_version} ARCH=amd64
# ---> gcr.io/google_containers/hyperkube-amd64:VERSION
# ---> gcr.io/google_containers/hyperkube:VERSION (image with backwards-compatible naming)
$ make push VERSION={target_version} ARCH=arm
# ---> gcr.io/google_containers/hyperkube-arm:VERSION
$ make push VERSION={target_version} ARCH=arm64
# ---> gcr.io/google_containers/hyperkube-arm64:VERSION
$ make push VERSION={target_version} ARCH=ppc64le
# ---> gcr.io/google_containers/hyperkube-ppc64le:VERSION
If you don't want to push the images, run make
or make build
instead