Cluster utilities for your Azure Mesos cluster
421
This project provides the utility "container-service" that provides functions to manage your Azure Mesos cluster created from template https://github.com/Azure/azure-quickstart-templates/tree/master/mesos-swarm-marathon.
To use you must mount an ssh folder that contains the private key of the public key you used to configure the cluster. Here is a sample command that assumes you are mounting the "ssh" directory under your home directory that contains your private keys:
docker run -i -t -v ~/ssh:/root/.ssh anhowe/mesos-cluster-utils
Once in the container type container-service to view all the available options.
Create SSH key pair. If you have not already done this, create the pair using instructions from here https://help.ubuntu.com/community/SSH/OpenSSH/Keys.
Deploy the Azure Mesos cluster ensuring you specify your public key created in step 1:https://github.com/Azure/azure-quickstart-templates/tree/master/mesos-swarm-marathon
On a master node, you need to place your private key in a
login to master
mkdir ssh
copy id_rsa to master
scp -P 2211 id_rsa [email protected]:ssh/.
chmod 600 ~/ssh/id_rsa
sudo docker run -i -t -v ~/ssh:/root/.ssh anhowe/mesos-cluster-utils
Once in the docker container
./initialize-cluster.sh
./chaos.sh - this runs a routine where it stops a few nodes, and then sleeps and then scales up./submit-demo-app.sh - this submits a marathon applicationContent type
Image
Digest
sha256:932a4d04a…
Size
103.3 MB
Last updated
almost 11 years ago
docker pull anhowe/mesos-cluster-utils