HOWTO: Openshift 通过heketi设置动态修改glusterfs的pv大小
oc login oc project default oc get pods oc rsh heketi-storage-1-aaa
登录后设置运行环境
export HEKETI_CLI_USER=admin export HEKETI_CLI_KEY=$HEKETI_ADMIN_KEY
修改卷大小
heketi-cli volume list heketi-cli volume expand <volid> <size>
修改后登录gluster
oc rsh gluster-storage-1-aaa
运行rebalance命令重新平衡
gluster volume rebalance VOLNAME start
Please register or sign in to comment