Skip to content

Commit 2a1b28a

Browse files
committed
fix: Fix minimal-setup env variables
1 parent 75d2e93 commit 2a1b28a

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

documentation/deployment-pack/minimal-setup.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@
33
**Security posture:** If host firewall policy is strict, keep inbound closed and allow only the minimum required traffic on `tailscale0`.
44
---
55

6-
## 0) Variables (set these)
7-
- `MASTER_TS` = the master VM's Tailscale IPv4 (e.g., `100.x.y.z`)
6+
## 0) Federation Variables (The federation administrator should provide these values)
87
- `TS_AUTHKEY` = short-lived, **one-off** Tailscale auth key (ideally tagged)
8+
- `MASTER_TS` = the master VM's Tailscale IPv4 (e.g., `100.x.y.z`)
9+
- `MICROK8S_JOIN_TOKEN` = the token used to join the microk8s cluster, **one-off**.
910

10-
Example:
11+
Example of values that should be provided:
1112
```bash
12-
export MASTER_TS="100.108.97.6"
1313
export TS_AUTHKEY="tskey-auth-REDACTED"
14+
export MASTER_TS="1.2.3.4"
15+
export MICROK8S_JOIN_TOKEN="microk8s-join-token-REDACTED"
1416
```
1517

1618
---
@@ -115,7 +117,12 @@ Expected:
115117
## 5) Join MicroK8s as a worker
116118

117119
Run the join command provided securely by the master operator (short-lived / one-time):
120+
```bash
121+
sudo microk8s join $MASTER_TS:25000/$MICROK8S_JOIN_TOKEN --worker
122+
```
118123

124+
If you get the error `Joining cluster failed. Could not verify the identity of 100.108.97.6. Use '--sk`
125+
Please use the following command and notify the federation administrator:
119126
```bash
120-
sudo microk8s join <MASTER_TS>:25000/<token>/<hash> --worker
127+
sudo microk8s join $MASTER_TS:25000/$MICROK8S_JOIN_TOKEN --worker --skip-verify
121128
```

0 commit comments

Comments
 (0)