ceph-csi/vendor/k8s.io/kubernetes/cluster/images/hyperkube/README.md

36 lines
1.1 KiB
Markdown
Raw Normal View History

2018-01-09 18:57:14 +00:00
### hyperkube
`hyperkube` is an all-in-one binary for the Kubernetes server components
`hyperkube` is built for multiple architectures and _the image is pushed automatically on every release._
#### How to release by hand
```console
# First, build the binaries
$ build/run.sh make cross
# Build for linux/amd64 (default)
2018-03-06 22:33:18 +00:00
# export REGISTRY=$HOST/$ORG to switch from staging-k8s.gcr.io
2018-01-09 18:57:14 +00:00
$ make push VERSION={target_version} ARCH=amd64
2018-03-06 22:33:18 +00:00
# ---> staging-k8s.gcr.io/hyperkube-amd64:VERSION
# ---> staging-k8s.gcr.io/hyperkube:VERSION (image with backwards-compatible naming)
2018-01-09 18:57:14 +00:00
$ make push VERSION={target_version} ARCH=arm
2018-03-06 22:33:18 +00:00
# ---> staging-k8s.gcr.io/hyperkube-arm:VERSION
2018-01-09 18:57:14 +00:00
$ make push VERSION={target_version} ARCH=arm64
2018-03-06 22:33:18 +00:00
# ---> staging-k8s.gcr.io/hyperkube-arm64:VERSION
2018-01-09 18:57:14 +00:00
$ make push VERSION={target_version} ARCH=ppc64le
2018-03-06 22:33:18 +00:00
# ---> staging-k8s.gcr.io/hyperkube-ppc64le:VERSION
2018-01-09 18:57:14 +00:00
$ make push VERSION={target_version} ARCH=s390x
2018-03-06 22:33:18 +00:00
# ---> staging-k8s.gcr.io/hyperkube-s390x:VERSION
2018-01-09 18:57:14 +00:00
```
If you don't want to push the images, run `make` or `make build` instead
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/cluster/images/hyperkube/README.md?pixel)]()