Skip to main content

A TOSCA engine working with Docker container

Project description

TosKer is an orchestrator engine capable of automatically deploying and managing multi-component applications specifies in OASIS TOSCA, by exploiting Docker as a lightweight virtualization framework. The novelty of TosKer is to decouple the application-specific components, from the containers used to build their infrastructure. This permits to improve the orchestration of the components and to ease the change of the containers underneath.

Installation

TosKer requires having Docker installed and configured on the machine. In is possible to install TosKer by using pip:

# pip install tosker

The minimum Python version supported is 2.7. It is possible to find other installation methods on the documentation.

Quick Guide

After the installation it is possible to found in /usr/share/tosker/examples the CSAR of two example application, node-mongo.casr and thoughts.csar.

To create and start the thoughts application run the command:

tosker /usr/share/tosker/examples/thoughts.csar create start

It is possible to use the ls command to check that all the components are in the started state:

tosker ls

Now, the application can be accessible on http://127.0.0.1:8080/thoughts.html. Finally, to stop and delete the application run the command:

tosker /usr/share/tosker/examples/thoughts.csar stop delete

License

MIT license

History

0.4.0 (2017-07-10)

  • First release on PyPI.

Project details


Download files

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

Source Distribution

TosKer-0.5.1.tar.gz (44.8 kB view hashes)

Uploaded Source

Built Distribution

TosKer-0.5.1-py2.py3-none-any.whl (37.5 kB view hashes)

Uploaded Python 2 Python 3

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