Minio Object Store CRD

Minio object stores can be created and configured using the objectstores.minio.rook.io custom resource definition (CRD). Complete instructions can be found in the Rook Minio Documentation.

Sample

  1. apiVersion: minio.rook.io/v1alpha1
  2. kind: ObjectStore
  3. metadata:
  4. name: my-store
  5. namespace: rook-minio
  6. spec:
  7. scope:
  8. nodeCount: 4
  9. placement:
  10. tolerations:
  11. nodeAffinity:
  12. podAffinity:
  13. podAnyAffinity:
  14. port: 9000
  15. credentials:
  16. name: access-keys
  17. namespace: rook-minio
  18. storageAmount: "10G"

Cluster Settings

Minio Specific Settings

The settings below are specific to Minio object stores:

  • port: The internal port exposed internal to the cluster by the Minio service.
  • credentials: This accepts the name and namespace strings of an existing Secret to specify the access credentials for the object store.
  • storageAmount: The size of the volume that will be mounted at the data directory.

Storage Scope

Under the scope field, a StorageScopeSpec can be specified to influence the scope or boundaries of storage that the cluster will use for its underlying storage. These properties are currently supported:

  • nodeCount: The number of Minio instances to create. Some of these instances may be scheduled on the same nodes, but exactly this many instances will be created and included in the cluster.