a few markdown changes

This commit is contained in:
lvuch
2018-04-30 16:19:35 -07:00
parent 608e05217f
commit 5aa2746ad4
4 changed files with 32 additions and 41 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ description: ""
</div>
</div>
<div class="col-md">
<h3 class="bg-default m-a-0 p-a-sm">Rancher 1.X</h3>
<h3 class="bg-default m-a-0 p-a-sm">Rancher 1.6</h3>
<div class="box p-a-sm">
<a href="https://rancher.com/docs/rancher/v1.6/en/?__hstc=181257784.c8b72d5c7559a0d146f232f140b2ff44.1506613584438.1524944375438.1524949037449.122&__hssc=181257784.2.1524949037449&__hsfp=2613135925" target="_blank" class="btn bg-link">Read the Docs</a>
</div>
+15 -9
View File
@@ -15,20 +15,26 @@ Howdy Partner! This tutorial walks you through:
This Quick Start Guide is divided into different tasks for easier consumption.
1. Begin by provisioning a Linux host.
2. [Provision a Linux Host](#provision-a-linux-host)
1. [Provision a Linux Host](#provision-a-linux-host) <br/>
Begin by provisioning a Linux host.
2. From your Linux host, run the Docker command for installing Rancher.[Install Rancher](#install-rancher)
2. [Install Rancher](#install-rancher) <br/>
From your Linux host, run the Docker command for installing Rancher.
3. Browse to your Linux host to access the Rancher UI.[Log In](#log-in)
3. [Log In](#log-in) <br/>
Browse to your Linux host to access the Rancher UI.
4. Use the versatile **Custom** option to clone your Linux host into a new Kubernetes cluster.[Create the Cluster](#create-the-cluster)
4. [Create the Cluster](#create-the-cluster) <br/>
Use the versatile **Custom** option to clone your Linux host into a new Kubernetes cluster.
5. Create a workload so that Kubernetes can distribute NGINX among your cluster nodes.[Deploy a Workload](#deploy-a-workload)
5. [Deploy a Workload](#deploy-a-workload) <br/>
Create a workload so that Kubernetes can distribute NGINX among your cluster nodes.
6. When your workload finishes deployment, browse to your node IP to make sure NGINX is running.[View Your Application](#view-your-application)
6. [View Your Application](#view-your-application) <br/>
When your workload finishes deployment, browse to your node IP to make sure NGINX is running.
7. Now that you've created a cluster and deployed NGINX, find out what else you can do with Rancher v2.0.[What's Next?](#whats-next)
7. [What's Next?](#whats-next) <br/>
Now that you've created a cluster and deployed NGINX, find out what else you can do with Rancher v2.0.
## Provision a Linux Host
@@ -72,7 +78,7 @@ To install Rancher on your host, connect to it and then use a shell to install.
$ sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher
```
#### Result: Rancher is installed.
**Result: Rancher is installed.**
### Log In
@@ -30,37 +30,21 @@ Provision the instance according to our [requirements](../setup/requirements.md)
Use {{< product >}} to clone your Linux host and configure them as Kubernetes nodes.
1. From the **Clusters** page, click **Add Cluster**.
2. Choose **Amazon EC2**.
3. Enter a **Cluster Name**.
4. {{< step_create-cluster_member-roles >}}
5. {{< step_create-cluster_cluster-options >}}
6. {{< step_create-cluster_node-pools >}}
1. Choose **Amazon EC2**.
1. Enter a **Cluster Name**.
1. {{< step_create-cluster_member-roles >}}
1. {{< step_create-cluster_cluster-options >}}
1. {{< step_create-cluster_node-pools >}}
1. Click **Add Node Template**.
2. Complete each of the following forms using information available from the [EC2 Management Console](https://aws.amazon.com/ec2).
- **Account Access** holds the region and API Key used to create the cluster.
Complete each of the following forms using information available from the [EC2 Management Console](https://aws.amazon.com/ec2).
- **Account Access** holds the region and API Key used to create the cluster.
[Amazon Documentation: Creating Access Keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_CreateAccessKey)
- **Zone and Network** configures the availability zone and network settings for your cluster.
- **Security Groups** configures the security groups applied to your cluster.
- **Instance** provisions your VM instances.
3. {{< step_rancher-template >}}
4. Click **Create**.
5. **Optional:** Add additional node pools.
<br/>
6. Review your cluster settings to confirm they're correct. Then click **Create**.
- **Zone and Network** configures the availability zone and network settings for your cluster.
- **Security Groups** configures the security groups applied to your cluster.
- **Instance** provisions your VM instances.
1. {{< step_rancher-template >}}
1. Click **Create**.
1. **Optional:** Add additional node pools.
1. Review your cluster settings to confirm they're correct. Then click **Create**.
{{< result_create-cluster >}}
+2 -1
View File
@@ -214,6 +214,7 @@ const bootstrapNav = function () {
}
const bootstrapScrollSpy = function () {
$(window).resize(scrollHandler)
$(window).scroll(scrollHandler)
@@ -226,7 +227,7 @@ const bootstrapScrollSpy = function () {
let distance = (elementOffset - scrollTop);
let $mainContentHeaders = $('.main-content').find(':header:visible');
let opts = {
height: $el.outerHeight(),
height: "100vh",
width: $el.outerWidth(),
left: $el.offset().left,
};