mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-08-28 03:27:08 +00:00
fix(rflood): add liveness probe and raise memory limit to 4Gi
rtorrent periodically freezes blocking Flood's XMLRPC calls (activity-stream and client/settings hang). Root causes: pieces.memory.max=1800M near the 2Gi container limit; no liveness probe to trigger pod restart on hang. - Liveness probe: exec rtxmlrpc system.time_seconds with 10s timeout; restart pod after 3 consecutive failures (every 30s check) - Default memory limit raised from 2Gi to 4Gi Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -55,6 +55,15 @@ spec:
|
||||
protocol: UDP
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
{{- if .Values.livenessProbe.enabled }}
|
||||
livenessProbe:
|
||||
exec:
|
||||
{{- toYaml .Values.livenessProbe.exec | nindent 14 }}
|
||||
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
|
||||
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
|
||||
Reference in New Issue
Block a user