charmed k8s deploys incorrect cni-plugins on arm64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes Worker Charm |
Invalid
|
Undecided
|
Unassigned |
Bug Description
While deploying a test Charmed Kubernetes 1.29/stable cluster using the attached bundle on arm64 compute hosts, I noticed x86_64 cni-plugins were deployed causing kube-system pods to get stuck with /opt/cni/
Looking deeper, realized the deployed binaries are infact incorrect:
ubuntu@
/opt/cni/
The destination architecture is something we need to check and consider before unpacking cni-plugins package.
Thank you,
Alan
Changed in charm-kubernetes-worker: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Kevin W Monroe (kwmonroe) |
milestone: | none → 1.29+ck2 |
Changed in charm-kubernetes-worker: | |
milestone: | 1.29+ck2 → none |
assignee: | Kevin W Monroe (kwmonroe) → nobody |
importance: | High → Undecided |
The workaround for the issue was to deploy the cni-plugins manually from upstream on all worker nodes:
$ mkdir tmp; cd tmp /github. com/containerne tworking/ plugins/ releases/ download/ v1.4.1/ cni-plugins- linux-arm64- v1.4.1. tgz linux-arm64- v1.4.1. tgz
$ wget https:/
$ tar -xf cni-plugins-
$ sudo cp -rP /opt/cni/ /opt/cni.orig
$ sudo cp -v bandwidth bridge dhcp dummy firewall host-* ipvlan loopback macvlan portmap ptp sbr static tap tuning vlan vrf /opt/cni/bin/ -v
$ cd; rm -r tmp