Explorar o código

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

Breandan Dezendorf %!s(int64=2) %!d(string=hai) anos
pai
achega
72e13ce7a8
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  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