Skip to main content

An opportunistic distributed computing project based on Docker

Project description

[![Build Status](https://travis-ci.org/mconcas/plancton.svg?branch=master)](https://travis-ci.org/mconcas/plancton) [![PyPI version](https://badge.fury.io/py/plancton.svg)](https://badge.fury.io/py/plancton)

Plancton continuously deploys pilot Docker containers running any application you want based on the amount of available system resources.

Main features

  • Upgrade pilot jobs to pilot containers. Plancton is meant to run “pilot” containers: your container starts and tries to fetch something to do. When the container exits, Plancton will replace it with a brand new one. An example of application easy to containerize is [WorkQueue from cctools](https://github.com/cooperative-computing-lab/cctools)).

  • Meant for clusters. Pilot applications are containerized and deployed on a cluster of nodes, each one of them running a Plancton instance. Plancton instances are totally independent, therefore it naturally scales.

  • Monitoring. Sends monitoring data to [InfluxDB](https://www.influxdata.com/), easy to plot via [Grafana](http://grafana.org/).

  • Containers for the masses. Plancton brings the features of Docker containers (environment consistency, isolation, sandboxing) to disposable cluster applications. Plancton is not a replacement to [Apache Mesos](http://mesos.apache.org/) or [Kubernetes](http://kubernetes.io/) but it is a very simple and lightweight alternative when you don’t need all the extra features they offer.

Instant gratification

[Docker](https://www.docker.com) is required, and a recent Linux operating system.

Install the latest version with pip:

pip install plancton

If you want to install from the master branch (use at your own risk):

pip install git+https://github.com/mconcas/plancton

Plancton can be run as root or as any user with Docker privileges:

planctonctl start

Configure

The configuration file is located under /etc/plancton/config.yaml and it can be modified while Plancton is running. By default it starts with an empty configuration running dummy busybox containers.

You can get configurations with:

plancton-bootstrap <gh-user/gh-repo:branch>

and they’ll be downloaded to the correct place. An example dry run configuration can be obtained with:

plancton-bootstrap <mconcas/plancton-conf:dryrun>

Credits

Credits for the name go to G.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

plancton-0.6.0-py2.py3-none-any.whl (17.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file plancton-0.6.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for plancton-0.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 941fd6be6ddf5feacdc3971459993cf379b85ffc2b0ce99b8e8568bb90c7b5d7
MD5 7a4b48f5c42a0a3d1a835bdda16378af
BLAKE2b-256 2e82282f5084fb79c6b4cb1217e8805ea4eeab98aad1f255cb4056da87e8e872

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page