File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ A discovery URL links `etcd `_ instances together by storing their peer
2+ addresses and metadata under a unique identifier. Run this command from the root
3+ of the repository to generate a ``contrib/coreos/user-data `` file with a new
4+ discovery URL:
5+
6+ .. code-block :: console
7+
8+ $ make discovery-url
9+
10+ Required scripts are supplied in this ``user-data `` file, so do not provision a
11+ Deis cluster without running ``make discovery-url ``.
12+
13+ .. _`etcd` : https://github.com/coreos/etcd
Original file line number Diff line number Diff line change 1+ The ``deisctl `` utility communicates with remote machines over an SSH tunnel.
2+ If you don't already have an SSH key, the following command will generate
3+ a new keypair named "deis":
4+
5+ .. code-block :: console
6+
7+ $ ssh-keygen -q -t rsa -f ~/.ssh/deis -N '' -C deis
Original file line number Diff line number Diff line change 1- Get the Source
2- --------------
3-
41The `source code `_ for Deis must be on your workstation to run the commands in
52this documentation. Download an archive file from the `releases page `_, or use
63``git `` to clone the repository:
Original file line number Diff line number Diff line change @@ -71,17 +71,7 @@ Deis clusters of less than 3 nodes are unsupported.
7171Generate a New Discovery URL
7272----------------------------
7373
74- To get started with provisioning Deis, we will need to generate a new Discovery URL. Discovery URLs
75- help connect `etcd `_ instances together by storing a list of peer addresses and metadata under a
76- unique address. You can generate a new discovery URL for use in your platform by
77- running the following from the root of the repository:
78-
79- .. code-block :: console
80-
81- $ make discovery-url
82-
83- This will write a new discovery URL to the user-data file. Some convenience scripts are supplied in
84- this user-data file, so it is mandatory for provisioning Deis.
74+ .. include :: ../_includes/_generate-discovery-url.rst
8575
8676
8777Customize cloudformation.json
Original file line number Diff line number Diff line change @@ -25,10 +25,11 @@ Check System Requirements
2525Please refer to :ref: `system-requirements ` for resource considerations when choosing a
2626machine size to run Deis.
2727
28+
2829Generate SSH Key
2930----------------
3031
31- Please refer to :ref: ` generate_ssh_key ` for generating a new SSH key.
32+ .. include :: ../_includes/_generate-ssh- key.rst
3233
3334
3435Customize user-data
@@ -38,7 +39,7 @@ Customize user-data
3839Generate a New Discovery URL
3940^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4041
41- Please refer to :ref: ` generate_discovery_url ` for generating a new Discovery URL.
42+ .. include :: ../_includes/_generate-discovery-url.rst
4243
4344
4445SSH Key
Original file line number Diff line number Diff line change @@ -31,15 +31,18 @@ Check System Requirements
3131Please refer to :ref: `system-requirements ` for resource considerations when choosing a droplet
3232size to run Deis.
3333
34+
3435Generate SSH Key
3536----------------
3637
37- Please refer to :ref: `generate_ssh_key ` for generating a new SSH key.
38+ .. include :: ../_includes/_generate-ssh-key.rst
39+
3840
3941Generate a New Discovery URL
4042----------------------------
4143
42- Please refer to :ref: `generate_discovery_url ` for generating a new Discovery URL.
44+ .. include :: ../_includes/_generate-discovery-url.rst
45+
4346
4447Create CoreOS Droplets
4548----------------------
Original file line number Diff line number Diff line change @@ -9,38 +9,27 @@ These steps will help you provision a Deis cluster.
99
1010.. _get_the_source :
1111
12+ Get the Source
13+ --------------
14+
1215.. include :: ../_includes/_get-the-source.rst
1316
1417
1518.. _generate_ssh_key :
1619
17- Generate an SSH key
18- -------------------
19-
20- The ``deisctl `` utility communicates with remote machines over an SSH tunnel.
21- If you don't already have an SSH key, the following command will generate
22- a new keypair named "deis":
23-
24- .. code-block :: console
20+ Generate SSH Key
21+ ----------------
2522
26- $ ssh-keygen -q -t rsa -f ~/.ssh/deis -N '' -C deis
23+ .. include :: ../_includes/_generate-ssh-key.rst
2724
2825
2926.. _generate_discovery_url :
3027
3128Generate a New Discovery URL
3229----------------------------
3330
34- Discovery URLs help connect `etcd `_ instances together by storing a list of peer addresses and metadata under a
35- unique address. You can generate a new discovery URL for use in your platform by
36- running the following from the root of the repository:
37-
38- .. code-block :: console
39-
40- $ make discovery-url
31+ .. include :: ../_includes/_generate-discovery-url.rst
4132
42- This will write a new discovery URL to the user-data file. Some essential scripts are supplied in
43- this user-data file, so it is mandatory for provisioning Deis.
4433
4534Check System Requirements
4635-------------------------
@@ -76,4 +65,3 @@ please refer to :ref:`install_deisctl` and :ref:`install_deis_platform`.
7665
7766
7867.. _`CoreOS` : https://coreos.com/
79- .. _`etcd` : https://github.com/coreos/etcd
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ API key can be found on the Account Settings page.
4545Generate SSH Key
4646----------------
4747
48- Please refer to :ref: ` generate_ssh_key ` for generating a new SSH key.
48+ .. include :: ../_includes/_generate-ssh- key.rst
4949
5050
5151Set up your keys
@@ -61,7 +61,7 @@ Tell supernova about the key pair and give it an identifiable name:
6161 Generate a New Discovery URL
6262----------------------------
6363
64- Please refer to :ref: ` generate_discovery_url ` for generating a new Discovery URL.
64+ .. include :: ../_includes/_generate-discovery-url.rst
6565
6666
6767Choose number of instances
Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ Please install `Vagrant`_ v1.6.5+ and `VirtualBox`_.
2828Generate SSH Key
2929----------------
3030
31- Please refer to :ref: ` generate_ssh_key ` for generating a new SSH key.
31+ .. include :: ../_includes/_generate-ssh- key.rst
3232
3333
3434Generate a New Discovery URL
3535----------------------------
3636
37- Please refer to :ref: ` generate_discovery_url ` for generating a new Discovery URL.
37+ .. include :: ../_includes/_generate-discovery-url.rst
3838
3939
4040Boot CoreOS
You can’t perform that action at this time.
0 commit comments