0

I am trying to setup Kubernetes on a s390x machines. Having downloaded packages kubeadm, kubectl and kubelet specific to s390x architecture. I was under the impression that kubeadm init will download the control pane images for the same architecture, which proved to be incorrect.

kubeadm init seems to have downloaded amd64 images which results in the following error standard_init_linux.go:187: exec user process caused "exec format error

Can someone please let me know if there are s390x specific images for the below containers, if yes please provide me the container tags or link to it please

k8s.gcr.io/kube-apiserver:v1.17.2
k8s.gcr.io/kube-controller-manager:v1.17.2
k8s.gcr.io/kube-scheduler:v1.17.2
k8s.gcr.io/kube-proxy:v1.17.2
k8s.gcr.io/pause:3.1
k8s.gcr.io/etcd:3.4.3-0
k8s.gcr.io/coredns:1.6.5
Ren Roz
  • 103
  • 1
  • 5

3 Answers3

1

From the docs we can read:

kubeadm deb/rpm packages and binaries are built for amd64, arm (32-bit), arm64, ppc64le, and s390x following the multi-platform proposal.

Multiplatform container images for the control plane and addons are also supported since v1.12.

Only some of the network providers offer solutions for all platforms. Please consult the list of network providers above or the documentation from each provider to figure out whether the provider supports your chosen platform.

Repo for s390x is available here.

I think it might be helpful to follow this guide for Installing Kubernetes 1.12 on SUSE Linux using kubeadm

Community
  • 1
  • 1
Discombobulate
  • 279
  • 2
  • 8
  • Here is what I did to resolve my problem 1) Downloaded the control pane containers specific to s390x (kube-controller-manager-s390x:v1.17.2 etc..,) 2) tagged to the names in which kubeadm lookup 3) ran kubeadm init and there it is :) "Your Kubernetes control-plane has initialized successfully! " – Ren Roz Feb 04 '20 at 17:16
0

To solve the problem:

  1. Download the control pane containers specific to s390x (kube-controller-manager-s390x:v1.17.2 etc..,)

  2. Tag to the names in which kubeadm lookup

  3. Run kubeadm init command

More information you can find here: kubernestes-for-s309x, kubeadm-s390x.

Malgorzata
  • 6,409
  • 1
  • 10
  • 27
  • Would you what is the equivalent for ```core-dns``` ?? ```core-dns-s390x:1.6.5 & core-dns:1.6.5-s390x fails``` – Ren Roz Feb 05 '20 at 17:58
0

Resolved following with the below steps:

1) Downloaded the control pane images for s390x from k8s docker repository (kube-controller-manager-s390x:v1.17.2,, likewise) 2) Had to tag the images to kube-controller-manager:v1.17.2 , because kubeadm manifests looks for this name 3) initialized my cluster and there it is " Your Kubernetes control-plane has initialized successfully! "

Ren Roz
  • 103
  • 1
  • 5