feat: migrate dns names to ip

This commit is contained in:
auricom
2021-08-02 12:22:14 +02:00
parent f250f4b726
commit a05b44d3e1
15 changed files with 30 additions and 29 deletions

View File

@@ -248,7 +248,7 @@ spec:
scrape_interval: 60s
metrics_path: "/metrics"
static_configs:
- targets: ["opnsense.${SECRET_CLUSTER_DOMAIN_ROOT}.:9273"]
- targets: ["${LOCAL_LAN_OPNSENSE}:9273"]
labels:
app: "opnsense"
- job_name: "hass"
@@ -264,14 +264,14 @@ spec:
scrape_interval: 60s
metrics_path: "/metrics"
static_configs:
- targets: ["truenas.${SECRET_CLUSTER_DOMAIN_ROOT}.:9273"]
- targets: ["${LOCAL_LAN_TRUENAS}:9273"]
labels:
app: "truenas"
- job_name: "truenas-remote"
scrape_interval: 60s
metrics_path: "/metrics"
static_configs:
- targets: ["truenas-remote.${SECRET_CLUSTER_DOMAIN_ROOT}.:9273"]
- targets: ["${LOCAL_LAN_TRUENAS_REMOTE}:9273"]
labels:
app: "truenas-remote"
# Example scrape config for probing ingresses via the Blackbox Exporter.