Skip to content

ci: use quick-k8s action for KinD cluster setup#123

Open
sebrandon1 wants to merge 1 commit into
openshift:mainfrom
sebrandon1:ci/quick-k8s-cluster-setup
Open

ci: use quick-k8s action for KinD cluster setup#123
sebrandon1 wants to merge 1 commit into
openshift:mainfrom
sebrandon1:ci/quick-k8s-cluster-setup

Conversation

@sebrandon1

Copy link
Copy Markdown
Member

Summary

  • Replace the implicit KinD cluster creation (via hack/kind.sh inside make deploy-*) with an explicit palmsoftware/quick-k8s action step for both the e2e and metallb_e2e jobs
  • quick-k8s handles disk optimization, binary installation/caching, cluster creation, and worker node labeling in a single action call
  • When the Makefile later calls hack/kind.sh, it detects the existing cluster and exits early — no Makefile changes needed

Existing adoption

quick-k8s is already used across several Red Hat ecosystem projects:

Test plan

  • e2e matrix (ipv4/ipv6/dual x manifests/helm) passes with quick-k8s cluster
  • metallb_e2e job passes with quick-k8s cluster
  • Worker nodes are labeled with node-role.kubernetes.io/worker=worker

Replace manual cluster creation via hack/kind.sh (called through
Makefile targets) with the quick-k8s GitHub Action for both the e2e
and metallb_e2e jobs. This provides:

- Standardized cluster setup with disk optimization
- Worker node labeling without post-creation scripts
- IP family configuration (ipv4/ipv6/dual) via action input
- Consistent cluster naming and kubeconfig export

The existing hack/kind.sh idempotency check detects the pre-existing
cluster and skips re-creation, so no Makefile changes are needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@openshift-ci openshift-ci Bot requested review from dougbtv and oribon February 10, 2026 14:17
@openshift-ci

openshift-ci Bot commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sebrandon1
Once this PR has been reviewed and has the lgtm label, please assign cgoncalves for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci

openshift-ci Bot commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

@sebrandon1: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/okd-scos-images da95684 link true /test okd-scos-images

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

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