Usage¶
To use MoiToi Docker Hive in a python project:
from moitoi_docker_hive import ClusterHandler
handler = ClusterHandler()
handler.setup_cluster_infra()
From CLI:
#mdh init
#mdh show
#mdh show --cluster-id
#mdh + --cluster-id mdhxxxx
#mdh - --cluster-id mdhxxx
#mdh delete --cluster-id mdhxx.....
After cluster setup u can navigate to http://localhost:5000 where you can add Service, Add/Remove Node, Show Service state view Grafana graphs
With REST API:
/Service |
|
/State |
|
/Grafana | Grafana interface. Default admin password is specified is first 10 characters of cluster_id |