KubeBlocks
BlogsEnterprise
⌘K
​
Blogs

Overview
Quickstart
Architecture

Operations

Stop / Start / Restart
Vertical Scaling
Horizontal Scaling
Manage Services
Volume Expansion

Monitoring

Prometheus Integration
  1. Prerequisites
  2. Expand Storage
  3. Cleanup

Volume Expansion for MinIO

Increase the storage capacity of each MinIO node's data volume.

Prerequisites

    • A functional Kubernetes cluster (v1.21+ recommended)
    • kubectl v1.21+ installed and configured with cluster access
    • KubeBlocks installed (installation guide)
    • MinIO Add-on enabled:
      helm install minio kubeblocks/minio --version 1.1.0-alpha.0 -n kb-system
    • A namespace for the cluster (examples use demo):
      kubectl create ns demo
    NOTE

    Volume expansion requires the StorageClass to support allowVolumeExpansion: true. The new storage size must be larger than the current size; shrinking is not supported.

    Expand Storage

    Expand the data volume from 20Gi to 30Gi:

    kubectl apply -f - <<EOF apiVersion: operations.kubeblocks.io/v1alpha1 kind: OpsRequest metadata: name: minio-volume-expand namespace: demo spec: clusterName: minio-cluster type: VolumeExpansion volumeExpansion: - componentName: minio volumeClaimTemplates: - name: data storage: "30Gi" EOF

    Monitor progress:

    kubectl get opsrequest minio-volume-expand -n demo -w
    Example Output
    NAME TYPE CLUSTER STATUS PROGRESS AGE minio-volume-expand VolumeExpansion minio-cluster Succeed 2/2 71s

    Verify the PVC sizes have been updated:

    kubectl get pvc -n demo -l app.kubernetes.io/instance=minio-cluster
    Example Output
    NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE data-minio-cluster-minio-0 Bound pvc-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 30Gi RWO kb-default-sc 10m data-minio-cluster-minio-1 Bound pvc-yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy 30Gi RWO kb-default-sc 10m

    Cleanup

    kubectl delete opsrequest minio-volume-expand -n demo --ignore-not-found

    © 2026 KUBEBLOCKS INC