Skip to content

Commit

Permalink
Update playground example with cleanup for script
Browse files Browse the repository at this point in the history
Signed-off-by: Soham Manoli <[email protected]>
  • Loading branch information
msoham123 committed Jun 4, 2024
1 parent 69041a1 commit 8bcfa82
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,12 @@ Proxy is listening on port: 8080
Primary endpoint: http://localhost:8080
```

Note that [`clean_deploy.sh`](/docs/development.md#clean-deploy) with no arguments also builds AIStore binaries (such as `aisnode` and `ais` CLI). You can pass in arguments to configure the same options that the `make deploy` command above uses.
Note that [`clean_deploy.sh`](/docs/development.md#clean-deploy) with no arguments also builds AIStore binaries (such as `aisnode` and `ais` CLI). You can pass in arguments to configure the same options that the `make deploy` command above uses.

> WARNING: Note that the `--cleanup` option will wipe all AIS related files and binaries. You do not need to use the --cleanup option if you just want to run the local playground with a different number of nodes or proxies. The same warning applies to running `make clean` as well. If you'd like to just restart the cluster without loss of data, just kill the cluster using `make kill` and `make run` to restart cluster without recreating daemon configs.
```console
$ ./scripts/clean_deploy.sh --target-cnt 1 --proxy-cnt 1 --mountpath-cnt 1 --deployment local
$ ./scripts/clean_deploy.sh --target-cnt 1 --proxy-cnt 1 --mountpath-cnt 1 --deployment local --cleanup
```

We can verify that the cluster is running using:
Expand Down

0 comments on commit 8bcfa82

Please sign in to comment.