mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 10:20:20 +00:00
.. | ||
attachlease | ||
rollback | ||
Dockerfile | ||
Makefile | ||
migrate-if-needed.sh | ||
README.md | ||
start-stop-etcd.sh |
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
First, run the migration and rollback tests.
$ make build test
Next, build and push the docker images for all supported architectures.
# Build for linux/amd64 (default)
$ make push ARCH=amd64
# ---> staging-k8s.gcr.io/etcd-amd64:TAG
# ---> staging-k8s.gcr.io/etcd:TAG
$ make push ARCH=arm
# ---> staging-k8s.gcr.io/etcd-arm:TAG
$ make push ARCH=arm64
# ---> staging-k8s.gcr.io/etcd-arm64:TAG
$ make push ARCH=ppc64le
# ---> staging-k8s.gcr.io/etcd-ppc64le:TAG
$ make push ARCH=s390x
# ---> staging-k8s.gcr.io/etcd-s390x:TAG
If you don't want to push the images, run make
or make build
instead