Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
anchor

GitHub Action

Minikube Github Action

1.0.0

Minikube Github Action

anchor

Minikube Github Action

Setup Minikube and starts local cluster

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Minikube Github Action

uses: hiberbee/github-action-minikube@1.0.0

Learn more about this action in hiberbee/github-action-minikube

Choose a version

Github Action Minikube

Downloads and set up Minikube cluster and kubectl binary for Github Actions.

Example

name: Minikube workflow
on: push
jobs:
  minikube:
    name: Start Kubernetes cluster on Minikube
    runs-on: ubuntu-20.04
    steps:
      - name: Start Minikube
        id: minikube
        uses: hiberbee/github-action-minikube@master
        with:
          kubernetes-version: 1.18.3
          network-plugin: cni
          addons: metrics-server,registry,ingress,dashboard
          nodes: 1
          cpus: 2
      - name: Cluster status
        run: minikube status
      - name: Cluster information
        run: kubectl cluster-info
      - name: Kubernetes service
        run: kubectl get services --all-namespaces