Code Monkey home page Code Monkey logo

google-cloud-swarm's People

Contributors

ajeetraina avatar thesandlord avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

google-cloud-swarm's Issues

Mask the initial ERROR removing host if it doesn't exist

It will be good if docker-machine rm -f $PREFIX-manager-$i && under swarm-up.sh does just a quick check and report back that the $PREFIX-manager1 doesn't exist as an information rather than the script throwing huge number of error messages:

Error removing host "collab-manager-1": Host does not exist: "collab-manager-1"
Can't remove "collab-manager-1"
About to remove collab-worker-1
Error removing host "collab-worker-1": Host does not exist: "collab-worker-1"
Can't remove "collab-worker-1"
About to remove collab-worker-2
Error removing host "collab-worker-2": Host does not exist: "collab-worker-2"
Can't remove "collab-worker-2"

Otherwise, a good timesaving tool.

swarm-up.sh pending for 15+ mins Installing Docker step

@thesandlord Hey thanks for this projects its really cool! I was just testing it out this afternoon and it seems like the Install Docker step never returns finished it was just returning pending for about 15 mins. Do you have any idea why that might be? Looks to be like the manager and workers were up I ssh into the nodes and did a simple sudo docker ps which worked.

Missing --listen-addr $masterip under swarm-up.sh

Under swam-up.sh, --listen-addr $masterip:2377 is missing due to which docker swarm doesnt get created. The right command is:

docker swarm init --listen-addr $SWARM_MANAGER_INTERNAL_IP:2377 --secret $SWARM_SECRET

Nodes don't de-register on shutdown

When a cluster is resized down, the shutdown-script that removed the node from the swarm is not being triggered. This leaves nodes in the swarm that are "Status: Down".

Luckily it doesn't seem to break anything in Swarm.

Multi-manager support

I think you should use docker swarm join --manager ... in the loop that creates the additional managers. Without that option, they will join the cluster as workers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.