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
To solve the problem:
Download the control pane containers specific to s390x (kube-controller-manager-s390x:v1.17.2 etc..,)
Tag to the names in which kubeadm
lookup
Run kubeadm init
command
More information you can find here: kubernestes-for-s309x, kubeadm-s390x.
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! "
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