Skip to content
forked from staugur/SwarmOps

Manage swarm clusters to provide a more concise and compact intermediate layer web application with swarm ui.

License

Notifications You must be signed in to change notification settings

guoyu07/SwarmOps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwarmOps

Operation of swarm cluster, providing an intermediate layer application of API interface and UI.

LICENSE

MIT

Environment

  1. Python Version: 2.6, 2.7
  2. Web Framework: Flask, Flask-RESTful
  3. Required Modules: requirements.txt

Usage

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 #性能分析模式

Usage for Docker

   cd misc ; docker build -t alpine:gcc .
   cd .. ;   docker build -t swarmops .
   docker run -tdi --name swarmops --net=host --always=restart swarmops
   ps aux|grep SwarmOps //watch the process

UI

Swarms Services Nodes

Api Design

Design

About

Manage swarm clusters to provide a more concise and compact intermediate layer web application with swarm ui.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 71.7%
  • HTML 26.3%
  • Shell 2.0%