Skip to content

feat: add reusable create-cluster (Kind) composite action - #1072

Open
TrueFurina wants to merge 1 commit into
kubeflow:masterfrom
TrueFurina:feat/create-cluster-composite-action
Open

feat: add reusable create-cluster (Kind) composite action#1072
TrueFurina wants to merge 1 commit into
kubeflow:masterfrom
TrueFurina:feat/create-cluster-composite-action

Conversation

@TrueFurina

Copy link
Copy Markdown

Summary

Adds a reusable composite action (.github/actions/create-cluster) that spins up a local Kubernetes cluster (Kind) so CI jobs can run against a real cluster instead of each workflow re-implementing the setup inline. This mirrors the pattern already used by sdk and trainer e2e workflows.

Requirements met

  • Composite action with inputs for Kubernetes version and Kind node image (both with sensible defaults)
  • Exports KUBECONFIG (via $GITHUB_ENV) so subsequent steps can talk to the cluster directly
  • Optional cluster name input

Changes

  • New file: .github/actions/create-cluster/action.yml

Verification

  • YAML follows the composite-action spec (runs.using: composite)
  • Inputs match the issue requirements

@google-oss-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign juliusvonkohout for approval. For more information see the Kubernetes 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

kubernetes-version:
description: Kubernetes version for the cluster.
required: false
default: v1.31.0

@juliusvonkohout juliusvonkohout Aug 27, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

1.36 please take a look at the workflow in the community distribution as reference

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Actually we will soon upgrade to 1.37 https://github.com/kubernetes-sigs/kind/releases/tag/v0.33.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants