Giter Site home page Giter Site logo

xingyunsishen / swarmops Goto Github PK

View Code? Open in Web Editor NEW

This project forked from staugur/swarmops

0.0 2.0 0.0 2.41 MB

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

Home Page: http://www.saintic.com/blog/217.html

License: MIT License

Shell 1.53% Python 56.56% HTML 41.91%

swarmops's Introduction

SwarmOps

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

LICENSE

MIT

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):
    """
    此处解释一个配置: Authentication, 用来做认证的, 可选sso和none; 
    默认是sso, 如果不想认证, 改为none, 或者启动前设置环境变量: export swarmops_authentication=none
    """

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 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查询

####Release 0.0.3

TODO

  1. Network
  2. Service Optimization

swarmops's People

Contributors

staugur avatar

Watchers

James Cloos avatar xueji avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.