Repo with lab bench setup of a cluster of virtual ARM nodes. This could in a real live world scenario be a bunch of raspberry pi boards
We can bring it all up automatically via a simple
make cluster-up
And then we get a detached tmux session and inside it a terminal for each cluster node we might have been created previously.
Again, simple command to start working with it :)
make cluster-view
And we can then start laborate with some clustered docker swarm workloads :)
make cluster-up
make cluster-down
We can create a node X by using "make cluster-nodeX", like this for a first node :
make cluster-node1
and we can continue add more nodes as needed :
make cluster-node2
make cluster-node3
...
This lab setup simply use pwd "tjosan" for the nodes and we can login like
sshpass -p tjosan ssh [email protected] uptime
(realworld setup would preferably use ssh keys of course)
TODO
- swarmregistry Run a container repository/registry in the cluster. This is needed for all other swarm examples too so start with this one...
- swarmtest Simple web app for testing out docker swarm cluster.