Ver código fonte

Add d/h/k/pihole/cycle.sh for reloading configs till a better solution is available

Breandan Dezendorf 2 anos atrás
pai
commit
040cdec77a
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      dezendorf/homelab/k3s/pihole/cycle.sh

+ 4 - 0
dezendorf/homelab/k3s/pihole/cycle.sh

@@ -0,0 +1,4 @@
+for i in $(kubectl get pods | grep -i pihole | cut -f 1 -d " "); do
+  kubectl delete pod $i
+  sleep 30
+done