Terraform module to deploy redis_exporter on kubernetes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christophe van de Kerchove 566d15e018
feat: Improve alert names, add source label
8 months ago
examples/default fix: Typo in output descriptions 8 months ago
.gitignore feat: initial release of module 9 months ago
.pre-commit-config.yaml feat: initial release of module 9 months ago
CHANGELOG.md feat: Improve alert names, add source label 7 months ago
Jenkinsfile tech: Improve jenkinsfile 8 months ago
LICENSE feat: initial release of module 9 months ago
README.md feat: Improve alert names, add source label 7 months ago
main.tf feat: Improve alert names, add source label 7 months ago
outputs.tf fix: Typo in output descriptions 8 months ago
variables.tf feat: Allow for custom alert labels and annotations 8 months ago
versions.tf feat: initial release of module 9 months ago

README.md

terraform-module-kubernetes-redis-exporter

Terraform module to deploy redis_exporter on kubernetes.

Requirements

Name Version
terraform >= 0.12
kubernetes >= 1.10.0
random >= 2.0.0

Providers

Name Version
kubernetes >= 1.10.0
random >= 2.0.0

Inputs

Name Description Type Default Required
annotations Additionnal annotations that will be merged on all resources. map {} no
deployment_annotations Additionnal annotations that will be merged on the deployment. map {} no
deployment_labels Additionnal labels that will be merged on the deployment. map {} no
deployment_name Name of the deployment that will be create. string "redis-exporter" no
deployment_template_annotations Additionnal annotations that will be merged on the deployment template. map {} no
deployment_template_labels Additionnal labels that will be merged on the deployment template. map {} no
enabled Whether or not to enable this module. bool true no
environment_variables Map of key/values that will be injected as environement variables to configure redis-exporter. More information here. map {} no
image_name Name of the docker image to use. string "oliver006/redis_exporter" no
image_pull_policy Image pull policy on the main container. string "IfNotPresent" no
image_version Tag of the docker image to use. string "latest" no
labels Additionnal labels that will be merged on all resources. map {} no
namespace Namespace in which the module will be deployed. string "default" no
prometheus_alert_groups_rules_annotations Map of strings that will be merge on all prometheus alert groups rules annotations. map {} no
prometheus_alert_groups_rules_labels Map of strings that will be merge on all prometheus alert groups rules labels. map {} no
replicas Number of replicas to deploy. number 1 no
service_annotations Additionnal annotations that will be merged for the service. map {} no
service_labels Additionnal labels that will be merged for the service. map {} no
service_name Name of the service that will be create string "redis-exporter" no

Outputs

Name Description
deployment_annotations Map of annotations that are configured on the deployment.
deployment_labels Map of labels that are configured on the deployment.
deployment_name Name of the deployment created by the module.
deployment_template_annotations Map of annotations that are configured on the deployment.
deployment_template_labels Map of labels that are configured on the deployment.
grafana_dashboards List of strings, each one representing a separate grafana dashboard.
image_name Name of the docker image used for the redis-exporter container.
image_pull_policy Image pull policy defined on the redis-exporter container.
image_version Tag of the docker image used for the redis-exporter container.
namespace Name of the namespace in which the resources have been deployed.
prometheus_alert_groups List of maps representing prometheus alerts.
selector_labels Map of the labels that are used as selectors.
service_annotations Map of annotations that are configured on the service.
service_labels Map of labels that are configured on the service.
service_name Name of the service created by the module.
service_port Port number of the service port.
service_port_name Name of the service port.