Open mittachaitu opened 4 years ago
@mittachaitu can you provide the exact steps as well. In addition, can you please give some readable / dummy names in your steps. It becomes difficult to understand when we mention the actual volume names with UIDs & so on.
I have the following pool configuration on 4 node cluster
kubectl get cspi -n openebs
NAME HOSTNAME ALLOCATED FREE CAPACITY STATUS AGE
pool1 node-1 161K 9.94G 9.94G ONLINE 15m
pool2 node-2 50K 9.94G 9.94G ONLINE 42s
pool3 node-3 161K 9.94G 9.94G ONLINE 15m
pool4 node-4 161K 9.94G 9.94G ONLINE 15m
Create a volume with three replicas on top of above pools
kubectl get cvr -n openebs
NAME USED ALLOCATED STATUS AGE
vol1-pool1 6K 6K Healthy 105s
vol1-pool2 6K 6K Healthy 105s
vol1-pool3 6K 6K Healthy 105s
No, I am scaling down my cluster nodes from 4 to 3 to achieve that I am bringing down the node-3
so data on the pool3 should migrate to pool4(node-4) before scaling down the node-3.
OpenEBS is supporting to achieve this via manual steps with PR.
Description: I have cstorpoolcluster(CSPC) resource created on top of 3 nodes(That interns creates CSPI resources) and I deployed CSI-Volumes on top of above CSPC.
Now My Setup looks like:
Now I performed horizontal scaleup of CSPC which created CSPI on new nodes
Scenario: I want to remove the node
gke-sai-test-cluster-pool-1-8d7defe8-chws
from my cluster. I performed horizontally scaled of the pool(i.e removed the pool spec of the above node from CSPC), but before scaling down the pool from that node I want to move volume replicas on that pool to the different pool(which was newly created i.ecstor-sparse-cspc-kmt7
). How I can achieve that without many manual steps.I want volume replicas on below pools
In above migrated the volume replica from
pvc-3f83cac1-5f80-11ea-85dd-42010a800121-cstor-sparse-cspc-twjx
topvc-3f83cac1-5f80-11ea-85dd-42010a800121-cstor-sparse-cspc-kmt7