Skip to content

Deploy on microk8s

Deploy on microk8s #2

Workflow file for this run

name: Test Microk8s
on:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
name: Install MicroK8s
steps:
- uses: balchua/[email protected]
with:
channel: "1.30/stable"
addons: '["dns", "dashboard", "hostpath-storage", "nvidia"]'
- name: Test MicroK8s
id: list-pods
run: |
kubectl get no
kubectl get pods -A -o wide
- name: Install Minio
id: install-minio
run: |
git clone --depth 1 --branch v6.0.1 https://github.com/minio/operator.git && kubectl apply -k operator/
sed -i 's/openebs-hostpath/microk8s-hostpath/g' ./minio-tenant-base.yaml
kubectl apply -f minio-tenant-base.yaml
kubectl get po -A -o wide