This helm chart will deploy MinIO for the usage of the SWOOP API onto a Kubernetes cluster.
To install the chart, do:
helm repo add e84 https://element84.github.io/filmdrop-k8s-helm-charts
and
helm install minio e84/minio
Once the chart has been deployed, you should see at least 1 deployment for minio.
In order to start using the services used by this helm chart, you will need to port-forward minio
onto localhost port 9000
& 9001
.
brew install minio/stable/mc
export MINIO_ACCESS_KEY=`helm get values minio -a -o json | jq -r .service.accessKeyId | base64 --decode`
export MINIO_SECRET_KEY=`helm get values minio -a -o json | jq -r .service.secretAccessKey | base64 --decode`
mc alias set minio http://127.0.0.1:9000 $MINIO_ACCESS_KEY $MINIO_SECRET_KEY
$ mc admin info minio
● 127.0.0.1:9000
Uptime: 4 minutes
Version: 2023-06-02T23:17:26Z
Network: 1/1 OK
Drives: 1/1 OK
Pool: 1
Pools:
1st, Erasure sets: 1, Drives per erasure set: 1
0 B Used, 1 Bucket, 0 Objects
1 drive online, 0 drives offline
Retrieve username by running:
helm get values minio -a -o json | jq -r .service.accessKeyId | base64 --decode
Retrieve password by running:
helm get values minio -a -o json | jq -r .service.secretAccessKey | base64 --decode
Open MinIO dashboard by opening your browser on http://localhost:9001/ and logging into MinIO using the credentials above:
To uninstall the release, do helm uninstall minio
.