mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-10 19:29:46 +00:00
Basic multi-node support
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
This commit is contained in:
@@ -19,4 +19,17 @@ Manually initialise master with `kubeadm`:
|
||||
runc exec kubelet kubeadm-init.sh
|
||||
```
|
||||
|
||||
Once `kubeadm` exits, try `runc exec kubelet kubectl get nodes`.
|
||||
Once `kubeadm` exits, make sure to copy the `kubeadm join` arguments,
|
||||
and try `runc exec kubelet kubectl get nodes`.
|
||||
|
||||
To boot a node use:
|
||||
```
|
||||
./boot-node.sh <n> [<join_args> ...]
|
||||
```
|
||||
|
||||
More specifically, to start 3 nodes use 3 separate shells and run this:
|
||||
```
|
||||
shell1> ./boot-node.sh 1 --token bb38c6.117e66eabbbce07d 192.168.65.22:6443
|
||||
shell2> ./boot-node.sh 2 --token bb38c6.117e66eabbbce07d 192.168.65.22:6443
|
||||
shell3> ./boot-node.sh 3 --token bb38c6.117e66eabbbce07d 192.168.65.22:6443
|
||||
```
|
||||
|
Reference in New Issue
Block a user