Skip to main content

Kubernetes cluster orchestrator

Project description

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

Development

  • Bootstrap kqueen environment

mkvirtualenv -p /usr/bin/python3 kqueen
pip 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

  • Without local Kubernetes

docker-compose -f docker-compose.yml -f docker-compose.demo.yml up
  • Including local Kubernetes (without kubelet)

docker-compose -f docker-compose.yml -f docker-compose.demo.yml -f docker-compose.kubernetes.yml up
  • You can add some example data by running

docker-compose -f docker-compose.yml -f docker-compose.demo.yml exec kqueen ./devenv.py

It will add user admin with password default and few of testing objects.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kqueen-0.10.tar.gz (30.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page