diff options
author | pmikus <pmikus@cisco.com> | 2021-01-07 14:27:38 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2021-01-29 08:47:06 +0000 |
commit | 6717a3bc8b5fb81c1a19964fd367878230331457 (patch) | |
tree | 058db7055c94fbb0271cb089e15c83bd7c9a503c /terraform-ci-infra/1n_nmd/exporter/variables.tf | |
parent | ba5dcdbecd4c009c832c2a186a58566a5ef4dc81 (diff) |
Infra: Monitoring capability
+ Monitoring SOA
+ Nomad alertmanager job
+ Nomad prometheus job
+ Nomad grafana job
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I0b32e9c87276ba1a2d4a5322816f3473c737eae2
(cherry picked from commit a44eef233de959c5679602dc6cd1ed866d6abc14)
(cherry picked from commit 2856c0a0c19319de146a93c27e106351faf1926c)
Diffstat (limited to 'terraform-ci-infra/1n_nmd/exporter/variables.tf')
-rw-r--r-- | terraform-ci-infra/1n_nmd/exporter/variables.tf | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/terraform-ci-infra/1n_nmd/exporter/variables.tf b/terraform-ci-infra/1n_nmd/exporter/variables.tf new file mode 100644 index 0000000000..bfa8bd37ac --- /dev/null +++ b/terraform-ci-infra/1n_nmd/exporter/variables.tf @@ -0,0 +1,76 @@ +# Nomad +variable "nomad_datacenters" { + description = "Nomad data centers" + type = list(string) + default = [ "dc1" ] +} + +# Exporter +variable "exporter_job_name" { + description = "Exporter job name" + type = string + default = "exporter" +} + +variable "exporter_use_canary" { + description = "Uses canary deployment" + type = bool + default = false +} + +# Node Exporter +variable "node_service_name" { + description = "Node exporter service name" + type = string + default = "nodeexporter" +} + +variable "node_version" { + description = "Node exporter version" + type = string + default = "1.0.1" +} + +variable "node_port" { + description = "Node exporter TCP allocation" + type = number + default = 9100 +} + +# Blackbox Exporter +variable "blackbox_service_name" { + description = "Blackbox exporter service name" + type = string + default = "blackboxexporter" +} + +variable "blackbox_version" { + description = "Blackbox exporter version" + type = string + default = "0.18.0" +} + +variable "blackbox_port" { + description = "Blackbox exporter TCP allocation" + type = number + default = 9115 +} + +# cAdvisor Exporter +variable "cadvisor_service_name" { + description = "cAdvisor exporter service name" + type = string + default = "cadvisorexporter" +} + +variable "cadvisor_image" { + description = "cAdvisor exporter docker image" + type = string + default = "gcr.io/cadvisor/cadvisor:v0.38.7" +} + +variable "cadvisor_port" { + description = "cAdvisor exporter TCP allocation" + type = number + default = 8080 +}
\ No newline at end of file |