SwarmOpsDocker Swarm 集群 API 封裝
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 #開發(fā)模式 3.2 sh Control.sh #生產(chǎn)模式 3.3 python -O Product.py #生產(chǎn)模式,3.2中方式實際調用此腳本 3.4 python super_debug.py #性能分析模式
API 設計:
評論
圖片
表情
