Skip to content

ekhomyakova/kqueen-ui

 
 

Repository files navigation

KQueen UI - UI for Kubernetes cluster manager

https://travis-ci.org/Mirantis/kqueen-ui.svg?branch=master https://coveralls.io/repos/github/Mirantis/kqueen-ui/badge.svg?branch=master https://readthedocs.org/projects/kqueen-ui/badge/?version=latest

Overview

UI project for Mirantis KQueen, more information's in KQueen repository.

Requirements

  • Python v3.6 and higher.
  • Pip v3 and higher.
  • NodeJS and npm
  • Docker stable release (v17.03 and higher is preferable).
  • Docker-compose stable release (v1.16.0 and higher is preferable).

Development

  • Bootstrap kqueen-ui environment. You need running KQueen backend app to connect to.

    To run it, please refer to KQueen project documentation

    virtualenv -p /usr/bin/python3 kqueen-ui
    source ./kqueen-ui/bin/activate
    
    or if you have *virtualenvwrapper* installed
    
    mkvirtualenv -p /usr/bin/python3 kqueen-ui
    
  • Install Python dependencies

    pip3 install -e ".[dev]"
    pip3 install --editable .
    
  • Install npm and gulp

    npm install gulp
    npm install
    
  • Run gulp tasks to handle static files and etc.

    gulp build
    
  • Optionally start mail server container. It is used to send confirmation emails during new user creation.

    docker-compose -f docker-compose.mail.yml up -d

  • Start UI service by typing

    kqueen_ui
    

Configuration

We load configuration from file config/dev.py by default and this can be configured by KQUEENUI_CONFIG_FILE environment variable. Any environment variable matching name KQUEENUI_* will be loaded and saved to configuration.

Documentation

For full documenation please refer to kqueen-ui.readthedocs.io.

DEMOs

Generic KQueen Overview

https://img.youtube.com/vi/PCAwCxPQc2A/0.jpg

AKS (Azure) in KQueen

https://img.youtube.com/vi/xHydnJGcs2k/0.jpg

Packages

No packages published

Languages

  • Python 49.1%
  • HTML 27.5%
  • JavaScript 12.8%
  • CSS 10.5%
  • Shell 0.1%