https://github.com/dimensiondataresearch/ddcloud-docker-swarm
Docker swarm on Dimension Data CloudControl
https://github.com/dimensiondataresearch/ddcloud-docker-swarm
Last synced: 3 days ago
JSON representation
Docker swarm on Dimension Data CloudControl
- Host: GitHub
- URL: https://github.com/dimensiondataresearch/ddcloud-docker-swarm
- Owner: DimensionDataResearch
- License: mit
- Created: 2016-07-25T01:59:41.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-23T20:36:03.000Z (over 9 years ago)
- Last Synced: 2025-02-22T04:27:41.786Z (over 1 year ago)
- Language: Python
- Size: 61.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
- Security: security-setup
Awesome Lists containing this project
README
Docker Swarm on CloudControl
============================
This repository contains Terraform and Ansible scripts to deploy a Docker Swarm cluster on on Dimension Data CloudControl.
Bits and pieces have been borrowed from the excellent `Mantl `_ project.
This is a work-in-progress.
Client Requirements
-------------------
* Linux or OSX only (sorry, but I haven't had time to build cross-platform scripts yet).
* Python 2.7
* Ansible 1.8 or higher (run ``pip install -r requirements.txt``).
* Terraform 0.7-rc2 or higher.
* The `ddcloud provider `_ for Terraform.
* An AWS hosted DNS zone.
* AWS credentials that can manage entries in that zone.
* CloudControl credentials.
* `sshpass `_ if you want to deploy everything with a single command (sorry, see Known Issues section below).
* SSH keypair stored in ``~/.ssh/id_rsa``.
Getting started
---------------
You'll want to customise ``_ and ``_ with the correct values for your configuration.
Then:
``./create-cluster``
Once the process completes (the "upgrade packages" step can take quite a while), you're now ready to swarm.
Known issues
------------
Usage of ``sshpass`` is ugly; we have since worked out `how to deploy SSH keys to DD CloudControl `_ (and will back-port this functionality at some point).