Deploy on microk8s #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |