Skip to content

Commit 960b41d

Browse files
author
Gabriel Monroy
committed
Merge pull request #2456 from gabrtv/doc-review
Update documentation in preparation for stable release
2 parents 2e6802b + 1d08e5a commit 960b41d

22 files changed

Lines changed: 84 additions & 111 deletions

controller/web/static/js/checkURL.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ var path = window.location.pathname.split('/');
66
var cleanedPath = $.grep(path,function(n){ return(n) });
77

88
// the second to last path segment is the section
9-
switch(cleanedPath[cleanedPath.length-2]) {
9+
// unless there's only 1 segment
10+
if (cleanedPath.length == 1) {
11+
path = cleanedPath[0];
12+
} else {
13+
path = cleanedPath[cleanedPath.length-2];
14+
}
15+
16+
switch(path) {
1017
case 'understanding_deis':
1118
$('.toctree-l1 > a:contains("Understanding Deis")').attr('state', 'open');
1219
break;
@@ -19,6 +26,9 @@ switch(cleanedPath[cleanedPath.length-2]) {
1926
case 'managing_deis':
2027
$('.toctree-l1 > a:contains("Managing Deis")').attr('state', 'open');
2128
break;
29+
case 'troubleshooting_deis':
30+
$('.toctree-l1 > a:contains("Troubleshooting Deis")').attr('state', 'open');
31+
break;
2232
case 'customizing_deis':
2333
$('.toctree-l1 > a:contains("Customizing Deis")').attr('state', 'open');
2434
break;

docs/contributing/overview.rst

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,26 @@ Interested in contributing to the Deis project? There are lots of ways to help.
1010

1111
File Bugs & Enhancements
1212
------------------------
13-
Find a bug? Want to see a new feature? Have a request
14-
for the maintainers? Open a `GitHub issue`_ and we’ll get the conversation
15-
started.
13+
Find a bug? Want to see a new feature? Have a request for the maintainers?
14+
Open a `GitHub issue`_ and we’ll get the conversation started.
1615

1716
Write Documentation
1817
-------------------
19-
We are always looking to improve and expand our
20-
documentation. Most docs reside in the main repository under the `docs/`_
21-
directory. Simply fork the project, update docs and send us a pull request.
18+
We are always looking to improve and expand our documentation.
19+
Most docs reside in the main repository under the `docs/`_ directory.
20+
Simply fork the project, update docs and send us a pull request.
21+
22+
Contribute Code
23+
---------------
24+
We are always looking for help improving the core framework, modules, tooling and test coverage.
25+
Interested in contributing code? Let’s chat in IRC. Make sure to check out issues tagged `easy-fix`_.
26+
27+
Share your Experience
28+
---------------------
29+
Interact with the community on our user mailing list or live in our IRC channel,
30+
#deis on Freenode, where you can chat with other Deis users any time of day.
2231

23-
Improve Deis Core
24-
-----------------
25-
Deis core is a Django/Celery application with a Python CLI.
26-
We are always looking for help improving the core framework, tooling and test
27-
coverage. Interested in contributing to Deis core? Let’s chat in IRC.
2832

2933
.. _`Github issue`: https://github.com/deis/deis/issues/new
3034
.. _`docs/`: https://github.com/deis/deis/tree/master/docs
31-
.. _`deis-cookbook`: https://github.com/deis/deis-cookbook
32-
.. _`EC2 Example`: https://github.com/deis/deis/blob/master/celerytasks/ec2.py
35+
.. _`easy-fix`: https://github.com/deis/deis/labels/easy-fix

docs/installing_deis/digitalocean.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
DigitalOcean
77
============
88

9-
In this tutorial, we will show you how to set up your own 3-node cluster on DigitalOcean. This
10-
guide is also available in DigitalOcean's `Community site`_, so check out their guide as well!
9+
In this tutorial, we will show you how to set up your own 3-node cluster on DigitalOcean.
1110

1211
Prerequisites
1312
-------------
@@ -49,7 +48,7 @@ that, create at least three Droplets with the following specifications:
4948
- Select your SSH key from the list
5049

5150
If private networking is not available in your region, swap out ``$private_ipv4`` with
52-
``$public_ipv4`` in the user-data file.
51+
``$public_ipv4`` in the user-data file.
5352

5453
If you want to use the script:
5554

@@ -124,7 +123,6 @@ Now that you've finished provisioning a cluster, please refer to :ref:`install_d
124123
start installing the platform.
125124

126125

127-
.. _`Community site`: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-deis-cluster-on-digitalocean
128126
.. _`docl`: https://github.com/nathansamson/docl#readme
129127
.. _`Deis Control Utility`: https://github.com/deis/deis/tree/master/deisctl#readme
130128
.. _`DNS control panel`: https://cloud.digitalocean.com/domains

docs/installing_deis/index.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.. _provision-controller:
66

77
Installing Deis
8-
================
8+
===============
99

1010
Provisioning Deis is a matter of creating one or more :ref:`concepts_coreos`
1111
machines and using :ref:`install_deisctl` to install and start Deis.
@@ -21,14 +21,14 @@ with CoreOS.
2121
.. toctree::
2222

2323
quick-start
24-
install-deisctl
25-
install-platform
26-
digitalocean
24+
2725
aws
28-
vagrant
26+
digitalocean
2927
gce
3028
rackspace
29+
vagrant
3130
baremetal
32-
31+
install-deisctl
32+
install-platform
3333

3434
.. _`CoreOS Documentation`: https://coreos.com/docs/

docs/installing_deis/install-deisctl.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
.. _install_deisctl:
55

6-
Installing the Deis Control Utility
7-
===================================
6+
Install deisctl
7+
===============
88

99
The Deis Control Utility, or ``deisctl`` for short, is a command-line client used to configure and
1010
manage the Deis Platform.

docs/installing_deis/install-platform.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
.. _install_deis_platform:
55

6-
Installing the Deis Platform
7-
============================
6+
Install the Deis Platform
7+
=========================
88

99
.. important::
1010

11-
Before installing the platform, please see :ref:`install_deisctl` first.
11+
Before installing the platform, please see :ref:`install_deisctl`.
1212

1313
From the computer you installed the Deis Control Utility, we will provision the Deis platform.
1414
Ensure your SSH agent is running and select the private key that corresponds to the SSH key added

docs/installing_deis/quick-start.rst

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
Quick Start
55
===========
66

7-
These steps will help you get started with deploying a multi-node Deis cluster.
7+
These steps will help you provision a Deis cluster.
88

99

1010
.. _generate_ssh_key:
1111

1212
Generate an SSH key
1313
-------------------
1414

15-
To avoid problems deploying/launching apps later on, it is necessary to install `CoreOS`_ to disk
16-
with an SSH key without a passphrase. The following command will generate a new keypair named
17-
"deis":
15+
The ``deisctl`` utility communicates with remote machines over an SSH tunnel.
16+
If you don't already have an SSH key, the following command will generate
17+
a new keypair named "deis":
1818

1919
.. code-block:: console
2020
@@ -26,8 +26,7 @@ with an SSH key without a passphrase. The following command will generate a new
2626
Generate a New Discovery URL
2727
----------------------------
2828

29-
To get started with provisioning Deis, we will need to generate a new Discovery URL. Discovery URLs
30-
help connect `etcd`_ instances together by storing a list of peer addresses and metadata under a
29+
Discovery URLs help connect `etcd`_ instances together by storing a list of peer addresses and metadata under a
3130
unique address. You can generate a new discovery URL for use in your platform by
3231
running the following from the root of the repository:
3332

@@ -44,11 +43,11 @@ Choose a Provider
4443

4544
Choose one of the following providers and deploy a new cluster:
4645

47-
- :ref:`deis_on_digitalocean`
4846
- :ref:`deis_on_aws`
49-
- :ref:`deis_on_vagrant`
47+
- :ref:`deis_on_digitalocean`
5048
- :ref:`deis_on_gce`
5149
- :ref:`deis_on_rackspace`
50+
- :ref:`deis_on_vagrant`
5251
- :ref:`deis_on_bare_metal`
5352

5453

@@ -61,9 +60,9 @@ See :ref:`configure-dns` for more information on properly setting up your DNS re
6160
Install Deis Platform
6261
---------------------
6362

64-
Now that you've finished provisioning a cluster, please refer to :ref:`install_deisctl` and :ref:`install_deis_platform` to
65-
start the platform.
63+
Now that you've finished provisioning a CoreOS cluster,
64+
please refer to :ref:`install_deisctl` and :ref:`install_deis_platform`.
6665

6766

6867
.. _`CoreOS`: https://coreos.com/
69-
.. _`etcd`: https://github.com/coreos/etcd
68+
.. _`etcd`: https://github.com/coreos/etcd

docs/managing_deis/configure-load-balancers.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
:title: Configure load balancers
1+
:title: Configure Load Balancers
22
:description: Configure load balancers for your Deis Cluster
33

44
.. _configure-load-balancers:
55

6-
Configure load balancers
6+
Configure Load Balancers
77
------------------------
88

99
.. image:: DeisLoadBalancerDiagram.png
1010
:alt: Deis Load Balancer Diagram
1111

12-
For a one-node Deis cluster, there is one router and one controller, so load balancing is unnecessary.
13-
You can proceed with the next section: :ref:`configure-dns`.
14-
15-
On a multi-node cluster, however, there are probably multiple routers scheduled to the cluster, and
16-
these can potentially move hosts. Therefore, it is recommended that you configure a load balancer
12+
Deis includes multiple routers scheduled to the cluster as part of the router mesh.
13+
In the event of a host failure, these routers can move hosts.
14+
Therefore, it is recommended that you configure a load balancer
1715
to operate in front of the Deis cluster to serve application traffic.
1816

1917
These ports need to be open on the load balancers:

docs/managing_deis/operational_tasks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Managing users
1515
There are two classes of Deis users: normal users and administrators.
1616

1717
* Users can use most of the features of Deis - creating and deploying applications, adding/removing domains, etc.
18-
* Administrators can perform all the actions that users can, but they can also create, edit, and destroy clusters.
18+
* Administrators can perform all the actions that users can, but they also have owner access to all applications.
1919

2020
The first user created on a Deis installation is automatically an administrator.
2121

docs/managing_deis/platform_logging.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ Platform logging
99
Logging for Deis components and deployed applications is handled by two components:
1010
:ref:`logger` and :ref:`logspout`.
1111

12-
``deis-logspout`` is based on progrium's `logspout`_ project and runs on all CoreOS hosts. It
13-
collects logs from running containers and sends their logs to ``/deis/logs/host`` and
14-
``/deis/logs/port``.
12+
``deis-logspout`` runs on all CoreOS hosts, collects logs from running containers
13+
and sends their logs to ``/deis/logs/host`` and ``/deis/logs/port``.
1514

1615
``deis-logger`` collects the logs sent by logspout and archives them for use by :ref:`Controller`
1716
when a client runs ``deis logs``. This component publishes its host and port to ``/deis/logs/host``

0 commit comments

Comments
 (0)