Sfoglia il codice sorgente

pihole liveness check is now running dns queries, not checking for the socket

Breandan Dezendorf 2 anni fa
parent
commit
72e13ce7a8
1 ha cambiato i file con 5 aggiunte e 2 eliminazioni
  1. 5 2
      dezendorf/homelab/k3s/pihole/pihole.yaml

+ 5 - 2
dezendorf/homelab/k3s/pihole/pihole.yaml

@@ -41,8 +41,11 @@ spec:
               port: 80
             initialDelaySeconds: 20
           livenessProbe:
-            tcpSocket:
-              port: 53
+            exec:
+              command:
+              - dig
+              - plex.dezendorf.net
+              - \@127.0.0.1
             initialDelaySeconds: 20
           ports:
             - name: dns-udp