From a13f60b07414abf16c712d3627257d48a9c82480 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Fri, 10 Jul 2020 20:09:07 +0200 Subject: [PATCH] Loosen up docker-hub-exporter probes This is not a mission critical service and can be unavailable once in a while as the metrics it provibes aren't needed to be minute to minute accurate --- charts/docker-hub-exporter/Chart.yaml | 2 +- charts/docker-hub-exporter/templates/deployment.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/docker-hub-exporter/Chart.yaml b/charts/docker-hub-exporter/Chart.yaml index 14e2a21..c6d0929 100644 --- a/charts/docker-hub-exporter/Chart.yaml +++ b/charts/docker-hub-exporter/Chart.yaml @@ -4,7 +4,7 @@ description: Docker Hub exporter home: https://github.com/jessestuart/docker-hub-exporter icon: https://helm.wyrihaximus.net/images/charts/docker-hub-exporter.png type: application -version: 0.2.2 +version: 0.2.3 appVersion: d05df48 maintainers: - name: WyriHaximus diff --git a/charts/docker-hub-exporter/templates/deployment.yaml b/charts/docker-hub-exporter/templates/deployment.yaml index 1ae0725..f3da175 100644 --- a/charts/docker-hub-exporter/templates/deployment.yaml +++ b/charts/docker-hub-exporter/templates/deployment.yaml @@ -30,10 +30,16 @@ spec: containerPort: 9170 protocol: TCP livenessProbe: + failureThreshold: 9 + periodSeconds: 20 + initialDelaySeconds: 20 httpGet: path: / port: metrics readinessProbe: + failureThreshold: 9 + periodSeconds: 20 + initialDelaySeconds: 20 httpGet: path: / port: metrics