SwarmOps - Docker Swarm 集群 API 封装
MIT
Linux
Python
软件简介
Docker Swarm 模式集群操作API封装和Swarm UI的中间层应用。
使用方法:
1. Requirement:
1.0 yum install -y gcc gcc-c++ python-devel libffi-devel openssl-devel
1.1 pip install -r requirements.txt
2. modify config.py or add environment variables(os.getenv key in the reference configuration item):
3. run:
3.1 python main.py #开发模式
3.2 sh Control.sh #生产模式
3.3 python -O Product.py #生产模式,3.2中方式实际调用此脚本
3.4 python super_debug.py #性能分析模式
API 设计: