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: values:
forecastle: forecastle:
config: config:
title: "Xpander Homelab" title: "Healthchecks"
namespaceSelector: namespaceSelector:
matchNames: matchNames:
- data - data

View File

@@ -47,7 +47,7 @@ spec:
- name: HEALTHCHECK_PORT - name: HEALTHCHECK_PORT
value: "8080" value: "8080"
- name: POST_BACKUP_HOOK - 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: resources:
requests: requests:
cpu: 150m cpu: 150m

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -32,7 +32,7 @@ spec:
cp /opt/id_rsa ~/.ssh/id_rsa cp /opt/id_rsa ~/.ssh/id_rsa
chmod 600 ~/.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" WORK_DIR="/mnt/storage/backups/gitea"

View File

@@ -38,7 +38,7 @@ spec:
./trash radarr --config /opt/trash.yaml ./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: volumeMounts:
- name: config - name: config
mountPath: /opt/trash.yaml mountPath: /opt/trash.yaml

View File

@@ -38,7 +38,7 @@ spec:
./trash sonarr --config /opt/trash.yaml ./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: volumeMounts:
- name: config - name: config
mountPath: /opt/trash.yaml mountPath: /opt/trash.yaml

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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