mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
Added configurations for k8s livenessProbs thresholds (#1447)
* Added configurations for k8s livenessProbs thresholds * Fixed the Helm chart version
This commit is contained in:
committed by
Aaron Schlesinger
parent
db84b52159
commit
4aab5c37ad
@@ -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
|
||||
|
||||
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user