MoiToi Docker Hive is simple dockrized containers manager
Project description
MoiToi Docker Hive
MoiToi Docker Hive is simple docker containers orchestrator, which deploys services as containers and spreads the workloads between number of nodes and acting as cluster.
Free software: MIT license
Documentation: https://moitoi-docker-hive.readthedocs.io.
Features
Images
Following images is deployed on first cluster init
Image |
Description |
---|---|
mdh_lb |
NGINX load balancer image |
mdh_backend |
Backend image |
mdh_elsa |
REST API and load balancer config handler |
mdh_grafana |
Grafana instance |
mdh_prom |
Prometheus instance |
mdh_statsd |
Proetheus stats exporter |
Every service instance have a Telegraf entrypoint scraped by Prometheus instance. Prometheus data is visualized by Grafana instance
Endpoints
- /Service
- params
cluster_id - mdhxx…..
add_service - Initializes new cluster with one backned node and monitoring infra
add_node - add’s node to cluster
rm_node - removes node from cluster
GET - Without params it will return all clusters and nodes
- POST - Creates new cluster as specified in JSON input.
{ "clusters": "1", "replicas" : "1" }
- PUT/PATCH - Updates cluster as specified in JSON input with with cluster_id param.
{ "replicas" : "2" }
DELETE - Delete cluster cluster cluster_id is specified
- /State
- params
cluster_id - mdhxx…..
GET - Without params it will return all clusters and node states. With cluser_id returns cluster state
- /Grafana
Grafana interface. Default admin password is specified is first 10 characters of cluster_id
ToDo
More documentation
Increase security level by adding authentitcation
Decrease docker socket access for ELSA. Currently its fully exposed for all services.
Remote provider for example VMWare, XEN, etc
Implement tests
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2019-12-17)
First release on PyPI.
0.1.8 (2019-12-30)
First pre-production release
GH->CI-Travis->PyPi chain usage
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
Built Distribution
File details
Details for the file moitoi_docker_hive-0.1.10.tar.gz
.
File metadata
- Download URL: moitoi_docker_hive-0.1.10.tar.gz
- Upload date:
- Size: 271.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 429f0dfdff40b8cfd44d3e82a7a58de4290898cf81d82a6e97649188ad3b0aec |
|
MD5 | 5f16be2a5801085dd0b6cd3adda995bc |
|
BLAKE2b-256 | 56563f1a859d280bc7f4a2b9e3583f60da741d52c78f3f9b6590af3c56ff29cf |
File details
Details for the file moitoi_docker_hive-0.1.10-py2.py3-none-any.whl
.
File metadata
- Download URL: moitoi_docker_hive-0.1.10-py2.py3-none-any.whl
- Upload date:
- Size: 274.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4dba4d598edc639c8c36d4970d131dd1bc508aeac8aa1ad7237295d087fc7f1 |
|
MD5 | d37afdaa32d9fd8af07d7b24b6abc49d |
|
BLAKE2b-256 | 89273dc6b56cf90b90d8118a773cb9e1b8959b9b940aa3fb92057a65d1ace980 |