From f6142d5bfc17f320b86f9dd26a88be9d7fa63a91 Mon Sep 17 00:00:00 2001 From: An Pham Date: Sun, 20 Jul 2025 19:49:44 -0700 Subject: [PATCH] reverse liveness probe --- hommer-deployment.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/hommer-deployment.yml b/hommer-deployment.yml index f55db0c..9674d37 100644 --- a/hommer-deployment.yml +++ b/hommer-deployment.yml @@ -31,16 +31,6 @@ spec: volumeMounts: - name: git-repo-volume mountPath: /shared-git-data - livenessProbe: - exec: - command: - - ls - - /shared-git-data/Homepage-Dashboard/.git # Check for a file/directory inside the cloned repo - initialDelaySeconds: 5 # Wait 5 seconds before the first probe - periodSeconds: 10 # Check every 10 seconds - timeoutSeconds: 5 # Probe times out after 5 seconds - failureThreshold: 3 # After 3 failed attempts, consider the container unhealthy - containers: - name: hommer image: b4bz/homer:v23.09.1 @@ -62,4 +52,4 @@ spec: app: hommer ports: - port: 82 - targetPort: 8080 \ No newline at end of file + targetPort: 8080