-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
abc2aad
commit c630608
Showing
2 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
# KinD Action | ||
# Kubernetes KinD Action | ||
|
||
[![](https://github.com/container-tools/kind-action/workflows/Test/badge.svg?branch=main)](https://github.com/container-tools/kind-action/actions) | ||
|
||
A GitHub Action for Kubernetes IN Docker - local clusters for testing Kubernetes using [kubernetes-sigs/kind](https://kind.sigs.k8s.io/). | ||
A GitHub Action for starting a Kubernetes cluster using [KinD](https://kind.sigs.k8s.io/). | ||
|
||
This action provides an optional registry on `localhost:5000` that can be used to publish and deploy container images into KinD. | ||
|
||
## Usage | ||
|
||
|
@@ -38,10 +40,16 @@ jobs: | |
steps: | ||
- name: Create k8s KinD Cluster | ||
uses: container-tools/[email protected] | ||
with: | ||
registry: true | ||
``` | ||
This uses [@container-tools/kind-action](https://www.github.com/container-tools/kind-action) GitHub Action to spin up a [KinD](https://kind.sigs.k8s.io/) Kubernetes cluster on every Pull Request. | ||
The `registry: true` option also enables a container registry on `localhost:5000` on both the host and the cluster. | ||
The registry address is stored in the `KIND_REGISTRY` environment variable, also for the subsequent steps. | ||
|
||
|
||
## Credits | ||
|
||
This action leverages the good work done by the Helm community on [@helm/kind-action](https://www.github.com/helm/kind-action). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters