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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file TosKer-0.4.2.tar.gz
.
File metadata
- Download URL: TosKer-0.4.2.tar.gz
- Upload date:
- Size: 45.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd2b67da835f3faa34ece0cb82a504a65dd4a7f3100bbf6d2f0f6cb2313fc5b6 |
|
MD5 | dacf7d64b598aea870385efd8c245e5a |
|
BLAKE2b-256 | f53e70909e42b77a1ae40da95d41173393a82f1e60215042f7306593f31c2017 |
File details
Details for the file TosKer-0.4.2-py2.py3-none-any.whl
.
File metadata
- Download URL: TosKer-0.4.2-py2.py3-none-any.whl
- Upload date:
- Size: 36.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15009cd5cb4b98ce1e73b78b92ade5e437b78eea94576a9aff8da564abfc9931 |
|
MD5 | 1ea2bb65c99d086e79cad3dc469f6d3f |
|
BLAKE2b-256 | 8941fc4bb247159a3452adec1710a4d19c62e80cd0956c61ebee38ae4fdbe4f2 |