Closed mauriciopoppe closed 2 years ago
Has it been decided that supporting arm/v7 is something that we want to do?
Does the Kubernetes project support it with releases of pre-built binaries?
Has it been decided that supporting arm/v7 is something that we want to do?
Not yet, I've added this item to our 1.24 board for discussion.
Does the Kubernetes project support it with releases of pre-built binaries?
I checked that https://github.com/kubernetes/kubernetes/blob/30e588c5fe0a4bb556bc13e9196ecf1487882295/CHANGELOG/CHANGELOG-1.24.md shows arm
binaries (I think this is the 32 bit binary that can run in Raspberry Pi armv7).
We discussed this at today's Kubernetes-CSI meeting and agreed to proceed with arm/v7 support based on the argument that Kubernetes supports it.
We use this env var to build the images:
The default value is:
After trying to add
linux arm/v7 -armv7
(ref https://github.com/kubernetes-csi/external-provisioner/issues/691) as another target I realized that even thougharm/v7
is a validdocker buildx platform
value it's not a correctGOARCH
value and therefore compilation of the binary fails.We could add another arg after arch that's the docker buildx platform, the new tuple would be
[os arch buildx_platform suffix base_image addon_image]
, the config for armv7 would belinux arm arm/v7 -armv7
/cc @pohly @msau42 @xing-yang