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

41 lines
1.1 KiB
Markdown
Raw Normal View History

2018-01-09 18:57:14 +00:00
### etcd
This is a small etcd image used in Kubernetes setups where `etcd` is deployed as a docker image.
For `amd64`, official `etcd` and `etcdctl` binaries are downloaded from Github to maintain official support.
For other architectures, `etcd` is cross-compiled from source. Arch-specific `busybox` images serve as base images.
#### How to release
2018-03-06 22:33:18 +00:00
First, run the migration and rollback tests.
```console
$ make build test
```
Next, build and push the docker images for all supported architectures.
2018-01-09 18:57:14 +00:00
```console
# Build for linux/amd64 (default)
$ make push ARCH=amd64
2018-03-06 22:33:18 +00:00
# ---> staging-k8s.gcr.io/etcd-amd64:TAG
# ---> staging-k8s.gcr.io/etcd:TAG
2018-01-09 18:57:14 +00:00
$ make push ARCH=arm
2018-03-06 22:33:18 +00:00
# ---> staging-k8s.gcr.io/etcd-arm:TAG
2018-01-09 18:57:14 +00:00
$ make push ARCH=arm64
2018-03-06 22:33:18 +00:00
# ---> staging-k8s.gcr.io/etcd-arm64:TAG
2018-01-09 18:57:14 +00:00
$ make push ARCH=ppc64le
2018-03-06 22:33:18 +00:00
# ---> staging-k8s.gcr.io/etcd-ppc64le:TAG
2018-01-09 18:57:14 +00:00
$ make push ARCH=s390x
2018-03-06 22:33:18 +00:00
# ---> staging-k8s.gcr.io/etcd-s390x:TAG
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/etcd/README.md?pixel)]()