Added configurations for k8s livenessProbs thresholds (#1447)

* Added configurations for k8s livenessProbs thresholds

* Fixed the Helm chart version
This commit is contained in:
Niko Haapaviita
2019-11-07 21:38:34 +02:00
committed by Aaron Schlesinger
parent db84b52159
commit 4aab5c37ad
3 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: athens-proxy
version: 0.3.5
version: 0.3.6
appVersion: 0.6.1
description: The proxy server for Go modules
icon: https://raw.githubusercontent.com/gomods/athens/master/docs/static/banner.png
@@ -47,9 +47,13 @@ spec:
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
livenessProbe:
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
httpGet:
path: "/healthz"
port: 3000
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
successThreshold: {{ .Values.livenessProbe.successThreshold }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
{{- if .Values.basicAuth.enabled }}
httpHeaders:
- name: Authorization
+7
View File
@@ -10,6 +10,13 @@ image:
##
pullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
service:
## Additional annotations to apply to the service
annotations: {}