Deploy on microk8s #5
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: 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 |