Skip to content

This module installs Descheduler using the official Helm Chart in a Kubernetes cluster.

License

Notifications You must be signed in to change notification settings

sparkfabrik/terraform-helm-descheduler

Repository files navigation

Terraform Helm Descheduler

This module installs Descheduler using the official Helm Chart in a Kubernetes cluster.

In this module, we have created simple Terraform variables to easily configure some features of the Descheduler. For example, you can filter the monitored nodes by labels, using the most used syntax for selector labels and you can turn on/off the low node utilization strategy. For the full list of available variables, please check the Inputs section below.

Providers

Name Version
helm >= 2.0
kubernetes >= 2.0

Requirements

Name Version
terraform >= 1.0
helm >= 2.0
kubernetes >= 2.0

Inputs

Name Description Type Default Required
additional_values Additional values to pass to the helm chart. list(string) [] no
chart_version Chart version to install. string "0.29.0" no
create_namespace Create namespace for the descheduler application. If false, the namespace must be created before using this module. bool true no
helm_release_name Name of the helm release. string "descheduler" no
k8s_additional_labels Set of additional labels to apply to all resources. map(string) {} no
k8s_labels Set of labels to apply to all resources. map(string)
{
"managed-by": "terraform"
}
no
low_node_utilization_enabled Enable low node utilization descheduler strategy. bool true no
namespace Namespace to install the descheduler. string "descheduler" no
node_selector_labels Node selector labels used by descheduler for limit pod eviction in selected nodes. map(string) {} no
service_monitor_enabled Enable Prometheus service monitor. bool false no
service_monitor_namespace Service monitor namespace. string "" no

Outputs

Name Description
k8s_full_labels Full set of labels applied to all resources.
namespace Namespace where the descheduler is installed.

Resources

Name Type
helm_release.this resource
kubernetes_namespace_v1.this resource
kubernetes_namespace_v1.this data source

Modules

No modules.