staugur / SwarmOps

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

Home Page:https://blog.saintic.com/blog/217.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwarmOps

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

Issue

LICENSE

BSD

Environment

  1. Python Version: 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 bash online_gunicorn.sh start  #生产模式

Usage for Docker

   docker build -t swarmops .
   docker run -d --name swarmops --net=host swarmops
   ps aux|grep -i swarmops

Demo

SwarmOps Demo

UI

Swarms Services Nodes Storages Network Registry

Release Note

For more info, please read the changelog.md

####Release 0.0.1

作为第一个正式发布版本,SwarmOps实现了对Docker Swarm模式的集群管理,所有操作均采用API形式。

1. UI/API可以初始化、管理多个Swarm集群
2. UI/API可以增删查改服务
3. UI/API可以增删查改节点
4. UI/API可以查询服务的其他属性, 例如replicas节点,并生成Nginx样例配置
5. 数据持久化存储local或redis, 使用redis可以多点部署
6. 认证采用passport, 并设置只允许登陆的用户列表

####Release 0.0.2

1. UI大部分功能重磅更新, 采用layer弹层方式取消跳转
2. UI集成私有仓, 支持V1版本, 查删操作
3. network查询

TODO

Not yet developed(暂不开发)

About

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

https://blog.saintic.com/blog/217.html

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 61.9%Language:HTML 36.0%Language:Shell 1.8%Language:Dockerfile 0.2%