Cluster Add-ons

With this module to manage both essential and optional add-ons on enhanced OKE clusters.

This module provides the option to remove Essential addons and to manage, both essential & optional addons.

Cluster add-on removal (using the cluster_addons_to_remove variable) requires the creation of the operator host.

Note: For the cluster autoscaler you should choose only one of the options:

  • the stand-alone cluster-autoscaler deployment, using the extension module
  • the cluster-autoscaler add-on

When customizing the configuration of an existing addon, use the flag override_existing=true. Default value is false if not specified.

Example usage

cluster_addons = {
  "CertManager" = {
    remove_addon_resources_on_delete = true
    override_existing = true           # Default is false if not specified
    # The list of supported configurations for the cluster addons is here: https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengconfiguringclusteraddons-configurationarguments.htm#contengconfiguringclusteraddons-configurationarguments_CertificateManager
    configurations = [
      {
        key          = "numOfReplicas"
        value        = "1"
      }
    ]
  }
}

cluster_addons_to_remove = {
  Flannel = {
    remove_k8s_resources = true
  }
}

Reference