From 8dd76fa2ea986b6deb0560463405e5f2035850d9 Mon Sep 17 00:00:00 2001 From: bvanroll Date: Sat, 7 Jun 2025 11:13:10 +0200 Subject: [PATCH] slskd was failing randomly. so forcing it to restart....bandaid solution but whatevs --- k8s_manifests/slskd/deployment.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/k8s_manifests/slskd/deployment.yaml b/k8s_manifests/slskd/deployment.yaml index 7511816..3404399 100644 --- a/k8s_manifests/slskd/deployment.yaml +++ b/k8s_manifests/slskd/deployment.yaml @@ -27,11 +27,16 @@ spec: - name: slskd image: slskd/slskd:latest livenessProbe: - httpGet: - path: /health - port: 5030 - initialDelaySeconds: 60 - failureThreshold: 6 + exec: + command: + - cat + - /tmp/FAILNOW + # httpGet: + # path: /health + # port: 5030 + initialDelaySeconds: 21600 #reboot server every quarter day + #initialDelaySeconds: 60 + failureThreshold: 2 periodSeconds: 10 env: - name: SLSKD_REMOTE_CONFIGURATION