Open johnwalicki opened 2 years ago
How hard would it be to create a openhorizon-agent for arm64? We build an arm64 anax-in-container (in upstream OH)
As an initial step, the agent-install.sh should check the remote kube cluster and only install the openhorizon-agent pod if it matches amd64. Fail with an error message if the remote kube cluster is a different architecture (arm64) This command will tell the script what architecture is running on the kube cluster
kubectl get nodes -o json | jq '.items[0].status.nodeInfo.architecture'
"arm64"
We should still work on building a arm64_anax_k8s.tar.gz
bundle for installing the openhorizon cluster agent on ARM64 client.
Once #3564 closes this issue, I will open a new issue to build an arm64_anax_k8s.tar.gz
bundle for installing the openhorizon cluster agent on ARM64 based clusters.
Describe the bug.
We don't have an arm64 version of the openhorizon-agent cluster container, yet agent-install tried to install it. On my Raspberry Pi4 running Fedora 36 aarch64, I installed Microshift. Then I installed Open Horizon cluster agent via
The
openhorizon-agent
pod just crashloops.The
exec format error
is because the container is not forarm64
, itsamd64
When not running on amd64, the agent-install.sh should stop before unpacking / pushing the amd64_anax_k8s.tar.gz into the wrong arch.
Or better, we should build the
arm64_anax_k8s.tar.gz
so we can run Microshift on RaspPi devices.For now, the
agent-install.sh
could check the remote kube cluster and only install the openhorizon-agent pod if it matchesamd64
This command will tell the script what architecture is running on the kube clusterDescribe the steps to reproduce the behavior.
No response
Expected behavior.
No response
Screenshots.
No response
Operating Environment
RaspPi arm64
Additional Information
No response