From 6c5d061aeed5449784df8cb45508806818a33c8e Mon Sep 17 00:00:00 2001 From: Denise Schannon Date: Tue, 19 Jun 2018 23:05:17 -0700 Subject: [PATCH] updates for services --- .../services/external-etcd/_index.md | 4 ++-- .../services/extra-args-and-binds/_index.md | 16 +++++++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/content/rke/v0.1.x/en/config-options/services/external-etcd/_index.md b/content/rke/v0.1.x/en/config-options/services/external-etcd/_index.md index cc4ff15250a..06c3eaf1952 100644 --- a/content/rke/v0.1.x/en/config-options/services/external-etcd/_index.md +++ b/content/rke/v0.1.x/en/config-options/services/external-etcd/_index.md @@ -1,6 +1,6 @@ --- title: External etcd -weight: 3000 +weight: 3027 draft: true --- @@ -28,7 +28,7 @@ services: -----END PRIVATE KEY----- ``` -## External etcd options +## External etcd Options ### Path diff --git a/content/rke/v0.1.x/en/config-options/services/extra-args-and-binds/_index.md b/content/rke/v0.1.x/en/config-options/services/extra-args-and-binds/_index.md index 6d28c1e19c8..05246bfe852 100644 --- a/content/rke/v0.1.x/en/config-options/services/extra-args-and-binds/_index.md +++ b/content/rke/v0.1.x/en/config-options/services/extra-args-and-binds/_index.md @@ -1,11 +1,18 @@ --- title: Extra Args and Binds -weight: 3000 +weight: 3026 draft: true --- +RKE supports the ability to configure your Kubernetes components by adding in extra service arguments to these components. -RKE supports additional service arguments. +## Extra Args + +For the `kube-controller`, you can update the `extra_args` to change the existing defaults. + +As of `v0.1.3`, using `extra_args` will add new arguments and **override** any existing defaults. For example, if you need to modify the default admission controllers list, you need to include the default list and edit it with your changes so all changes are included. + +Prior to `v0.1.3`, using `extra_args` would only add new arguments to the list and there was no ability to change the default list. ```yaml services: @@ -14,11 +21,10 @@ services: extra_args: cluster-name: "mycluster" ``` -This will add/append `--cluster-name=mycluster` to the container list of arguments. -As of `v0.1.3-rc2` using `extra_args` will add new arguments and **override** existing defaults. For example, if you need to modify the default admission controllers list, you need to change the default list and add apply it using `extra_args`. +## Extra Binds -RKE also supports additional volume binds: +Additional volume binds can be made to services using the `extra_binds` arguments. ```yaml services: