Reputation: 1272
I have a local setup of three raspberry pi's and followed the tutorial on here. I managed to get my microk8s cluster running. Next I wanted to deploy Jenkins.
Whenever I execute the first command:
kubectl create -f jenkins-deployment.yaml -n jenkins
I get the following error:
standard_init_linux.go:219: exec user process caused: exec format error
Some other searches suggest installing docker. However in the tutorial there is nothing about installing docker. Any ideas what is happening here?
Upvotes: 0
Views: 535
Reputation: 1366
Docker vs. containerd
Regarding your suggestion about the docker. From Version 1.14.0 of MicroK8s (released 25 March 2019) containerd replaced dockerd. Starting from version 1.14.0 containerd automatically ships with MicroK8S installation So, you don't need dockerd as CRI. Below you can find modules MicroK8S set up during installation: The following systemd services will be running in your system:
${SNAP_DATA}/args/kube-apiserver
${SNAP_DATA}/args/kube-controller-manager
${SNAP_DATA}/args/kube-scheduler
${SNAP_DATA}/args/kubelet
${SNAP_DATA}/args/kube-proxy
${SNAP_DATA}/args/containerd
and ${SNAP_DATA}/args/containerd-template.toml
.${SNAP_DATA}/args/etcd
ARM architecture
Next, Raspberry Pi and, as mentioned previously by community, ARM. You can not use regular amd64-based images for ARM architecture.
Possible solutions
To solve a problem, I recommend you 2 options below.
Some images have been ported for other architectures, and many of these are officially supported (to various degrees).
ARMv6 32-bit (arm32v6
): https://hub.docker.com/u/arm32v6/
ARMv7 32-bit (arm32v7
): https://hub.docker.com/u/arm32v7/
ARMv8 64-bit (arm64v8
): https://hub.docker.com/u/arm64v8/
References:
Upvotes: 4