mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 21:40:20 +00:00
deploy: use osd as failureDomain for ec pool
in Rook 1.8 templates the failureDomain is set to host for ec pools, as we are using single node minikube cluster, setting the failureDomain for osd. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
0d6db19252
commit
8a479d3865
@ -130,6 +130,7 @@ function delete_block_pool() {
|
||||
function create_block_ec_pool() {
|
||||
curl -o block-pool-ec.yaml "${ROOK_URL}/pool-ec.yaml"
|
||||
sed -i "s/ec-pool/${ROOK_BLOCK_EC_POOL_NAME}/g" block-pool-ec.yaml
|
||||
sed -i "s/failureDomain: host/failureDomain: osd/g" block-pool-ec.yaml
|
||||
kubectl_retry create -f "./block-pool-ec.yaml"
|
||||
rm -f "./block-pool-ec.yaml"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user