Skip to content

Commit

Permalink
Make probe timeouts configurable (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgschk authored May 20, 2024
1 parent 2809b8b commit d704c7f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/foundryvtt-containerized/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ spec:
containerPort: 8080
protocol: TCP
livenessProbe:
timeoutSeconds: {{ .Values.livenessProbeTimeout | default 1 }}
httpGet:
path: /
port: http
readinessProbe:
timeoutSeconds: {{ .Values.readinessProbeTimeout | default 1 }}
httpGet:
path: /
port: http
Expand Down
6 changes: 6 additions & 0 deletions charts/foundryvtt-containerized/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,9 @@ nodeSelector: {}
tolerations: []

affinity: {}

# readinessProbeTimeout is a value in seconds after which the liveness probe will time out
readinessProbeTimeout: 1

# livenessProbeTimeout is a value in seconds after which the liveness probe will time out
livenessProbeTimeout: 1

0 comments on commit d704c7f

Please sign in to comment.