11 - 附件组件


RKE supports pluggable add-ons. Add-ons are used to deploy several cluster components including:

In addition to these pluggable add-ons, you can specify an add-on that you want deployed after the cluster deployment is complete.

RKE only adds additional add-ons when using rke up multiple times. RKE does not support removing of cluster add-ons when doing rke up with a different list of add-ons.

As of v0.1.8, RKE will update an add-on if it is the same name.

Prior to v0.1.8, update any add-ons by by using kubectl —kubeconfig=kube_configxxx.yml edit.

Critical and Non-Critical Add-ons

As of version v0.1.7, add-ons are split into two categories:

  • Critical add-ons: If these add-ons fail to deploy for any reason, RKE will error out.
  • Non-critical add-ons: If these add-ons fail to deploy, RKE will only log a warning and continue deploying any other add-ons.Currently, only the network plug-in is considered critical. KubeDNS, ingress controllers and user-defined add-ons are considered non-critical.

Add-on deployment jobs

RKE uses Kubernetes jobs to deploy add-ons. In some cases, add-ons deployment takes longer than expected. As of with version v0.1.7, RKE provides an option to control the job check timeout in seconds. This timeout is set at the cluster level.

  1. addon_job_timeout: 30