Skip to content

Commit 638e7ed

Browse files
committed
Errand: Align with simpler starting of node in cluster mode
1 parent ef386bc commit 638e7ed

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

docs/installation/running-cluster.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The command smrmgr start must be run as non-root user otherwise the deployment w
2828
:::
2929

3030
```bash
31-
smrmgr start -n smr-node-1 -d node-1.simplecontainer.io
31+
smrmgr start -d node-1.simplecontainer.io
3232
```
3333

3434
This starts the simplecontainer node and control plane listens on the `0.0.0.0:1443` which means all interfaces,
@@ -87,16 +87,17 @@ The command smrmgr start must be run as non-root user otherwise the deployment w
8787
:::
8888

8989
```cgo
90-
smrmgr start -n smr-node-2 -d node-2.simplecontainer.io -j -p https://node-1.simplecontainer.io:1443
90+
smrmgr start -d node-2.simplecontainer.io -j
9191
```
9292

9393
- Option `-j` specifies node that will be asked to join the starting node to the cluster - should be the same as the node from
9494
contexts are imported from.
95-
- Option `-p` specifies peer control plane URL which we will ask to join the cluster
95+
- Option `-p` is optional specifies peer control plane URL which we will ask to join the cluster if empty will be read from smr agent peer
9696

9797
Now control plane should be accessible.
9898

9999
```cgo title="The smrctl ps command is used to list all containers in the cluster"
100100
smrctl ps
101-
NODE GROUP NAME DOCKER NAME IMAGE IP PORTS DEPS IMAGE STATE ENGINE STATE SMR STATE
101+
NODE RESOURCE PORTS IMAGE STATE ENGINE STATE SMR STATE
102+
─────────────────────────────────────────────────────────────────────────────────────────────────────
102103
```

0 commit comments

Comments
 (0)