Terraform module to deploy oracle db exporter
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 e8f41bc852
feat: Add possibility to use TNS_ADMIN options from oracle
1 month ago
examples/default maintenance: (BREAKING) Changing module outputs 1 month ago
files/grafana-dashboards maintenance: (BREAKING) rename templates to folder 1 month ago
.gitignore feat: Initial version of the module 8 months ago
.pre-commit-config.yaml chore: Update pre-commit configuration 1 month ago
AUTHORS feat: Add automatic-reload on configuration change 8 months ago
CHANGELOG.md feat: Add possibility to use TNS_ADMIN options from oracle 1 month ago
Jenkinsfile feat: Initial version of the module 8 months ago
LICENSE feat: Initial version of the module 8 months ago
README.md feat: Add possibility to use TNS_ADMIN options from oracle 1 month ago
main.tf feat: Add possibility to use TNS_ADMIN options from oracle 1 month ago
outputs.tf maintenance: (BREAKING) Changing module outputs 1 month ago
variables.tf feat: Add possibility to use TNS_ADMIN options from oracle 1 month ago
versions.tf feat: Initial version of the module 8 months ago

README.md

terraform-module-kubernetes-oracledb-exporter

Terraform module to deploy oracle db exporter

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
config_map_annotations Additionnal annotations that will be merged for the config map. map {} no
config_map_labels Additionnal labels that will be merged for the config map. map {} no
config_map_name Name of the config map that will be created. string "oracledb-exporter" no
custom_metrics_file Path to the custom metrics file. Leave empty if you do not need custom metrics. string "" no
data_source_name data_source_name that will be used by the oracledb-exporter. string n/a yes
default_metrics_file Path to the default metrics file. Leave empty to use the default one. string "" 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 "oracledb-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
image_name Name of the docker image to use. string "iamseth/oracledb_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 "0.2.6a" no
labels Additionnal labels that will be merged on all resources. map {} no
log_level Log level to set on the exporter. Valid levels: [debug, info, warn, error, fatal]. string "" 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
query_timeout Amount of time in seconds before the exporter should timeout the query. Note: This time MUST be less then the scrape_timeout of prometheus. string "" no
replicas Number of replicas to deploy. number 1 no
secret_annotations Additionnal annotations that will be merged for the secret. map {} no
secret_labels Additionnal labels that will be merged for the secret. map {} no
secret_name Name of the secret that will be created. string "oracledb-exporter" 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 "oracledb-exporter" no
tns_entry Name ofthe TNS entry to use in the tnsnames.ora file. Leave empty if you do not need this. string "" no
tnsnames_file PAth of the oracle tnsnames.ora file. Leave empty if you do not need this. string "" no

Outputs

Name Description
config_map Config_map created by the module.
deployment Deployment created by the module.
grafana_dashboards List of strings representing grafana dashboards under the form of json strings.
image_name Name of the docker image used for the oracledb-exporter container.
image_pull_policy Image pull policy defined on the oracledb-exporter container.
image_version Tag of the docker image used for the oracledb-exporter container.
prometheus_alert_groups List of object representing prometheus alert groups you can import in prometheus to alert you in case of problems.
secret Secret created by the module.
service Service created by the module.