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):

  1. Get an AArch64 server, setup pre-request such as bazel

  2. Download kind with version > 0.2.0 and install

  3. Download K8S

  4. Build base image and node image

  5. 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:

http://80.158.17.129/logs/1/1/21764170c5ae2be65e03819e359b4bb72aebd085/check/kind-integration-test-arm64/a0f7b0b/

And starting from 0.3.0 it fails to run, here is a log for master:

https://logs.openlabtesting.org/logs/periodic-6/18/github.com/kubernetes-sigs/kind/master/kind-integration-test-arm64/6782da3/

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)

Most upvoted comments

@BenTheElder I can have a 0.4.0 log for you 😃