mirror of https://github.com/k3s-io/k3s
![]() This is the 2nd attempt. The previous was reverted while we figured out the regional mirrors (oops). New plan: k8s.gcr.io is a read-only facade that auto-detects your source region (us, eu, or asia for now) and pulls from the closest. To publish an image, push k8s-staging.gcr.io and it will be synced to the regionals automatically (similar to today). For now the staging is an alias to gcr.io/google_containers (the legacy URL). When we move off of google-owned projects (working on it), then we just do a one-time sync, and change the google-internal config, and nobody outside should notice. We can, in parallel, change the auto-sync into a manual sync - send a PR to "promote" something from staging, and a bot activates it. Nice and visible, easy to keep track of. |
||
---|---|---|
.. | ||
attachlease | ||
rollback | ||
Dockerfile | ||
Makefile | ||
README.md | ||
migrate-if-needed.sh |
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
# 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