This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Docker executor with pipework and consul support

Project Description

Credits

Uses the wonderful pipework script of jpetazzo: https://github.com/jpetazzo/pipework

Installation

::
cd docker-executor virtualenv venv . venv/bin/activate pip install –editable .

Requires

docker-executor reads the configuration from a K/V store.

Cluster object:

  • dnsname: name to register the cluster in the service discovery’s DNS

Node object:

  • name: hostname of the docker container
  • docker_image: URL of the docker image to use
  • docker_opts: specific docker run options to use
  • cpu: number of cores that can be used by this container
  • mem: memory in MB that can be used by this container
  • disks: Disk object list (see below)
  • networks: Network object list (see below)
  • port: main service port used for service discovery, e.g. 22
  • tags: list of tags for service discovery separated by comma, eg. ‘v1,testing,hdp’
  • check_ports: list of ports to check that the container is alive, eg. ‘22,5000,8080’
  • id: it will be set to the docker id of the running container
  • host: it will be set docker engine where the container is running
  • status: it will be set to the current status of the node

Network object (registry.Network object):

  • type: ‘static’, ‘dynamic’
  • networkname: name of the network to use form the networks service
  • address: for dynamic allocation use ‘_’, ‘dynamic’ or ”
The name of the network device (eg. eth0) is taken automatically from the name of the
directory in consul: eg. node/networks/eth0/address -> eth0

Volume object (registry.Disk object):

  • origin
  • destination
  • mode (OPTIONAL): default ‘rw’

Deployment

Using clush and pip:

::
python setup.py sdist upload -r pypi clush -bw @bigdata pip install –upgrade –no-cache-dir docker-executor
Release History

Release History

This version
History Node

0.3.7

History Node

0.3.6

History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

History Node

0.2.2

History Node

0.1.26

History Node

0.1.25

History Node

0.1.24

History Node

0.1.23

History Node

0.1.22.2

History Node

0.1.22.1

History Node

0.1.22

History Node

0.1.21.4

History Node

0.1.21.3

History Node

0.1.21.2

History Node

0.1.21.1

History Node

0.1.21

History Node

0.1.20

History Node

0.1.19

History Node

0.1.18

History Node

0.1.17

History Node

0.1.16

History Node

0.1.15

History Node

0.1.14

History Node

0.1.13

History Node

0.1.12

History Node

0.1.11

History Node

0.1.10

History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
docker-executor-0.3.7.tar.gz (10.6 kB) Copy SHA256 Checksum SHA256 Source Jul 15, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting