Giter Site home page Giter Site logo

k8s_manager's Introduction

安装说明

本项目依赖kubeasz项目,提供了web操作界面,用于快速搭建k8s集群

# 安装python-pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python get-pip.py

# 使用pip安装依赖
pip install Django==1.11.4
pip install celery==celery-4.2.1
pip install redis

# 修改k8s_manager/settings.py文件,配置成自己的redis服务器
CELERY_BROKER_URL = "redis://127.0.0.1:6379/0"
CELERY_RESULT_BACKEND = "redis://127.0.0.1:6379/0"
CELERY_TASK_SERIALIZER = "json"

# 启动 django
python manage.py runserver 127.0.0.1:8000

# 启动 celery
celery -A k8s_manager worker -l debug

其他说明

# 当前使用的是sqlite3数据库,如需使用其他数据库,请自行配置
# 生成表
python manage.py migrate
python manage.py makemigrations k8s_manager 
python manage.py migrate k8s_manager

TODO

1.实时输出/查看日志
2.执行远程命令
3.集群状态查看
4.安装常用插件/个性化插件配置
5.部署应用
...

image image image image image image image image image

k8s_manager's People

Watchers

 avatar  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.