Skip to content

Commit ddb3e70

Browse files
author
Jesse Seldess
committed
add quit to secure local cluster instructions
1 parent d49622e commit ddb3e70

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

secure-a-cluster.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,18 @@ Reopen the [Admin UI](explore-the-admin-ui.html) by pointing your browser to `ht
100100

101101
Note that your browser will consider the CockroachDB-created certificate invalid; you’ll need to click through a warning message to get to the UI.
102102

103+
## Step 7. Stop the cluster
104+
105+
When you're ready to stop the cluster, quit each node as follows:
106+
107+
~~~ shell
108+
$ cockroach quit --host=localhost --ca-cert=ca.cert --cert=root.cert --key=root.key
109+
$ cockroach quit --host=localhost --port=26258 --ca-cert=ca.cert --cert=root.cert --key=root.key
110+
$ cockroach quit --host=localhost --port=26259 --ca-cert=ca.cert --cert=root.cert --key=root.key
111+
~~~
112+
113+
For more details about the `cockroach quit` command, see [Stop a Node](stop-a-node.html).
114+
103115
## What's Next?
104116

105117
- Learn more about [CockroachDB SQL](learn-cockroachdb-sql.html) and the [built-in SQL client](use-the-built-in-sql-client.html)

0 commit comments

Comments
 (0)