Skip to content

Commit 2af6c3e

Browse files
committed
docs(*): add Deis resource requirements
1 parent 960b41d commit 2af6c3e

7 files changed

Lines changed: 57 additions & 12 deletions

File tree

docs/installing_deis/baremetal.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ machine running entirely from RAM. Then, you can `install CoreOS to disk`_.
1515
Deis requires CoreOS version 472.0.0 or more recent.
1616

1717

18+
Check System Requirements
19+
-------------------------
20+
21+
Please refer to :ref:`system-requirements` for resource considerations when choosing a
22+
machine size to run Deis.
23+
1824
Generate SSH Key
1925
----------------
2026

@@ -104,14 +110,6 @@ Install Deis Platform
104110
Now that you've finished provisioning a cluster, please refer to :ref:`install_deis_platform` to
105111
start installing the platform.
106112

107-
108-
Considerations when deploying Deis
109-
----------------------------------
110-
111-
* Use machines with ample disk space and RAM (for comparison, we use m3.large instances on EC2)
112-
* Choose an appropriate `cluster size`_
113-
114-
115113
Known Problems
116114
--------------
117115

docs/installing_deis/digitalocean.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ In order to provision the cluster, we will need to install a couple of administr
2121
`Deis Control Utility`_, which will assist us with installing, configuring and managing the Deis
2222
platform.
2323

24+
Check System Requirements
25+
-------------------------
26+
27+
Please refer to :ref:`system-requirements` for resource considerations when choosing a droplet
28+
size to run Deis.
29+
2430
Generate SSH Key
2531
----------------
2632

@@ -40,7 +46,6 @@ by supplying a script that does all the heavy lifting for you. If you want to pr
4046
however, start by uploading the SSH key you wish to use to log into each of these servers. After
4147
that, create at least three Droplets with the following specifications:
4248

43-
- At least 2GB -- more is recommended
4449
- All Droplets deployed in the same region
4550
- Region must have private networking enabled
4651
- Region must have User Data enabled. Supply the user-data file here

docs/installing_deis/gce.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ Finally, create the ``gce-user-data`` file:
8181
8282
We should have a ``gce-user-data`` file ready to launch CoreOS nodes with.
8383

84-
8584
Launch Instances
8685
----------------
8786

@@ -131,6 +130,11 @@ Launch 3 instances. You can choose another starting CoreOS image from the listin
131130
| core3 | 10.240.28.163 | 108.59.85.85 | us-central1-a | RUNNING |
132131
+-------+---------------+--------------+---------------+---------+
133132
133+
.. note::
134+
135+
The provision script will by default provision ``n1-standard-2`` instances. Choosing a smaller
136+
instance size is not recommended. Please refer to :ref:`system-requirements` for resource
137+
considerations when choosing an instance size to run Deis.
134138

135139
Load Balancing
136140
--------------

docs/installing_deis/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ with CoreOS.
2121
.. toctree::
2222

2323
quick-start
24-
24+
system-requirements
2525
aws
2626
digitalocean
2727
gce

docs/installing_deis/quick-start.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ running the following from the root of the repository:
3737
This will write a new discovery URL to the user-data file. Some essential scripts are supplied in
3838
this user-data file, so it is mandatory for provisioning Deis.
3939

40+
Check System Requirements
41+
-------------------------
42+
43+
The Deis provision scripts default to a machine size which should be adequate to run Deis, but this
44+
can be customized. Please refer to :ref:`system-requirements` for resource considerations when
45+
choosing a machine size to run Deis.
4046

4147
Choose a Provider
4248
-----------------

docs/installing_deis/rackspace.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ For more information, see `optimal etcd cluster size`_.
7676

7777
Deis clusters of less than 3 nodes are unsupported.
7878

79-
8079
Run the Provision Script
8180
------------------------
8281

@@ -90,6 +89,11 @@ of the key pair you just added. Optionally, you can also specify a flavor name,
9089
Usage: provision-rackspace-cluster.sh <key pair name> [flavor] [environment]
9190
$ ./provision-rackspace-cluster.sh deis-key
9291
92+
.. note::
93+
94+
The provision script will by default provision ``performance1-2`` servers. Choosing a smaller
95+
server size is not recommended. Please refer to :ref:`system-requirements` for resource
96+
considerations when choosing a server size to run Deis.
9397

9498
Configure DNS
9599
-------------
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
:title: System Requirements
2+
:description: System requirements for provisioning Deis.
3+
4+
.. _system-requirements:
5+
6+
System Requirements
7+
===================
8+
9+
When deploying Deis, it's important to provision machines with adequate resources. Deis is a
10+
highly-available distributed system, which means that Deis components and your deployed applications
11+
will move around the cluster onto healthy hosts as hosts leave the cluster for various reasons
12+
(failures, reboots, autoscalers, etc.). Because of this, you should have ample spare resources on
13+
any machine in your cluster to withstand the additional load of running services for failed machines.
14+
15+
Machines must have:
16+
17+
* At least 4GB of RAM (Deis uses 2 - 2.5GB, plus room for failover and deployed applications)
18+
* At least 40GB of hard disk space
19+
20+
Running smaller machines will likely result in increased system load and has been known to result
21+
in component failures, issues with etcd/fleet, and other problems.
22+
23+
If running multiple (at least 3) machines of an adequate size is unreasonable, it is recommended to
24+
investigate the `Dokku`_ project instead. Dokku is `sponsored`_ by Deis and is ideal for environments
25+
where a highly-available distributed system is not necessary (i.e. local development, testing, etc.).
26+
27+
.. _`dokku`: https://github.com/progrium/dokku
28+
.. _`sponsored`: http://deis.io/deis-sponsors-dokku/

0 commit comments

Comments
 (0)