Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

[apm-server] allow customizing probes #671

Merged
merged 1 commit into from
Jun 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions apm-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,9 @@ spec:
{{ toYaml .Values.podSecurityContext | indent 10 }}
{{- end }}
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
{{ toYaml .Values.livenessProbe | indent 10 }}
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
{{ toYaml .Values.readinessProbe | indent 10 }}
ports:
- containerPort: {{ .Values.service.port }}
name: http
Expand Down Expand Up @@ -125,4 +119,4 @@ spec:
{{- end }}
{{- if .Values.extraContainers }}
{{ tpl .Values.extraContainers . | indent 6 }}
{{- end }}
{{- end }}
8 changes: 8 additions & 0 deletions apm-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,20 @@ podSecurityContext:
privileged: false

livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5

readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
Expand Down