https://github.com/manusa/actions-setup-minikube
Set up your GitHub Actions workflow with a specific version of Minikube and Kuberentes
https://github.com/manusa/actions-setup-minikube
Last synced: 5 months ago
JSON representation
Set up your GitHub Actions workflow with a specific version of Minikube and Kuberentes
- Host: GitHub
- URL: https://github.com/manusa/actions-setup-minikube
- Owner: manusa
- License: apache-2.0
- Created: 2019-11-09T06:39:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-16T13:51:16.000Z (over 1 year ago)
- Last Synced: 2025-03-25T04:23:42.651Z (over 1 year ago)
- Language: JavaScript
- Size: 15.4 MB
- Stars: 61
- Watchers: 3
- Forks: 27
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Setup Minikube GitHub Action
===============================
[
](https://github.com/manusa/actions-setup-minikube/actions)
[](https://github.com/manusa/actions-setup-minikube/actions/workflows/runner.yml)
Set up your GitHub Actions workflow with a specific version of
[Minikube](https://github.com/kubernetes/minikube)
and [Kubernetes](https://github.com/kubernetes/kubernetes).
_Currently only Linux Ubuntu 18.04, 20.04, 22.04, or 24.04
[CI environment](https://help.github.com/en/github/automating-your-workflow-with-github-actions/virtual-environments-for-github-actions)
is supported._
## Usage
### Basic
```yaml
name: Example workflow
on: [push]
jobs:
example:
name: Example Minikube-Kubernetes Cluster interaction
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Minikube
uses: manusa/actions-setup-minikube@v2.16.1
with:
minikube version: 'v1.35.0'
kubernetes version: 'v1.33.0'
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Interact with the cluster
run: kubectl get nodes
```
### Required input parameters
| Parameter | Description |
|----------------------|-----------------------------------------------------------------------------------|
| `minikube version` | Minikube [version](https://github.com/kubernetes/minikube/releases) to deploy |
| `kubernetes version` | Kubernetes [version](https://github.com/kubernetes/kubernetes/releases) to deploy |
### Optional input parameters
| Parameter | Description |
|---------------------|------------------------------------------------------------------------------------------------------------------------------------------|
| `github token` | GITHUB_TOKEN secret value to access GitHub REST API with an unlimited number of requests (optional but recommended) |
| `driver` | Minikube [driver](https://minikube.sigs.k8s.io/docs/drivers/) to use. This action supports `none` (default if not specified) or `docker` |
| `container runtime` | The container runtime to be used (valid options: docker, cri-o, containerd) |
| `start args` | Additional arguments to append to [`minikube start`](https://minikube.sigs.k8s.io/docs/commands/start/) command |
## License
The scripts and documentation in this project are released under the [Apache 2.0](./LICENSE) license.