Skip to content

Commit 78ea3ee

Browse files
authored
startupProbe, livenessProbe, readinessProbe (#21)
1 parent adee3a6 commit 78ea3ee

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

charts/synapse/templates/_helpers.tpl

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,26 @@ containers:
7474
- containerPort: 9092
7575
name: metrics
7676
protocol: TCP
77+
- containerPort: 8080
78+
name: synapse-health
79+
protocol: TCP
80+
startupProbe:
81+
httpGet:
82+
path: /health
83+
port: synapse-health
84+
failureThreshold: 180
85+
periodSeconds: 10
86+
livenessProbe:
87+
httpGet:
88+
path: /health
89+
port: synapse-health
90+
failureThreshold: 3
91+
periodSeconds: 10
92+
readinessProbe:
93+
httpGet:
94+
path: /health
95+
port: synapse-health
96+
periodSeconds: 10
7797
volumeMounts:
7898
- name: synapse-{{ .name }}-secret
7999
mountPath: /data

0 commit comments

Comments
 (0)