Skip to content

Mirantis/kqueen

Folders and files

NameName
Last commit message
Last commit date
Dec 19, 2017
Dec 19, 2017
Nov 8, 2017
Nov 14, 2017
Nov 30, 2017
Dec 14, 2017
Sep 24, 2017
Dec 19, 2017
Nov 30, 2017
Dec 8, 2017
Dec 5, 2017
Dec 12, 2017
Dec 8, 2017
Nov 21, 2017
Nov 8, 2017
Nov 8, 2017
Dec 1, 2017
Oct 2, 2017
Dec 14, 2017
Nov 27, 2017
Nov 22, 2017
Dec 12, 2017
Dec 19, 2017
Nov 30, 2017

Repository files navigation

KQueen - Kubernetes cluster manager

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

Overview

More information about KQueen Architecture and use cases is described in RATIONALE file.

Development

  • Bootstrap kqueen environment
mkvirtualenv -p /usr/bin/python3 kqueen
pip3 install -e ".[dev]"
pip3 install --editable .
# start etcd in container
docker-compose up -d # start
kqueen
  • Clean etcd storage and prepare examples

devenv.py will create few objects to provides basic developer environment. It will also try to download kubeconfig file for real cluster but it requires access to Mirantis VPN. However, it can be workarounded by creating file kubeconfig_remote in repository root and this file will be used instead of downloading it.

etcdctl rm --recursive /kqueen
./devenv.py

Demo environment

  • Make sure you can reach Jenkins server defined in JENKINS_API_URL variable in file kqueen/config/prod.py.
  • Run these commands to run Kqueen API and UI in containers.
docker-compose -f docker-compose.yml -f docker-compose.demo.yml up
  • You can login using user admin and password default. Default username and password can be changed in docker-compose.demo.yml file before first start of API.

Configuration

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

Documentation

For full documenation please refer to kqueen.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