mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 04:28:15 +00:00
Merge pull request #359 from deniseschannon/rke-fixes
move examples to top-level in RKE
This commit is contained in:
@@ -5,7 +5,7 @@ weight: 200
|
||||
|
||||
When setting up your `cluster.yml` for RKE, there are a lot of different options that can be configured to control the behavior of how RKE launches Kubernetes.
|
||||
|
||||
There are several options that can be configured in cluster configuration option. There are several [example yamls]({{< baseurl >}}/rke/v0.1.x/en/config-options/example-yamls/) that contain all the options.
|
||||
There are several options that can be configured in cluster configuration option. There are several [example yamls]({{< baseurl >}}/rke/v0.1.x/en/example-yamls/) that contain all the options.
|
||||
|
||||
### Configuring Nodes
|
||||
* [Nodes]({{< baseurl >}}/rke/v0.1.x/en/config-options/nodes/)
|
||||
@@ -71,7 +71,7 @@ You can select which version of Kubernetes to install for your cluster. These op
|
||||
There are two ways to select a Kubernetes version:
|
||||
|
||||
- Using the Kubernetes image defined in [system images](#rke-system-images)
|
||||
- Using the configuration option `kubernetes_version`
|
||||
- Using the configuration option `kubernetes_version`
|
||||
|
||||
```yaml
|
||||
kubernetes_version: "v1.10.3-rancher2-1"
|
||||
|
||||
+4
-2
@@ -1,9 +1,11 @@
|
||||
---
|
||||
title: Example Cluster.ymls
|
||||
weight: 205
|
||||
weight: 300
|
||||
aliases:
|
||||
- /rke/v0.1.x/en/config-options/example-yamls/
|
||||
---
|
||||
|
||||
There are lots of different config options that can be set in the cluster configuration file for RKE. Here are some examples of files:
|
||||
There are lots of different [configuration options]({{< baseurl >}}/rke/v0.1.x/en/config-options/) that can be set in the cluster configuration file for RKE. Here are some examples of files:
|
||||
|
||||
## Minimal `cluster.yml` example
|
||||
|
||||
@@ -52,7 +52,7 @@ RKE uses a cluster configuration file, referred to as `cluster.yml` to determine
|
||||
|
||||
There are two easy ways to create a `cluster.yml`:
|
||||
|
||||
- Using our [minimal `cluster.yml`]({{< baseurl >}}/rke/v0.1.x/en/config-options/example-yamls/#minimal-cluster-yml-example) and updating it based on the node that you will be using.
|
||||
- Using our [minimal `cluster.yml`]({{< baseurl >}}/rke/v0.1.x/en/example-yamls/#minimal-cluster-yml-example) and updating it based on the node that you will be using.
|
||||
- Using `rke config` to query for all the information needed.
|
||||
|
||||
### Using `rke config`
|
||||
|
||||
Reference in New Issue
Block a user