Skip to content

Commit

Permalink
fix(#28): add note about undeploying yugabyte
Browse files Browse the repository at this point in the history
  • Loading branch information
saylerb committed Apr 23, 2024
1 parent aff7ed9 commit a921c0e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion yugabyte/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
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)'
```

0 comments on commit a921c0e

Please sign in to comment.