diff --git a/changelog.d/3-bug-fixes/coturn-liveness b/changelog.d/3-bug-fixes/coturn-liveness new file mode 100644 index 0000000000..528c011b0a --- /dev/null +++ b/changelog.d/3-bug-fixes/coturn-liveness @@ -0,0 +1 @@ +Coturn helm chart: Increase the default timeout of liveness/readiness probe and make it configurable diff --git a/charts/coturn/templates/statefulset.yaml b/charts/coturn/templates/statefulset.yaml index 37ce6aef3e..c66b0aa643 100644 --- a/charts/coturn/templates/statefulset.yaml +++ b/charts/coturn/templates/statefulset.yaml @@ -143,11 +143,15 @@ spec: protocol: TCP livenessProbe: + timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }} + failureThreshold: {{ .Values.livenessProbe.failureThreshold }} httpGet: path: / port: status-http readinessProbe: + timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }} + failureThreshold: {{ .Values.readinessProbe.failureThreshold }} httpGet: path: / port: status-http diff --git a/charts/coturn/values.yaml b/charts/coturn/values.yaml index 30bc42b470..a3b2c13f9e 100644 --- a/charts/coturn/values.yaml +++ b/charts/coturn/values.yaml @@ -53,3 +53,11 @@ coturnGracefulTermination: false # terminated. This setting is only effective when coturnGracefulTermination is # set to true. coturnGracePeriodSeconds: 86400 # one day + +livenessProbe: + timeoutSeconds: 5 + failureThreshold: 5 + +readinessProbe: + timeoutSeconds: 5 + failureThreshold: 5