Explorar el Código

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

Breandan Dezendorf hace 2 años
padre
commit
72e13ce7a8
Se han modificado 1 ficheros con 5 adiciones y 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