Skip to content

Complete ARM Support #386

@jeff-mccoy

Description

@jeff-mccoy

Currently we do not publish an arm init package (it was temporarily hard-coded to amd64) and lack several things for robust arm/amd support. Some issues, such as Iron Bank lacking arm images we will not be able to overcome, but those packages are already coded for amd only.

  • Product an arm-base zarf-init.tar.zst along with the amd-based one on each release
  • Update package names to include the architecture as a suffix to avoid having to decompress/inspect to identify, e.g. zarf-init-amd64.tar.zst or zarf-package-appliance-demo-multi-games-arm64.tar.zst
  • Provide the package arch as a variable for use with templating components to simplify switching arch, e.g. https://github.com/k3s-io/k3s/releases/download/v1.21.6+k3s1/k3s-airgap-images-{{architecture}}.tar.zst
  • Compile arm versions of the injector binaries (rust and go) and include them in the arm-based init package. Note without this M1 Mac's with Rosetta will actually work since they magically allow amd binaries to run in arm containers, but other platforms would not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions