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

@@ -19,7 +19,7 @@ spec:
values:
forecastle:
config:
title: "Xpander Homelab"
title: "Healthchecks"
namespaceSelector:
matchNames:
- data

View File

@@ -47,7 +47,7 @@ spec:
- name: HEALTHCHECK_PORT
value: "8080"
- name: POST_BACKUP_HOOK
value: "curl -m 10 --retry 5 https://healthchecks.k3s.xpander.ovh/ping/c88641a5-12f2-4f32-ab9c-5a7d122a229e"
value: "curl -m 10 --retry 5 http://healthchecks.monitoring.svc.cluster.local.:8000/ping/c88641a5-12f2-4f32-ab9c-5a7d122a229e"
resources:
requests:
cpu: 150m

View File

@@ -20,7 +20,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
nfs:
server: truenas
server: truenas.${SECRET_CLUSTER_DOMAIN_ROOT}.
path: "/mnt/storage/backups"
---
apiVersion: v1

View File

@@ -20,7 +20,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
nfs:
server: truenas
server: truenas.${SECRET_CLUSTER_DOMAIN_ROOT}.
path: "/mnt/storage/home/claude"
---
apiVersion: v1

View File

@@ -20,7 +20,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
nfs:
server: truenas
server: truenas.${SECRET_CLUSTER_DOMAIN_ROOT}.
path: "/mnt/storage/home/helene"
---
apiVersion: v1

View File

@@ -20,7 +20,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
nfs:
server: truenas
server: truenas.${SECRET_CLUSTER_DOMAIN_ROOT}.
path: "/mnt/storage/music"
---
apiVersion: v1

View File

@@ -20,7 +20,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
nfs:
server: truenas
server: truenas.${SECRET_CLUSTER_DOMAIN_ROOT}.
path: "/mnt/storage/photo"
---
apiVersion: v1

View File

@@ -20,7 +20,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
nfs:
server: truenas
server: truenas.${SECRET_CLUSTER_DOMAIN_ROOT}.
path: "/mnt/storage/shared-documents"
---
apiVersion: v1

View File

@@ -20,7 +20,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
nfs:
server: truenas
server: truenas.${SECRET_CLUSTER_DOMAIN_ROOT}.
path: "/mnt/storage/video"
---
apiVersion: v1

View File

@@ -32,7 +32,7 @@ spec:
cp /opt/id_rsa ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh -o StrictHostKeyChecking=no homelab@truenas << 'EOF'
ssh -o StrictHostKeyChecking=no homelab@truenas.${SECRET_CLUSTER_DOMAIN_ROOT}. << 'EOF'
WORK_DIR="/mnt/storage/backups/gitea"

View File

@@ -38,7 +38,7 @@ spec:
./trash radarr --config /opt/trash.yaml
curl -m 10 --retry 5 https://healthchecks.k3s.xpander.ovh/ping/4776417a-8410-4c33-91ca-20e4284254f0
curl -m 10 --retry 5 http://healthchecks.monitoring.svc.cluster.local.:8000/ping/4776417a-8410-4c33-91ca-20e4284254f0
volumeMounts:
- name: config
mountPath: /opt/trash.yaml

View File

@@ -38,7 +38,7 @@ spec:
./trash sonarr --config /opt/trash.yaml
curl -m 10 --retry 5 https://healthchecks.k3s.xpander.ovh/ping/f4c120e6-e12d-44b2-9ff9-e5433c0b7df4
curl -m 10 --retry 5 http://healthchecks.monitoring.svc.cluster.local.:8000/ping/f4c120e6-e12d-44b2-9ff9-e5433c0b7df4
volumeMounts:
- name: config
mountPath: /opt/trash.yaml

View File

@@ -18,7 +18,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
nfs:
server: truenas
server: truenas.${SECRET_CLUSTER_DOMAIN_ROOT}.
path: "/mnt/storage/downloads"
---
apiVersion: v1

View File

@@ -18,7 +18,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
nfs:
server: truenas
server: truenas.${SECRET_CLUSTER_DOMAIN_ROOT}.
path: "/mnt/storage/music"
---
apiVersion: v1

View File

@@ -18,7 +18,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
nfs:
server: truenas
server: truenas.${SECRET_CLUSTER_DOMAIN_ROOT}.
path: "/mnt/storage/photo"
---
apiVersion: v1

View File

@@ -18,7 +18,7 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
nfs:
server: truenas
server: truenas.${SECRET_CLUSTER_DOMAIN_ROOT}.
path: "/mnt/storage/video"
---
apiVersion: v1

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.