As you configure a new cluster that's provisioned using RKE, you can choose custom Kubernetes options.

You can configure Kubernetes options one of two ways:

Rancher UI

When creating a cluster using one of the options described in Rancher Launched Kubernetes, you can configure basic Kubernetes options using the Cluster Options section.

From this section you can choose:


Config File

Note: In Rancher v2.0.5 and v2.0.6, the names of services in the Config File (YAML) should contain underscores only: kube_api and kube_controller.

Instead of using the Rancher UI to choose Kubernetes options for the cluster, advanced users can create an RKE config file. Using a config file allows you to set any of the options available in an RKE installation.

image

For an example of RKE config file syntax, see the RKE documentation.