Commit a9551d44 authored by Yun Guo's avatar Yun Guo

Merge branch 'gstg-prometheus-db-lb' into 'master'

add host rule for prometheus-db.gstg.gitlab.net

See merge request !688
parents b84284be 5eb2a144
......@@ -41,6 +41,22 @@ resource "google_compute_url_map" "monitoring-lb" {
###################################
host_rule {
hosts = ["prometheus-db.gstg.gitlab.net"]
path_matcher = "prometheus-db"
}
path_matcher {
name = "prometheus-db"
default_service = "${module.prometheus-db.google_compute_backend_service_self_link}"
path_rule {
paths = ["/*"]
service = "${module.prometheus-db.google_compute_backend_service_self_link}"
}
}
###################################
host_rule {
hosts = ["alerts.gstg.gitlab.net"]
path_matcher = "alerts"
......
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