Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support M2 (arm64) #1

Open
codihuston opened this issue Jun 22, 2023 · 3 comments
Open

Support M2 (arm64) #1

codihuston opened this issue Jun 22, 2023 · 3 comments

Comments

@codihuston
Copy link
Owner

Currently, all scripts are pointing to a hard-coded digest for the amd64 image. With the advent of MacOS M1 and M2, we can likely fall back to just specifying the tagged images which now include both archs, see: https://hub.docker.com/r/kindest/node/tags

Though, it does seem like we cannot run KinD with amd64 natively on the arm64 architecture...

kubernetes-sigs/kind#2972
kubernetes-sigs/kind#2718

@BenTheElder
Copy link

You can use a digest for the multi-arch manifest and support both architectures while maintaining the security / reproducibility of pinning.

The digests in the kind release notes are multi-arch.

@BenTheElder
Copy link

Though, it does seem like we cannot run KinD with amd64 natively on the arm64 architecture...

Correct, at least not without a VM, the way docker does cross-architecture containers is only suitable for simple applications, it cannot really do anything complex interacting with the kernel because it doesn't emulate syscalls, only userspace.

@codihuston
Copy link
Owner Author

You can use a digest for the multi-arch manifest and support both architectures while maintaining the security / reproducibility of pinning.

The digests in the kind release notes are multi-arch.

Very cool, thank you =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants