diff --git a/services/maintenance/apps/ariadne-deployment.yaml b/services/maintenance/apps/ariadne-deployment.yaml index aeaf194a9..218e1aeec 100644 --- a/services/maintenance/apps/ariadne-deployment.yaml +++ b/services/maintenance/apps/ariadne-deployment.yaml @@ -565,15 +565,26 @@ spec: limits: cpu: 500m memory: 512Mi + # timeoutSeconds defaults to 1, which this pod cannot honour. The + # auto-triage tick runs every minute and spends most of it waiting on + # Jenkins, OpenSearch, Gitea and Hermes; against a 500m CPU limit the + # event loop occasionally takes longer than a second to answer + # /health. Three of those in a row and the kubelet kills a container + # that is working perfectly well. Observed 11 times in 139 minutes, + # each one dropping triage ticks for the length of a restart. livenessProbe: httpGet: path: /health port: http initialDelaySeconds: 10 periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 5 readinessProbe: httpGet: path: /health port: http initialDelaySeconds: 5 periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 3