Skip to content

Commit 8377c3e

Browse files
authored
Merge pull request #3237 from replicatedhq/join-command-fixes
remove json example and edit tar file name
2 parents ee12867 + 81cf244 commit 8377c3e

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

docs/enterprise/embedded-manage-nodes.mdx

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -80,22 +80,9 @@ To automate controller node joins with Embedded Cluster:
8080
```
8181
sudo ./your-app-slug join print-command
8282
83-
curl -k https://172.17.0.2:30000/api/v1/embedded-cluster/binary -o embedded-cluster.tar.gz && \
84-
tar -xvf embedded-cluster.tar.gz && \
85-
sudo ./embedded-cluster join 172.17.0.2:30000 1234aBcD
86-
```
87-
**Example with JSON output:**
88-
89-
```
90-
sudo ./your-app-slug join print-command -ojson
91-
92-
{
93-
"commands": [
94-
"curl -k https://172.17.0.2:30000/api/v1/embedded-cluster/binary -o embedded-cluster.tar.gz",
95-
"tar -xvf embedded-cluster.tar.gz",
96-
"sudo ./embedded-cluster join 172.17.0.2:30000 1234aBcD"
97-
]
98-
}
83+
curl -k https://172.17.0.2:30000/api/v1/embedded-cluster/binary -o your-app-slug.tar.gz && \
84+
tar -xvf your-app-slug.tar.gz && \
85+
sudo ./your-app-slug join 172.17.0.2:30000 1234aBcD
9986
```
10087

10188
1. On the node that you want to join as a controller, run each of the commands provided in the `join print-command` output to download the Embedded Cluster binary, extract the binary, and join the node to the cluster.

0 commit comments

Comments
 (0)