Giter Site home page Giter Site logo

swarmsamplescripts's Introduction

Massimo Re Ferre' www.it20.info

Sample Swarm clusters scripts 

These are a set of sample scripts that are intended to illustrate how to properly use docker-machine in conjunction with a vSphere end-point

In particular, docker-machine officially supports a number of VMware drivers:

  • Fusion
  • vSphere
  • vCloud Air

The samples in this repo are specific to vSphere (albeit they will work with both Fusion and Virtualbox, because of the way they have been written)

When can these samples be useful?

I found the Docker documentation a bit lacking in terms of how to properly parametrize docker-machine when talking to vSphere. Particularly the differences between talking to vCenter and/or ESX standalone as well as the differences between deploying the docker hosts (swarm nodes) on the root of the cluster/host or in a Resource Pool.

The more sophisticated script (swarmcluster_consul.sh) includes examples of how you would need to set the variables / parameters to, depending on the deployment scenarios, using the vmwarevsphere driver.

Most likely these scripts won't be used as-is. Their primary intent is to better document the vmwarevsphere driver.

Prerequisites

The scripts have been tested on a MacBook with Docker Toolbox 1.10 installed

Instructions and usage examples

Please edit each individual script and read the comments at the beginning for guidance

swarmsamplescripts's People

Contributors

mreferre avatar

Watchers

 avatar

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.