From 089dac285c9d4f52787cc1dd857e1814ac9c8e42 Mon Sep 17 00:00:00 2001 From: gert-glassee Date: Mon, 22 Apr 2024 10:20:40 +0200 Subject: [PATCH] [XENOPS-1161] change livenessprobe thresholds --- CHANGELOG.md | 4 ++++ .../transform-core-aio/transform-core-aio-deployment.yaml | 4 ++-- xenit-alfresco/values.yaml | 8 ++++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eef0a2a..a4881ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), chronology things are added/fixed/changed and - where possible - links to the PRs involved. ### Changes +[XENOPS-1161] +* change liveness probe threshold to trigger after readiness probe failure to avoid looping restarts on slow systems + + * make acs liveliness and readiness completely overridable * make transformation services components each enable configurable * remove mq config in other deployments when mq is disabled diff --git a/xenit-alfresco/templates/transform-services/transform-core-aio/transform-core-aio-deployment.yaml b/xenit-alfresco/templates/transform-services/transform-core-aio/transform-core-aio-deployment.yaml index 233c6fd..b810d32 100644 --- a/xenit-alfresco/templates/transform-services/transform-core-aio/transform-core-aio-deployment.yaml +++ b/xenit-alfresco/templates/transform-services/transform-core-aio/transform-core-aio-deployment.yaml @@ -60,14 +60,14 @@ spec: httpGet: path: /ready port: 8090 - initialDelaySeconds: 20 + initialDelaySeconds: 10 periodSeconds: 60 timeoutSeconds: 10 livenessProbe: httpGet: path: /live port: 8090 - initialDelaySeconds: 10 + initialDelaySeconds: 20 periodSeconds: 30 failureThreshold: 1 timeoutSeconds: 10 diff --git a/xenit-alfresco/values.yaml b/xenit-alfresco/values.yaml index 99ba5b2..a7f6c03 100644 --- a/xenit-alfresco/values.yaml +++ b/xenit-alfresco/values.yaml @@ -64,7 +64,7 @@ acs: path: /alfresco/api/-default-/public/alfresco/versions/1/probes/-live- port: 8080 scheme: HTTP - failureThreshold: 1 + failureThreshold: 8 initialDelaySeconds: 130 periodSeconds: 20 successThreshold: 1 @@ -74,7 +74,7 @@ acs: path: /alfresco/api/-default-/public/alfresco/versions/1/probes/-ready- port: 8080 scheme: HTTP - failureThreshold: 6 + failureThreshold: 3 initialDelaySeconds: 60 periodSeconds: 20 successThreshold: 1 @@ -112,13 +112,13 @@ share: memory: "256Mi" cpu: "0.5" livenessProbe: - failureThreshold: 1 + failureThreshold: 8 initialDelaySeconds: 130 periodSeconds: 20 successThreshold: 1 timeoutSeconds: 10 readinessProbe: - failureThreshold: 6 + failureThreshold: 3 initialDelaySeconds: 60 periodSeconds: 20 successThreshold: 1