mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
e2e: add snapshotter deploy functionality to minikube script
Just like deploy-rook and teardown-rook, this patch will add install snapshotter and cleanup snapshotter option to minikube script. Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
parent
be9195cf32
commit
268c0f1965
@ -249,6 +249,11 @@ deploy-rook)
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
||||
"$DIR"/rook.sh deploy
|
||||
;;
|
||||
install-snapshotter)
|
||||
echo "install snapshot controller"
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
||||
"$DIR"/install-snapshot.sh install
|
||||
;;
|
||||
create-block-pool)
|
||||
echo "creating a block pool named $ROOK_BLOCK_POOL_NAME"
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
||||
@ -259,6 +264,11 @@ delete-block-pool)
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
||||
"$DIR"/rook.sh delete-block-pool
|
||||
;;
|
||||
cleanup-snapshotter)
|
||||
echo "cleanup snapshot controller"
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
||||
"$DIR"/install-snapshot.sh cleanup
|
||||
;;
|
||||
teardown-rook)
|
||||
echo "teardown rook"
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
||||
@ -286,16 +296,18 @@ clean)
|
||||
*)
|
||||
echo " $0 [command]
|
||||
Available Commands:
|
||||
up Starts a local kubernetes cluster and prepare disk for rook
|
||||
down Stops a running local kubernetes cluster
|
||||
clean Deletes a local kubernetes cluster
|
||||
ssh Log into or run a command on a minikube machine with SSH
|
||||
deploy-rook Deploy rook to minikube
|
||||
create-block-pool Creates a rook block pool (named $ROOK_BLOCK_POOL_NAME)
|
||||
delete-block-pool Deletes a rook block pool (named $ROOK_BLOCK_POOL_NAME)
|
||||
teardown-rook Teardown a rook from minikube
|
||||
cephcsi Copy built docker images to kubernetes cluster
|
||||
k8s-sidecar Copy kubernetes sidecar docker images to kubernetes cluster
|
||||
up Starts a local kubernetes cluster and prepare disk for rook
|
||||
down Stops a running local kubernetes cluster
|
||||
clean Deletes a local kubernetes cluster
|
||||
ssh Log into or run a command on a minikube machine with SSH
|
||||
deploy-rook Deploy rook to minikube
|
||||
install-snapshotter Install snapshot controller
|
||||
create-block-pool Creates a rook block pool (named $ROOK_BLOCK_POOL_NAME)
|
||||
delete-block-pool Deletes a rook block pool (named $ROOK_BLOCK_POOL_NAME)
|
||||
cleanup-snapshotter Cleanup snapshot controller
|
||||
teardown-rook Teardown rook from minikube
|
||||
cephcsi Copy built docker images to kubernetes cluster
|
||||
k8s-sidecar Copy kubernetes sidecar docker images to kubernetes cluster
|
||||
" >&2
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user