mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
Readiness probe (#942)
* Adding readiness endpoint for readinessProbe in k8s * liveness and readiness probes added to deployment template * Changing endpoint to /readyz, onelining checks * Removing DNS check as that will be covered by storage.List() call
This commit is contained in:
committed by
Manu Gupta
parent
005b36d50b
commit
154c993c42
@@ -21,6 +21,14 @@ spec:
|
||||
- name: {{ template "fullname" . }}
|
||||
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 3000
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /readyz
|
||||
port: 3000
|
||||
env:
|
||||
- name: ATHENS_STORAGE_TYPE
|
||||
value: {{ .Values.storage.type | quote }}
|
||||
|
||||
Reference in New Issue
Block a user