diff --git a/yugabyte/README.md b/yugabyte/README.md index f839dc0..e4975af 100644 --- a/yugabyte/README.md +++ b/yugabyte/README.md @@ -12,4 +12,14 @@ For example, if experimenting with our sandbox cluster: 1. Run the script `scripts/yugabyte-single-az.sh us-east-2 $NAMESPACE sandbox` 2. check for connectivity `kubectl exec --namespace $NAMESPACE -it yb-tserver-0 -- /home/yugabyte/bin/ysqlsh -h yb-tserver-0.yb-tservers.$NAMESPACE` -3. Optionally, create the gorm database `scripts/create-gorm-db.sh $NAMESPACE` \ No newline at end of file +3. Optionally, create the gorm database `scripts/create-gorm-db.sh $NAMESPACE` + +## Undeploying + +Note: Pvcs will not be deleted by default when uninstalling +yugabyte with `helm uninstall yugabyte`. +To delete them, you can run the following command: + +```bash +kubectl delete pvc -l 'app in (yb-master,yb-tserver)' +``` \ No newline at end of file