Deploy MinIO
MinIO as a Microservice on Kubernetes
Overview
Steps
2
Configure persistence values
minio:
persistence:
storageClass: <storage_class> # provide a valid StorageClass name
accessMode: ReadWriteOnce
size: 20Gi # update as per need
environment:
MINIO_BROWSER_REDIRECT_URL: "" # leave empty if domain/ingress not ready; otherwise remove environment key entirely3
4
Deploy with Helmfile
cd devops/deploy-as-code
Ensure your KUBECONFIG points to the Kubernetes cluster:
export KUBECONFIG=~/kubeconfigs/pgr-sdc.yaml
# (Optional) preview the manifests/plan if supported
helmfile -f digit-helmfile.yaml -e pgr-sdc-prd plan
# Apply
helmfile -f digit-helmfile.yaml -e pgr-sdc-prd apply
If your repo organises Helmfiles differently, adjust the -f path accordingly.
kubectl get svc -n backbone | grep minio6
7
Integrate egov-filestore with MinIO
egov-filestore:
minio-enabled: true # enable connecting to MinIO service
fixed-bucketname: <filestore_s3_bucket> # set to your provisioned bucket name
# other configurations remain the samesecrets:
egov-filestore:
aws-key: AKIAVCXXXXXXXXXXXXXX # Access Key generated in MinIO Console
aws-secret-key: JLc9M5bYiK/QghQ4Lvns... # Secret Key generated in MinIO ConsoleTroubleshooting Tips
Last updated
Was this helpful?