From ed9686cd1155f23fca17bb4271780b157d781ceb Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Mon, 27 Jul 2020 22:58:12 +0800 Subject: [PATCH] Fixed liveness and readiness probes --- nzbhydra/Chart.yaml | 2 +- nzbhydra/templates/statefulset.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nzbhydra/Chart.yaml b/nzbhydra/Chart.yaml index 08a73c4..e067373 100644 --- a/nzbhydra/Chart.yaml +++ b/nzbhydra/Chart.yaml @@ -14,7 +14,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 0.1.3 +version: 0.1.4 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. diff --git a/nzbhydra/templates/statefulset.yaml b/nzbhydra/templates/statefulset.yaml index 9bfcbdd..f7a23c9 100644 --- a/nzbhydra/templates/statefulset.yaml +++ b/nzbhydra/templates/statefulset.yaml @@ -36,10 +36,14 @@ spec: httpGet: path: / port: 5076 + initialDelaySeconds: 300 + periodSeconds: 10 readinessProbe: httpGet: path: / port: 5076 + initialDelaySeconds: 300 + periodSeconds: 10 resources: {{- toYaml .Values.resources | nindent 12 }} volumeMounts: