Skip to content

Change default object-size and stripe-unit for storage class #14098

Answered by 11qu1d
11qu1d asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for pointing me to the right direction @BlaineEXE.

I found the relevant example which mentions this here: https://github.com/ceph/ceph-csi/blob/53579991eb2e4ef76126335d2cd8a771698f1012/examples/rbd/storageclass.yaml#L164

Effectively, object size and stripe unit are separate parameters and can be used as such:

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: ceph-block-ssd-sb
provisioner: rook-ceph.rbd.csi.ceph.com
parameters:
  clusterID: rook-ceph
  csi.storage.k8s.io/controller-expand-secret-name: rook-csi-rbd-provisioner
  csi.storage.k8s.io/controller-expand-secret-namespace: rook-ceph
  csi.storage.k8s.io/fstype: ext4
  csi.storage.k8s.io/node-stage-secret-na…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@11qu1d
Comment options

Answer selected by 11qu1d
@Madhu-1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants