From 73ace420a27e9981ce8a8e0cd4df1cc13819c541 Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Tue, 28 Jul 2020 09:47:29 +0800 Subject: [PATCH] Fixed probes in nzbhydra --- nzbhydra/Chart.yaml | 2 +- nzbhydra/templates/statefulset.yaml | 6 ++---- nzbhydra/values.yaml | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/nzbhydra/Chart.yaml b/nzbhydra/Chart.yaml index e067373..824d4bf 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.4 +version: 0.1.5 # 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 f7a23c9..5d73289 100644 --- a/nzbhydra/templates/statefulset.yaml +++ b/nzbhydra/templates/statefulset.yaml @@ -33,14 +33,12 @@ spec: containerPort: 5076 protocol: TCP livenessProbe: - httpGet: - path: / + tcpSocket: port: 5076 initialDelaySeconds: 300 periodSeconds: 10 readinessProbe: - httpGet: - path: / + tcpSocket: port: 5076 initialDelaySeconds: 300 periodSeconds: 10 diff --git a/nzbhydra/values.yaml b/nzbhydra/values.yaml index fea817c..9639b50 100644 --- a/nzbhydra/values.yaml +++ b/nzbhydra/values.yaml @@ -56,8 +56,8 @@ resources: # cpu: 100m # memory: 128Mi requests: - cpu: 100m - memory: 128Mi + cpu: 300m + memory: 256Mi nodeSelector: location: livingRoom