Continental Innovates with Rancher and Kubernetes
RKE supports additional service arguments, volume binds and environment variables.
For any of the Kubernetes services, you can update the extra_args to change the existing defaults.
extra_args
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 plugins list, you need to include the default list and edit it with your changes so all changes are included.
v0.1.3
Before v0.1.3, using extra_args would only add new arguments to the list and there was no ability to change the default list.
All service defaults and parameters are defined per kubernetes_version:
kubernetes_version
For RKE v0.3.0+, the service defaults and parameters are defined per kubernetes_version. The service defaults are located here. The default list of admissions plugins is the same for all Kubernetes versions and is located here.
For RKE before v0.3.0, the service defaults and admission plugins are defined per kubernetes_version and located here.
services: kube-controller: extra_args: cluster-name: "mycluster"
Additional volume binds can be added to services using the extra_binds arguments.
extra_binds
services: kubelet: extra_binds: - "/host/dev:/dev" - "/usr/libexec/kubernetes/kubelet-plugins:/usr/libexec/kubernetes/kubelet-plugins:z"
Additional environment variables can be added to services by using the extra_env arguments.
extra_env
services: kubelet: extra_env: - "HTTP_PROXY=http://your_proxy"