-
Notifications
You must be signed in to change notification settings - Fork 40k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the etcd image cross-platform #19216
Conversation
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") If this message is too spammy, please complain to ixdy. |
Labelling this PR as size/L |
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") If this message is too spammy, please complain to ixdy. |
ok to test |
GCE e2e test build/test passed for commit c11d06d901e7e5f30f38faff8b2a9cb080b8e21f. |
GCE e2e build/test failed for commit c11d06d901e7e5f30f38faff8b2a9cb080b8e21f. |
@@ -1,4 +0,0 @@ | |||
etcd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you deleting this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's simply not needed. No files will be stored there.
Minor stuff. |
c11d06d
to
c77d6f7
Compare
Fixed. Here is a quick test: $ sudo make
-> gcr.io/google_containers/etcd-amd64:2.2.1
-> gcr.io/google_containers/etcd:2.2.1
$ sudo ARCH=arm make
-> gcr.io/google_containers/etcd-arm:2.2.1
# Tested on a Pi 1 (armv6)
$ docker run -it gcr.io/google_containers/etcd-arm:2.2.1 /bin/sh
$ etcdctl
OK
$ etcd
OK
# Tested on a normal amd64 machine
$ docker run -it gcr.io/google_containers/etcd-amd64:2.2.1 /bin/sh
$ etcdctl
OK
$ etcd
OK |
GCE e2e test build/test passed for commit c77d6f7. |
The author of this PR is not in the whitelist for merge, can one of the admins add the 'ok-to-merge' label? |
All green, ready to merge? |
LGTM and ready to merge. Thanks @luxas |
@k8s-bot test this Tests are more than 48 hours old. Re-running tests. |
GCE e2e test build/test passed for commit c77d6f7. |
Automatic merge from submit-queue |
Auto commit by PR queue bot
@thockin @brendandburns Could you push the |
I built and pushed etcd-arm and etcd-amd64, both tagged as :2.2.1 |
Whohoo! Thanks @thockin |
Automatic merge from submit-queue Make kube2sky and skydns docker images cross-platform ARM tracking issue: #17981 Continues on: #19216 Make it possible to create `kube2sky` and `skydns` docker images for ARM and other architectures too Build in a container, so `golang` isn't a dependency I've preserved the original default behaviour: - `skydns`: It just compiles with go on host - `kube2sky`: Build an image @brendandburns @dchen1107 @ArtfulCoder @thockin @fgrzadkowski
ARM tracking issue: #17981
If building for
amd64
, download the release as earlier.If building for another arch, cross-compile
etcd
statically.Harmonize the
Makefile
withhyperkube
Makefile
This patch fixes partially this issue: #19185
Usage:
ARCH=ppc64le BASEIMAGE=scratch make
Of course, if you have a
ppc64le
busybox image, use that instead.One caveat,
etcd
doesn't compile onppc64le
right now:But when that is fixed,
ppc64le
is also supported.@brendandburns @dchen1107 @ArtfulCoder @thockin @fgrzadkowski @qq511700505