I have been trying to bring up a kubernetes cluster with master on ubuntu (laptop) and worker node on pi3 using kubedm.
All the installations on both machines went well. After running:
kubeadm init --ignore-preflight-errors Swap --pod-network-cidr=10.244.0.0/16
and setting up flannel:
kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$kubever"
Master node comes up perfectly.
However when I run the kubeadm join command, the worker node shows successfully joined but the weave-net and kube-proxy throws CrashLoopBackOff
kubeadm join 192.168.1.103:6443 --token <<token value>> --discovery-token-ca-cert-hash sha256:<<hash value>>
Worker node has joined the cluster:
CrashLoopBackOff Error:
and kube-proxy logs:
kubectl -n kube-system logs kube-proxy-8ffsh
gives standard_init_linux.go:190: exec user process caused "exec format error"
Can somebody please help as to where the problem could be? Any help is appreciated.