kubernetes: k8s.gcr.io/kube-cross does not work under other architectures like arm64
There’s something wrong with the manifests for kube-cross as the image we publish though it seems to have manifests does not work on other platforms like arm64
standard_init_linux.go:207: exec user process caused "exec format error"
Please see some environment information
openlab@node-0:~$ docker version
Client:
Version: 18.09.3
API version: 1.39
Go version: go1.10.8
Git commit: 774a1f4
Built: Thu Feb 28 06:45:34 2019
OS/Arch: linux/arm64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 18.09.3
API version: 1.39 (minimum version 1.12)
Go version: go1.10.8
Git commit: 774a1f4
Built: Thu Feb 28 06:00:18 2019
OS/Arch: linux/arm64
Experimental: false
openlab@node-0:~$ uname -a
Linux node-0.dims.openlab-pg0.utah.cloudlab.us 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:53 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux
openlab@node-0:~$ docker pull k8s.gcr.io/kube-cross:v1.12.0-1
v1.12.0-1: Pulling from kube-cross
741437d97401: Pull complete
34d8874714d7: Pull complete
0a108aa26679: Pull complete
7f0334c36886: Pull complete
d35724ed4672: Pull complete
d0ea18b1198f: Pull complete
647e63f91386: Pull complete
2b8c6ef26d61: Pull complete
e4c484d78610: Pull complete
e9b4d7c90f68: Pull complete
96fe66b8cafb: Pull complete
cc5a03814b47: Pull complete
e1dc59942b8c: Pull complete
0c842fd38bf6: Pull complete
Digest: sha256:5beba1349458d62edb8b672f0c5a8af4eb3cec4d066015368bf722416bdbfc78
Status: Downloaded newer image for k8s.gcr.io/kube-cross:v1.12.0-1
openlab@node-0:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
k8s.gcr.io/kube-cross v1.12.0-1 bf7729bdb359 7 days ago 1.75GB
openlab@node-0:~$ docker run -it k8s.gcr.io/kube-cross:v1.12.0-1 bash
standard_init_linux.go:207: exec user process caused "exec format error"
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 34 (22 by maintainers)
@BenTheElder yep.
/close
Is there a reason we build this for one platform at a time and then create a manifest instead of letting buildx handle the manifest?
https://github.com/kubernetes/release/blob/master/images/Makefile.common-image
@sayanchowdhury i’ll defer to @justaugustus as he was trying to figure out who may be able to help.