Skip to content

Commit

Permalink
adjust probes
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangNing10 committed Dec 21, 2023
1 parent e46d186 commit 2811887
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
13 changes: 7 additions & 6 deletions charts/devlake/templates/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,14 @@ spec:
imagePullPolicy: {{ .Values.lake.image.pullPolicy }}
ports:
- containerPort: {{ .Values.lake.port }}
{{- with .Values.lake.livenessProbe }}
livenessProbe:
httpGet:
path: /ping
port: {{ .Values.lake.port }}
scheme: HTTP
initialDelaySeconds: 60
timeoutSeconds: 30
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.lake.readinessProbe }}
readinessProbe:
{{- toYaml . | nindent 12 }}
{{- end }}
envFrom:
- secretRef:
name: {{ include "devlake.mysql.secret" . }}
Expand Down
10 changes: 10 additions & 0 deletions charts/devlake/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,16 @@ lake:

podAnnotations: {}

livenessProbe:
httpGet:
path: /ping
port: 8080
scheme: HTTP
initialDelaySeconds: 60
timeoutSeconds: 30

readinessProbe: {}

ui:
image:
repository: devlake.docker.scarf.sh/apache/devlake-config-ui
Expand Down

0 comments on commit 2811887

Please sign in to comment.