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

Handle multiple architectures when distributing airgap binary #367

Merged
merged 3 commits into from
Oct 8, 2024

Conversation

dereknola
Copy link
Member

Changes

  • Match architecture to what K3s release artifacts suffixes are.
  • Handle arm/arm64 naming for the k3s binary artifacts.
    Note: This potentially allows for multiarch airgap clusters, if you download the appropriate artifacts for all relevant architectures, but I didn't explicitly test this. Your airgap folder would look something like
    ls -la ./playbooks/my-airgap/
    -rw-r--r-- 1 derek derek  68337816 Oct  7 11:24 k3s
    -rw-r--r-- 1 derek derek 175681141 Oct  7 11:24 k3s-airgap-images-amd64.tar.gz
    -rw-r--r-- 1 derek derek 132759685 Oct  7 11:04 k3s-airgap-images-arm64.tar.zst
    -rw-r--r-- 1 derek derek  63504536 Oct  7 11:04 k3s-arm64
    

Linked Issues

#365

@dereknola dereknola merged commit 1cfe597 into master Oct 8, 2024
2 checks passed
@dereknola dereknola deleted the airgap_multiarch branch October 28, 2024 18:22
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

Successfully merging this pull request may close these issues.

1 participant