Skip to content

Commit b6aeac3

Browse files
committed
Errand: Align with simpler starting of node in cluster mode
1 parent 2f0fbfb commit b6aeac3

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

docs/installation/running-cluster.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ Key capabilities:
5959
- Encrypted imports – import encrypted contexts to quickly connect to new clusters.
6060

6161
```cgo title="Context needs to be imported from smr agent first (on the same machine), then can be exported to other machines"
62-
smrctl context import $(smr agent export --node smr-node-1) -y
6362
smrctl context export --api node-1.simplecontainer.io:1443
6463
```
6564

docs/installation/running-localhost.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ The command smrmgr start must be run as non-root user otherwise the deployment w
1919
:::
2020

2121
```cgo
22-
smrmgr start -n smr-node-1 -c "--port.control 127.0.0.1:1443 --port.overlay 127.0.0.1:9212"
23-
smrctl context import $(smr agent export --node smr-node-1) -y
22+
smrmgr start -c "--port.control 127.0.0.1:1443 --port.overlay 127.0.0.1:9212"
2423
```
2524

2625
Now node is started and can be used only from the same machine. Context is already imported by smrmgr.
2726

2827
```cgo title="The smrctl ps command is used to list all containers in the cluster"
2928
smrctl ps
30-
NODE GROUP NAME DOCKER NAME IMAGE IP PORTS DEPS ENGINE STATE SMR STATE
29+
NODE RESOURCE PORTS IMAGE STATE ENGINE STATE SMR STATE
30+
─────────────────────────────────────────────────────────────────────────────────────────────────────
3131
```

docs/installation/running-single.md

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

2424
```bash text title="Starting simplecontainer node with control plane exposed on the smr.example.com"
25-
smrmgr start -n smr-node-1 -d node.simplecontainer.io
25+
smrmgr start -d node.simplecontainer.io
2626
```
2727

2828
This starts the simplecontainer node and control plane listens on the `0.0.0.0:1443` which means all interfaces,
@@ -36,7 +36,7 @@ Ports exposed when started using command above:
3636
- `:::1443->1443/tcp` (Simplecontainer control plane ipv6)
3737
- `127.0.0.1:2379->2379/tcp` (Etcd exposed only on the localhost)
3838

39-
Option `-n` is not mandatory but is used for specifying name of the node. It must be unique in cluster.
39+
Option `-n` is not mandatory but is used for specifying name of the node.
4040

4141
Options `-d` specifies that node generates certificates for mTLS which are only valid for the `smr.example.com`.
4242

@@ -53,7 +53,6 @@ Key capabilities:
5353
- Encrypted imports – import encrypted contexts to quickly connect to new clusters.
5454

5555
```cgo title="Context needs to be imported from smr agent first (on the same machine), then can be exported to other machines"
56-
smrctl context import $(smr agent export --node smr-node-1) -y
5756
smrctl context export --api node-1.simplecontainer.io:1443
5857
```
5958

@@ -75,5 +74,6 @@ Now control plane should be accessible.
7574

7675
```cgo title="The smrctl ps command is used to list all containers in the cluster"
7776
smrctl ps
78-
NODE GROUP NAME DOCKER NAME IMAGE IP PORTS DEPS ENGINE STATE SMR STATE
77+
NODE RESOURCE PORTS IMAGE STATE ENGINE STATE SMR STATE
78+
─────────────────────────────────────────────────────────────────────────────────────────────────────
7979
```

0 commit comments

Comments
 (0)