Commit 20900098 authored by Ahmad Sherif's avatar Ahmad Sherif

Allow Ops to talk to thanos

parent e9928c47
......@@ -1398,6 +1398,7 @@ module "thanos" {
ip_cidr_range = "${var.subnetworks["thanos"]}"
kernel_version = "${var.default_kernel_version}"
machine_type = "${var.machine_types["thanos"]}"
monitoring_whitelist = "${var.monitoring_whitelist_thanos}"
name = "thanos"
node_count = "${var.node_count["thanos"]}"
persistent_disk_path = "/opt/prometheus"
......
......@@ -33,6 +33,19 @@ variable "monitoring_whitelist_influxdb" {
}
}
variable "monitoring_whitelist_thanos" {
type = "map"
default = {
# 10.250.8.x for the ops prometheus servers
# 10.250.3.x for the internal grafana
# 10.250.11.x for the public grafana
"subnets" = ["10.250.3.0/24", "10.250.11.0/24", "10.250.8.0/24"]
"ports" = ["10901", "10902"]
}
}
#################
# Allow traffic from the ops
# network from the alerts manager
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment