Using MinIO as an object store backend for Zercurity on Kubernetes


kubectl -n kube-system get po | grep kube-controller-manager
kubectl get pod kube-controller-manager-prod-control-plane-xyz \
-n kube-system -o yaml
wget -O kubectl-minio
chmod +x kubectl-minio
mv kubectl-minio /usr/local/bin/
kubectl minio version

Deploying MinIO

kubectl minio init
kubectl get all --namespace minio-operator
kubectl minio proxy
Copy the provided JWT token into the Operator Login pane.

Creating our Tenant

Configuring MinIO’s storage class for the Zercurity namespace
MinIO IAM keys
MinIO Tenants
MinIO Tenant status

Configuring Zercurity

kubectl -n zercurity apply -f config.yml

Migrating the existing data

aws --profile zercurity --endpoint-url --no-verify-ssl s3 sync /var/lib/zercurity/data/ s3://zercurity/

Its all over!



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store