Added probes to chart vars
All checks were successful
Publish Helm Charts / build-and-publish (push) Successful in 9s
All checks were successful
Publish Helm Charts / build-and-publish (push) Successful in 9s
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: yacy
|
name: yacy
|
||||||
description: A Helm chart for YaCy - a distributed peer-to-peer search engine
|
description: A Helm chart for YaCy - a distributed peer-to-peer search engine
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
appVersion: "1.930"
|
appVersion: "1.930"
|
||||||
icon: https://yacy.net/images/yacy-logo.png
|
icon: https://yacy.net/images/yacy-logo.png
|
||||||
home: https://yacy.net/
|
home: https://yacy.net/
|
||||||
|
|||||||
@@ -61,30 +61,36 @@ spec:
|
|||||||
- name: https
|
- name: https
|
||||||
containerPort: 8443
|
containerPort: 8443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
{{- if .Values.healthchecks.startupProbe.enabled }}
|
||||||
startupProbe:
|
startupProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: {{ .Values.healthchecks.startupProbe.httpGet.path }}
|
||||||
port: http
|
port: {{ .Values.healthchecks.startupProbe.httpGet.port }}
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: {{ .Values.healthchecks.startupProbe.initialDelaySeconds }}
|
||||||
periodSeconds: 10
|
periodSeconds: {{ .Values.healthchecks.startupProbe.periodSeconds }}
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: {{ .Values.healthchecks.startupProbe.timeoutSeconds }}
|
||||||
failureThreshold: 12
|
failureThreshold: {{ .Values.healthchecks.startupProbe.failureThreshold }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.healthchecks.livenessProbe.enabled }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/status_p.xml
|
path: {{ .Values.healthchecks.livenessProbe.httpGet.path }}
|
||||||
port: http
|
port: {{ .Values.healthchecks.livenessProbe.httpGet.port }}
|
||||||
initialDelaySeconds: 90
|
initialDelaySeconds: {{ .Values.healthchecks.livenessProbe.initialDelaySeconds }}
|
||||||
periodSeconds: 20
|
periodSeconds: {{ .Values.healthchecks.livenessProbe.periodSeconds }}
|
||||||
timeoutSeconds: 10
|
timeoutSeconds: {{ .Values.healthchecks.livenessProbe.timeoutSeconds }}
|
||||||
failureThreshold: 6
|
failureThreshold: {{ .Values.healthchecks.livenessProbe.failureThreshold }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.healthchecks.readinessProbe.enabled }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: {{ .Values.healthchecks.readinessProbe.httpGet.path }}
|
||||||
port: http
|
port: {{ .Values.healthchecks.readinessProbe.httpGet.port }}
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: {{ .Values.healthchecks.readinessProbe.initialDelaySeconds }}
|
||||||
periodSeconds: 10
|
periodSeconds: {{ .Values.healthchecks.readinessProbe.periodSeconds }}
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: {{ .Values.healthchecks.readinessProbe.timeoutSeconds }}
|
||||||
failureThreshold: 6
|
failureThreshold: {{ .Values.healthchecks.readinessProbe.failureThreshold }}
|
||||||
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|||||||
@@ -97,6 +97,41 @@ resources:
|
|||||||
cpu: 500m
|
cpu: 500m
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
|
|
||||||
|
# Health check probes configuration
|
||||||
|
healthchecks:
|
||||||
|
# Startup probe configuration
|
||||||
|
startupProbe:
|
||||||
|
enabled: true
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: http
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 12
|
||||||
|
|
||||||
|
# Liveness probe configuration
|
||||||
|
livenessProbe:
|
||||||
|
enabled: true
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: http
|
||||||
|
initialDelaySeconds: 90
|
||||||
|
periodSeconds: 20
|
||||||
|
timeoutSeconds: 10
|
||||||
|
failureThreshold: 6
|
||||||
|
|
||||||
|
# Readiness probe configuration
|
||||||
|
readinessProbe:
|
||||||
|
enabled: true
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: http
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 6
|
||||||
|
|
||||||
# Persistence for YaCy DATA directory
|
# Persistence for YaCy DATA directory
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user