Skip to content

Commit 75ed9d7

Browse files
mboersmaMatthew Fisher
authored andcommitted
docs(scheduler): update documentation for CoreOS/Fleet/cluster changes
Refs #707.
1 parent 5b3d268 commit 75ed9d7

14 files changed

Lines changed: 104 additions & 50 deletions

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,3 @@ Vagrantfile.local
6060
.chef
6161
contrib/vagrant/knife-config/admin.pem
6262
contrib/vagrant/knife-config/chef-validator.pem
63-
controller/provider/vagrant-util/nodes/
64-
controller/provider/vagrant-util/.host_nodes_dir

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ Deis is an open source PaaS that makes it easy to deploy, scale and manage Docke
99

1010
# Installation
1111

12-
Deis is a set of Docker containers that can be deployed anywhere including public cloud, private cloud, bare metal or your workstation. You will need Docker and Vagrant to get started.
12+
Deis is a set of Docker containers that can be deployed anywhere including public cloud, private cloud, bare metal or your workstation. You will need [Docker](https://www.docker.io/) and [Vagrant](http://www.vagrantup.com/) to get started.
1313

1414
## Boot CoreOS
1515

16-
Start a CoreOS virtual machine on VirtualBox.
16+
First, start a CoreOS virtual machine on VirtualBox. From a command prompt, `cd` to the root of the Deis project code and type:
1717

1818
```
1919
vagrant up
2020
```
2121

22-
Export some environment variables so you can connect to the VM using the `docker` and `fleetctl` clients on your workstation.
22+
Export some environment variables so you can connect to the VM using the `docker` and [`fleetctl`](https://github.com/coreos/fleet#building) clients on your workstation.
2323

2424
```
2525
export DOCKER_HOST=tcp://172.17.8.100:4243
@@ -44,13 +44,14 @@ make run
4444
```
4545

4646
## Install the Deis Client
47-
Use `pip` to install the latest Deis Client, download pre-compiled binares, or symlink `client/deis.py` to use the latest version.
47+
Either use `pip install deis` to install the latest [Deis Client](https://pypi.python.org/pypi/deis/), download [pre-compiled binaries](https://github.com/opdemand/deis/tree/master/client#get-started), or symlink `client/deis.py` to use your local development version.
4848

4949
```
5050
ln -fs $(pwd)/client/deis.py /usr/local/bin/deis
5151
```
5252

5353
## Register a User
54+
5455
Use the Deis Client to register a new user.
5556

5657
```

client/README.rst

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,15 @@ Deis controller, providing a Heroku-inspired PaaS workflow.
2020
What is Deis?
2121
-------------
2222

23-
Deis is an open source PaaS that makes it easy to deploy and scale LXC
24-
containers and Chef nodes used to host applications, databases, middleware
25-
and other services. Deis leverages Chef, Docker and Heroku Buildpacks to
26-
provide a private PaaS that is lightweight and flexible.
23+
Deis is an open source PaaS that makes it easy to deploy and scale containers
24+
to host applications, databases, middleware and other services. Deis leverages
25+
Docker, CoreOS and Heroku Buildpacks to provide a private PaaS that is
26+
lightweight and flexible.
2727

2828
Deis comes with out-of-the-box support for Ruby, Python, Node.js, Java,
2929
Clojure, Scala, Play, PHP, Perl, Dart and Go. However, Deis can deploy
30-
anything using Heroku Buildpacks, Docker images or Chef recipes. Deis is
31-
designed to work with any cloud provider. Currently Amazon EC2, Rackspace,
32-
and DigitalOcean are supported.
30+
anything using Docker images or Heroku Buildpacks. Deis is designed to work
31+
with any cloud provider. Currently Amazon EC2 and Rackspace are supported.
3332

3433

3534
Why Deis?
@@ -39,31 +38,31 @@ Deploy anything
3938
---------------
4039

4140
Deploy a wide range of languages and frameworks with a simple git push
42-
using Heroku Buildpacks or Dockerfiles. Use custom Chef layers
43-
to deploy databases, middleware and other add-on services.
41+
using Heroku Buildpacks or Dockerfiles.
4442

4543

4644
Control everything
4745
------------------
4846

49-
Choose your hosting provider configuration. Define a formation with your
50-
own proxy and runtime layers. Retain full root access to every node.
51-
Manage your platform with a private Deis controller.
47+
Choose your hosting provider configuration. Define a cluster to meet your own
48+
needs. Retain full root access to every node. Manage your platform with a
49+
private Deis controller.
5250

5351

5452
Scale effortlessly
5553
------------------
5654

57-
Scale nodes and containers with a single command. Node provisioning,
58-
container balancing and proxy reconfiguration are completely automated.
55+
Add nodes automatically and scale containers with a single command. Smart
56+
scheduling, container balancing and proxy reconfiguration are completely
57+
automated.
5958

6059

6160
100% Open Source
6261
----------------
6362

6463
Free, transparent and easily customized. Join the open-source PaaS
6564
and DevOps community by using Deis and complimentary projects like
66-
Docker, Chef and Heroku Buildpacks.
65+
Docker, CoreOS and Heroku Buildpacks.
6766

6867

6968
Get Started
@@ -86,7 +85,7 @@ version of the Deis client for Mac OS X, Windows, or Debian Linux:
8685

8786
.. code-block:: console
8887
89-
$ deis register http://deis.example.com
88+
$ deis register http://local.deisapp.com:8000
9089
$ deis keys:add
9190
9291

controller/dev_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PyInstaller==2.1
1010
# Deis documentation requirements
1111
Sphinx>=1.2.2
1212
smartypants>=1.8.3
13-
sphinxcontrib-httpdomain>=1.2.0
13+
sphinxcontrib-httpdomain>=1.2.1
1414

1515
# Run "make coverage" for the % of code exercised during tests
1616
coverage>=3.7.1

docs/contributing/overview.rst

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:title: Contributor Overview
2-
:description: Interested in contributing to the Deis project? There are lots of ways to help.
2+
:description: Interested in contributing to the Deis project? There are lots of ways to help.
33
:keywords: Deis
44

55
.. _contributor:
@@ -21,18 +21,6 @@ We are always looking to improve and expand our
2121
documentation. Most docs reside in the main repository under the `docs/`_
2222
directory. Simply fork the project, update docs and send us a pull request.
2323

24-
Enhance Chef Integration
25-
------------------------
26-
We want Chef users to feel at home using Deis. Got an
27-
idea for improving our Chef integration? Have some thoughts on making the
28-
`deis-cookbook`_ more reusable? Open a `GitHub issue`_ and let us know!
29-
30-
Add New Cloud Providers
31-
-----------------------
32-
Want to see Deis extended to a new cloud provider? Go
33-
for it! Adding new providers is easy. Just follow the `EC2 example`_ and make
34-
sure you provide test coverage in your pull request.
35-
3624
Improve Deis Core
3725
-----------------
3826
Deis core is a Django/Celery application with a Python CLI.
@@ -42,4 +30,4 @@ coverage. Interested in contributing to Deis core? Let’s chat in IRC.
4230
.. _`Github issue`: https://github.com/opdemand/deis/issues/new
4331
.. _`docs/`: https://github.com/opdemand/deis/tree/master/docs
4432
.. _`deis-cookbook`: https://github.com/opdemand/deis-cookbook
45-
.. _`EC2 Example`: https://github.com/opdemand/deis/blob/master/celerytasks/ec2.py
33+
.. _`EC2 Example`: https://github.com/opdemand/deis/blob/master/celerytasks/ec2.py

docs/docs_requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ djangorestframework==2.3.12
1717
dop==0.1.6
1818
gunicorn==18.0
1919
paramiko==1.12.1
20+
psycopg2==2.5.2
2021
pyrax==1.6.2
2122
python-etcd==0.3.0
2223
PyYAML==3.10
@@ -28,4 +29,4 @@ docopt==0.6.1
2829
# Deis documentation requirements
2930
Sphinx>=1.2.2
3031
smartypants>=1.8.3
31-
sphinxcontrib-httpdomain>=1.2.0
32+
sphinxcontrib-httpdomain>=1.2.1

docs/faq.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,3 @@ FAQ
1616
DAY-iss
1717

1818
.. _dais: https://en.wiktionary.org/wiki/dais
19-
20-
- How can I use custom buildpacks with Deis?
21-
22-
1. Clone the `deis-cookbook`_ repository.
23-
2. Change the *buildpacks* definition in *recipes/build.rb*.
24-
3. Upload the changed cookbook to the Chef server
25-
with ``berks upload --force``.
26-
4. SSH into your Deis controller and run ``sudo chef-client``.
27-
28-
.. _`deis-cookbook`: https://github.com/opdemand/deis-cookbook.git

docs/gettingstarted/concepts.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Concepts
88
========
99

1010
Deis is an application platform that deploys and scales `Twelve Factor`_ apps
11-
using formations of `Chef`_ nodes, `Docker`_ containers and `Nginx`_ proxies.
11+
using clusters of `CoreOS`_ nodes, `Docker`_ containers and `Nginx`_ proxies.
1212

1313
Formations
1414
----------
@@ -91,7 +91,7 @@ See Also
9191
* `The Twelve Factor App <http://12factor.net/>`_
9292

9393
.. _`Twelve Factor`: http://12factor.net/
94-
.. _`Chef`: http://www.opscode.com/chef/
94+
.. _`CoreOS`: https://coreos.com/
9595
.. _`Docker`: http://docker.io/
9696
.. _`Nginx`: http://wiki.nginx.org/Main
9797
.. _`Chef Databag`: http://docs.opscode.com/essentials_data_bags.html

docs/server/index.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,12 @@ Server Reference
2626
api.utils
2727
api.views
2828

29+
registry.mock
30+
registry.private
31+
32+
scheduler.coreos
33+
scheduler.mock
34+
35+
web.templatetags.gravatar_tags
2936
web.urls
3037
web.views

docs/server/registry.mock.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
:description: Python API Reference for the Deis registry.mock module
2+
:keywords: deis, registry.mock, python, api
3+
4+
=============
5+
registry.mock
6+
=============
7+
8+
.. contents::
9+
:local:
10+
.. currentmodule:: registry.mock
11+
12+
.. automodule:: registry.mock
13+
:members:
14+
:undoc-members:

0 commit comments

Comments
 (0)