File tree Expand file tree Collapse file tree
documentation/deployment-pack Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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"
1313export 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
117119Run 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```
You can’t perform that action at this time.
0 commit comments