luxas/kubeadm-workshop

Outdated README: luxas/kube-proxy:v1.8.0-beta.1, which doesn't exist

nycmonkey opened this issue · 0 comments

Background

  • I am building a bare-metal k8s at home using a mix of rpi3s and old amd64 laptops
  • Ran into issue with multi-arch support when following official k8s docs (kube-proxy wouldn't start on the rpi3 nodes when controller was an amd64 node)
  • Found your helpful pointer in this GitHub issue
  • Proposed command didn't work, but fixing an outdated tag did fix the issue (thank you!)

Steps to reproduce

  1. Run the following command on an amd64 k8s controller node with arm64 worker nodes:
$ kubectl -n kube-system set image daemonset/kube-proxy kube-proxy=luxas/kube-proxy:v1.8.0-beta.1
  1. Behold image pull errors on amd64 nodes:
user@host:~$ kubectl get pods --all-namespaces
NAMESPACE     NAME                               READY     STATUS             RESTARTS   AGE
kube-system   etcd-latitude                      1/1       Running            0          44m
kube-system   kube-apiserver-latitude            1/1       Running            0          44m
kube-system   kube-controller-manager-latitude   1/1       Running            0          44m
kube-system   kube-dns-545bc4bfd4-8t77d          3/3       Running            0          45m
kube-system   kube-proxy-bmrjq                   1/1       Running            0          45m
kube-system   kube-proxy-cp6d9                   0/1       ImagePullBackOff   0          4s
kube-system   kube-proxy-dcr7r                   0/1       ImagePullBackOff   0          4s
kube-system   kube-proxy-g88rq                   0/1       ErrImagePull       0          4s
kube-system   kube-proxy-z5z4d                   0/1       ImagePullBackOff   0          4s

Proposed solution

  • Update documentation to remove the "-beta.1" suffix.
  • I'll submit a pull request