Skip to content

Deploy on microk8s

Deploy on microk8s #4

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.26/stable"
addons: '["dns", "dashboard", "hostpath-storage", "nvidia"]'
- name: Test MicroK8s
id: list-pods
run: |
kubectl get no
kubectl get pods -A -o wide
- name: Checkout repository
uses: actions/checkout@v2
- 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-ba
echo "Sleeping for 10 seconds, give time for the operator/tenant to create the CRDs" && sleep 10
kubectl get po -A -o wide