Skip to content

CodingNagger/minikube-setup-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Minikube setup action

This action installs a VM-free Kubernetes cluster using Minikube.

Inputs

minikube-version

Optional Version of Minikube you wish to use. Default "1.27.1".

minikube-platform

Optional Version of Minikube you wish to use. Default "amd64".

k8s-version

Optional Version of Kubernetes you wish to use with Minikube. Default "1.23.0".

Outputs

launcher

The command to run in order to start Minikube using eval.

Example usage

name: "Minikube workflow"
on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Setup Minikube
      id: minikube
      uses: CodingNagger/minikube-setup-action@v1.0.2
    - name: Launch Minikube
      run: eval ${{ steps.minikube.outputs.launcher }}
    - name: Check pods
      run: |
        kubectl get pods