Skip to content

WIP: try minikube

WIP: try minikube #1

Workflow file for this run

name: Minikube on Windows
on:
push:
jobs:
minikube:
runs-on: windows-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
# - name: Install Chocolatey
# run: |
# Set-ExecutionPolicy Bypass -Scope Process -Force;
# [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
# iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- name: Install Minikube and kubectl
run: |
choco install minikube kubernetes-cli -y
minikube version
kubectl version --client
- name: Start Minikube
run: |
minikube start --driver=hyperv --hyperv-virtual-switch "Default Switch"
minikube status
- name: Run Kubernetes Commands
run: |
kubectl get nodes
kubectl get pods -A
- name: Stop Minikube
run: |
minikube stop