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.5.5.tar.gz
.
File metadata
- Download URL: TosKer-0.5.5.tar.gz
- Upload date:
- Size: 46.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1c2116a4faba8d3b03c5a5f10c3f744eca307349281ba3544f98becc93c69ad |
|
MD5 | 8675d6d4ddd8d91cacb3d514339ff889 |
|
BLAKE2b-256 | 6bc239c1418a6d232c511aead7f95db38b1236d6de9d426f249c5ff9ccd604bd |
File details
Details for the file TosKer-0.5.5-py2.py3-none-any.whl
.
File metadata
- Download URL: TosKer-0.5.5-py2.py3-none-any.whl
- Upload date:
- Size: 46.2 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff72a74f1a7ba7075c0fdce2771153a53cf5f23640ece8977ed6a97cde9b25f8 |
|
MD5 | fdf0e4a1d8b9338cf3b36f73d242275c |
|
BLAKE2b-256 | 007625131c66d15c7da78c822073190dfeea518de8fa555157246d66b7c634d5 |