From 4ba2d0e10bb211f4dc8034ddd5f8a7768e946444 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Tue, 13 Aug 2019 16:25:52 +0530 Subject: [PATCH] Add xfs fstype as default type in storageclass we have see better performace in device format and mounting by setting the fstype to xfs from default ext4. Signed-off-by: Madhu Rajanna --- examples/rbd/storageclass.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/rbd/storageclass.yaml b/examples/rbd/storageclass.yaml index a28a8021c..fca76a998 100644 --- a/examples/rbd/storageclass.yaml +++ b/examples/rbd/storageclass.yaml @@ -30,7 +30,9 @@ parameters: csi.storage.k8s.io/provisioner-secret-namespace: default csi.storage.k8s.io/node-stage-secret-name: csi-rbd-secret csi.storage.k8s.io/node-stage-secret-namespace: default - + # Specify the filesystem type of the volume. If not specified, + # csi-provisioner will set default as `ext4`. + csi.storage.k8s.io/fstype: xfs # uncomment the following to use rbd-nbd as mounter on supported nodes # mounter: rbd-nbd reclaimPolicy: Delete