external: pin the default csi subvolume
set the csi subvolume to pin type distributed and pin setting 1
So to statically balance the PVs across all MDS ranks
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 53413e5a24)
This commit is contained in:
1 parent
8bfdb2558c
commit
c8b4a26d0d
2 files changed
+55
-20
No files matched your search
@@ -106,13 +106,8 @@ jobs:
|
||||
toolbox=$(kubectl get pod -l app=rook-ceph-tools -n rook-ceph -o jsonpath='{.items[*].metadata.name}')
|
||||
# pass the correct subvolumegroup and cephfs_filesystem flag name
|
||||
kubectl -n rook-ceph exec $toolbox -- python3 /etc/ceph/create-external-cluster-resources.py --rbd-data-pool-name replicapool --subvolume-group group-a --cephfs-filesystem-name myfs
|
||||
# pass the wrong subvolumegroup name
|
||||
if output=$(kubectl -n rook-ceph exec $toolbox -- python3 /etc/ceph/create-external-cluster-resources.py --rbd-data-pool-name replicapool --subvolume-group false-test-subvolume-group); then
|
||||
echo "unexpectedly succeeded after passing the wrong subvolumegroup name: $output"
|
||||
exit 1
|
||||
else
|
||||
echo "script failed because wrong subvolumegroup name was passed"
|
||||
fi
|
||||
# pass the subvolumegroup name which doesn't exist
|
||||
kubectl -n rook-ceph exec $toolbox -- python3 /etc/ceph/create-external-cluster-resources.py --rbd-data-pool-name replicapool --subvolume-group false-test-subvolume-group
|
||||
|
||||
- name: dry run test skip monitoring endpoint
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user