kind: Failed to setup k8s cluster on AArch64 plaform
What happened:
Failed to setup k8s cluster on AArch64 plaform with containerd as runtime, the built images failed to import, thus the k8s cluster won’t come up
What you expected to happen:
Successfully setup k8s cluster
How to reproduce it (as minimally and precisely as possible):
-
Get an AArch64 server, setup pre-request such as bazel
-
Download kind with version > 0.2.0 and install
-
Download K8S
-
Build base image and node image
-
Run create cluster
Anything else we need to know?:
I’ve tested 0.2.0, 0.3.0, 0.4.0 and master, 0.2.0 is OK to run:
And starting from 0.3.0 it fails to run, here is a log for master:
According to the debug I’ve done, it seems the image import failure is the root cause, according to: https://logs.openlabtesting.org/logs/periodic-6/18/github.com/kubernetes-sigs/kind/master/kind-integration-test-arm64/6782da3/job-output.txt.gz
I copied the most important part here: https://gist.github.com/ZhengZhenyu/69226fc7bdebc2025d0fcb827fd75e47
Command: https://github.com/kubernetes-sigs/kind/blob/3d35585e745c3426dbb3b9b97cb5e5e409796fad/pkg/build/node/node.go#L503 was failed and thus there is no usable images for services to create k8s clusters
Environment:
- kind version: (use
kind version
): master, 0.4.0, 0.3.0, 0.2.0 - Kubernetes version: (use
kubectl version
): 1.14.3 - Docker version: (use
docker info
): 18.09 - OS (e.g. from
/etc/os-release
): unbuntu 19.04
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 18 (14 by maintainers)
@BenTheElder I can have a 0.4.0 log for you 😃