fix: FQDN

This commit is contained in:
auricom
2021-07-30 01:33:59 +02:00
parent b83b0bff7b
commit bcf3ba5f00
18 changed files with 25 additions and 25 deletions

View File

@@ -44,25 +44,25 @@ spec:
scrapeTimeout: 30s
targets:
- name: truenas
url: truenas
url: truenas.${SECRET_CLUSTER_DOMAIN_ROOT}.
module: icmp
- name: truenas-remote
url: truenas-remote
url: truenas-remote.${SECRET_CLUSTER_DOMAIN_ROOT}.
module: icmp
- name: borgbackup
url: borgbackup
url: borgbackup.${SECRET_CLUSTER_DOMAIN_ROOT}.
module: icmp
- name: k3s-server
url: k3s-server
url: k3s-server.${SECRET_CLUSTER_DOMAIN_ROOT}.
module: icmp
- name: k3s-worker1
url: k3s-worker1
url: k3s-worker1.${SECRET_CLUSTER_DOMAIN_ROOT}.
module: icmp
- name: k3s-worker2
url: k3s-worker2
url: k3s-worker2.${SECRET_CLUSTER_DOMAIN_ROOT}.
module: icmp
- name: k3s-worker3
url: k3s-worker3
url: k3s-worker3.${SECRET_CLUSTER_DOMAIN_ROOT}.
module: icmp
prometheusRule:
enabled: true

View File

@@ -264,14 +264,14 @@ spec:
scrape_interval: 60s
metrics_path: "/metrics"
static_configs:
- targets: ["truenas.${SECRET_CLUSTER_DOMAIN_ROOT}:9273"]
- targets: ["truenas.${SECRET_CLUSTER_DOMAIN_ROOT}.: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: ["truenas-remote.${SECRET_CLUSTER_DOMAIN_ROOT}.:9273"]
labels:
app: "truenas-remote"
# Example scrape config for probing ingresses via the Blackbox Exporter.