Improvements for creating EC2 clusters

This commit is contained in:
Sebastiaan van Steenis
2018-07-18 10:09:14 -07:00
committed by Denise
parent 1f1f6b6244
commit df21a40a45
4 changed files with 137 additions and 17 deletions
@@ -1 +1 @@
<div><p>Use <strong>Cluster Options</strong> to choose the version of Kubernetes installed on each cluster node, along with some other options for you cluster.</p></div>
<div><p>Use <strong>Cluster Options</strong> to choose the version of Kubernetes, what network provider will be used, if you want to enable Pod Security Policies and wether the nodes added to this cluster need to have a supported Docker version installed.
@@ -1,10 +1,10 @@
<p>Add one or more <strong>Node Pools</strong> to your cluster. A <em>node pool</em> is a set of virtual machines configured identically to your Linux host. However, each node in the pool also has additional Kubernetes master and worker components installed.<p>
<p>Add one or more <strong>Node Pools</strong> to your cluster.<br/><br/>A <strong>Node Pool</strong> is a collection of nodes based on a Node Template. A Node Template defines the configuration of a Node, like what Operating System image, number of CPUs and amount of RAM. Each Node Pool can have one or more Nodes Roles associated with it.</p>
<blockquote>
<p><strong>Notes:</strong></p>
<ul>
<li>After you create each node template, you can use it to create additional node pools.</li>
<li>Each Kubernetes role (i.e. <code>etcd</code>, <code>Control</code>, and <code>Worker</code>) must be filled. You can either apply all three roles to one pool or spread them around.</li>
<li>Ideally, you should have at least three <code>etcd</code> nodes so that your cluster can fail over to another if a etcd node goes down.</li>
<li>After you create a Node Template, it will be saved and you will be able to re-use it in additional Node Pools.</li>
<li>Each Node Role (i.e. <code>etcd</code>, <code>Control Plane</code>, and <code>Worker</code>) must be fulfilled. Although it is possible to apply multiple Node Roles to a Node Pool, this is not recommended.</li>
<li>The recommended setup is to have a Node Pool with the <code>etcd</code> Node Role and a count of three, a Node Pool with the <code>Control Plane</code> Node Role and a count of at least two, and a Node Pool with the <code>Worker</code> Node Role and a count of at least two. Regarding the <code>etcd</code> Node Role, refer to the <a href="https://coreos.com/etcd/docs/latest/v2/admin_guide.html#optimal-cluster-size" target="_blank">etcd Admin Guide</a>.</li>
</ul>
</blockquote>
@@ -1,13 +1,18 @@
<p>Complete the <strong>Rancher Template</strong> form to add metadata so that you can find your template in Rancher later.</p>
<p>Complete the <strong>Rancher Template</strong> form to configure the Docker daemon on the instances that will be created.</p>
<ul>
<li>
<p><strong>Labels</strong> apply metadata to your Docker objects.</p>
<p><strong>Labels</strong> can be configured on the Docker daemon.</p>
<p><a href="https://docs.docker.com/config/labels-custom-metadata/">Docker object label documentation</a></p>
</li>
<li>
<!-- TODO: Improve the engine options -->
<p><strong>Engine Options</strong> customize the configuration of the <a href="https://docs.docker.com/engine/docker-overview/#the-docker-daemon">Docker daemon</a>.</p>
<p><strong>Engine Options</strong> customize the configuration of the <a href="https://docs.docker.com/engine/docker-overview/#the-docker-daemon">Docker daemon</a>. Important configuration options might include:
<ul>
<li><strong>Docker Engine Install URL:</strong> Determines what Docker version will be installed on the instance.</li>
<li><strong>Registry mirrors:</strong> Docker Registry mirror to be used by the Docker daemon</li>
</ul>
</p>
<p><a href="https://docs.docker.com/engine/reference/commandline/dockerd/">daemon option reference</a></p>
</li>