k0sproject / k0s

k0s - The Zero Friction Kubernetes
https://docs.k0sproject.io
Other
3.55k stars 356 forks source link

Support for running OS tests for Debian 12 on arm64 #4701

Closed twz123 closed 3 months ago

twz123 commented 3 months ago

Description

Select the self-hosted ARM runners when building k0s if the architecture is arm or arm64. The k0s build system doesn't support cross-compilation, so the only way to get ARM binaries is to build on ARM. Add the "arch" variable to the ostests Terraform modules. Select the correct default instance type based on the arch. Add arm64 support for Debian 12. Add the arch parameter to the ostests matrix so that it can also run on arm64.

Type of change

How Has This Been Tested?

Checklist: