Skip to content

WIP: try minikube

WIP: try minikube #8

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: switch to Windows
shell: pwsh
run: |
Get-VMSwitch
New-VMSwitch -SwitchName "MinikubeSwitch" -SwitchType External
- name: Start Minikube
run: |
minikube start
# minikube start
#
minikube status
- name: Run Kubernetes Commands
run: |
kubectl get nodes
kubectl get pods -A
- name: Stop Minikube
run: |
minikube stop