Browse Source

Update pihole with liveness check

Breandan Dezendorf 11 months ago
parent
commit
6136407053
1 changed files with 9 additions and 0 deletions
  1. 9 0
      dezendorf/homelab/k3s/pihole/pihole.yaml

+ 9 - 0
dezendorf/homelab/k3s/pihole/pihole.yaml

@@ -43,6 +43,15 @@ spec:
               path: /admin/
               port: 80
             initialDelaySeconds: 20
+          livenessProbe:
+            exec:
+              command:
+              - dig
+              - +short
+              - @127.0.0.1
+              - radarr.dezendorf.net
+            initialDelaySeconds: 60
+            periodSeconds: 30
           ports:
             - name: dns-udp
               containerPort: 53