mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
Add documentation for how to run a single node Kube cluster
As I keep forgetting where this is documented... Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
57fb2df63f
commit
6107c866b3
@ -34,6 +34,11 @@ kubeadm-init.sh
|
|||||||
Once `kubeadm` exits, make sure to copy the `kubeadm join` arguments,
|
Once `kubeadm` exits, make sure to copy the `kubeadm join` arguments,
|
||||||
and try `kubectl get nodes` from within the master.
|
and try `kubectl get nodes` from within the master.
|
||||||
|
|
||||||
|
If you just want to run a single node cluster with jobs running on the master, you can use:
|
||||||
|
```
|
||||||
|
kubectl taint nodes --all node-role.kubernetes.io/master- --kubeconfig /etc/kubernetes/admin.conf
|
||||||
|
```
|
||||||
|
|
||||||
To boot a node use:
|
To boot a node use:
|
||||||
```
|
```
|
||||||
./boot.sh <n> [<join_args> ...]
|
./boot.sh <n> [<join_args> ...]
|
||||||
|
Loading…
Reference in New Issue
Block a user