-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #124 from Mirantis/readme-rst
add RST readme
- Loading branch information
Showing
4 changed files
with
82 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
KQueen - Kubernetes cluster manager | ||
=================================== | ||
|
||
|
||
.. image:: https://travis-ci.org/Mirantis/kqueen.svg?branch=master | ||
:target: https://travis-ci.org/Mirantis/kqueen | ||
|
||
.. image:: https://badge.fury.io/py/kqueen.svg | ||
:target: https://badge.fury.io/py/kqueen | ||
|
||
.. image:: https://coveralls.io/repos/github/Mirantis/kqueen/badge.svg?branch=master | ||
:target: https://coveralls.io/github/Mirantis/kqueen?branch=master | ||
|
||
|
||
Development | ||
----------- | ||
|
||
- Bootstrap kqueen environment | ||
|
||
:: | ||
|
||
mkvirtualenv -p /usr/bin/python3 kqueen | ||
pip3 install -r requirements.txt | ||
pip3 install --editable . | ||
# start etcd in container | ||
docker-compose up -d # start | ||
kqueen | ||
|
||
- Clean etcd storage and prepare examples | ||
|
||
:: | ||
|
||
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 <http://kqueen.readthedocs.io>`__. | ||
|
||
.. |Build Status| image:: https://travis-ci.org/Mirantis/kqueen.svg?branch=master | ||
:target: https://travis-ci.org/Mirantis/kqueen | ||
.. |PyPI version| image:: https://badge.fury.io/py/kqueen.svg | ||
:target: https://badge.fury.io/py/kqueen | ||
.. |Coverage Status| image:: https://coveralls.io/repos/github/Mirantis/kqueen/badge.svg?branch=master | ||
:target: https://coveralls.io/github/Mirantis/kqueen?branch=master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters