k3s/cluster/images/etcd
Jeff Grafton ef56a8d6bb Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
..
attachlease Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
rollback Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
Dockerfile Add etcd 3.x minor version rollback support to migrate-if-needed.sh 2018-02-12 15:02:02 -08:00
Makefile Add etcd 3.x minor version rollback support to migrate-if-needed.sh 2018-02-12 15:02:02 -08:00
README.md Add etcd 3.x minor version rollback support to migrate-if-needed.sh 2018-02-12 15:02:02 -08:00
migrate-if-needed.sh Add etcd 3.x minor version rollback support to migrate-if-needed.sh 2018-02-12 15:02:02 -08:00
start-stop-etcd.sh Add etcd 3.x minor version rollback support to migrate-if-needed.sh 2018-02-12 15:02:02 -08:00

README.md

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

Analytics