vmware-tanzu / cartographer

Cartographer is a Supply Chain Choreographer.
https://cartographer.sh
Apache License 2.0
446 stars 65 forks source link

ARM-support for Cartographer #791

Open kartiklunkad26 opened 2 years ago

kartiklunkad26 commented 2 years ago

Description of problem

Cartographer doesn't install on arm-based OS today. This means that M1 users especially cannot use Cartographer.

Proposed solution

Given I want to use Cartographer and I am on an M1 laptop
When I install Cartographer on my Kubernetes cluster
Then it installs successfully

Example

Additional Context

This also enables the story of TCE users being able to use Cartographer in TCE on arm-based operating systems.

github-actions[bot] commented 2 years ago

Hello @kartiklunkad26! Welcome to the Cartographer community and thank you for opening your first issue, we appreciate your contributions

scothis commented 2 years ago

ko can build multi-arch images, but it requires the base image to support each of the desired architectures. The output of ko will be an image manifest, so all downstream tools will need to be able to understand image manifests.

squeedee commented 2 years ago

@idoru to recreate on his M1.

Any details about what's not working @kartiklunkad26

squeedee commented 2 years ago

After this discussion https://kubernetes.slack.com/archives/C02GY94A8KT/p1655396822733659 I feel it's best to frame this as supporting ARM architectures on cloud platforms, those which lack a compatibility layer such as Rosetta.

squeedee commented 2 years ago

Will need an arm ytt binary.

scothis commented 2 years ago

Will need an arm ytt binary.

https://github.com/vmware-tanzu/carvel-ytt/releases/download/v0.41.1/ytt-linux-arm64