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

Publish Kubernetes KinD node images for AMD64/ARM64 #7

Merged
merged 2 commits into from
Apr 21, 2024

Conversation

stefanprodan
Copy link
Member

This PR adds a GitHub workflow for building and publishing KinD node images on ghcr.io/fluxcd/kindest/node for a given Kubernetes git tag.

Motivation

This allows us to run the Flux benchmarks and conformance tests for Kubernetes pre-releases and stable versions without depending on the official KinD images which lag behind upstream releases and don't contain alpha, beta and RC builds.

Specifications

The KinD node images hosted on the FluxCD GitHub Container Registry are not multi-arch, instead we publish dedicated tags for each architecture in the format <K8S-SEMVER>-<ARCH>.

AMD64 images

Image format: ghcr.io/fluxcd/kindest/node:<K8S-SEMVER>-amd64

Builder: ubuntu-latest-16-cores (GitHub hosted runner)

kind create cluster --image ghcr.io/fluxcd/kindest/node:v1.30.0-amd64

ARM64 images

Image format: ghcr.io/fluxcd/kindest/node:<K8S-SEMVER>-arm64

Builder: c3.large.arm64 (Equinix Metal self-hosted runner)

kind create cluster --image ghcr.io/fluxcd/kindest/node:v1.30.0-arm64

Runs on GitHub ubuntu-latest-16-cores

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Runs on Equinix c3.large.arm64

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan added the enhancement New feature or request label Apr 21, 2024
Copy link
Member

@souleb souleb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@stefanprodan stefanprodan merged commit fd097ba into main Apr 21, 2024
4 checks passed
@stefanprodan stefanprodan deleted the build-kind-node branch April 21, 2024 10:22
@stefanprodan stefanprodan changed the title Publish Kubernetes KinD node images for AMD46/ARM64 Publish Kubernetes KinD node images for AMD64/ARM64 Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants