From ebfdcbed58e616c217938fad5b5d9d65da9d78bb Mon Sep 17 00:00:00 2001 From: Trustable User Date: Fri, 10 Jul 2026 12:23:57 +0200 Subject: [PATCH] fix: add admin API readiness probe --- olaris-api/api-template.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/olaris-api/api-template.yaml b/olaris-api/api-template.yaml index ced1468..63d6ae9 100644 --- a/olaris-api/api-template.yaml +++ b/olaris-api/api-template.yaml @@ -41,6 +41,14 @@ spec: ports: - containerPort: 5000 name: api + readinessProbe: + tcpSocket: + port: api + initialDelaySeconds: 1 + periodSeconds: 2 + timeoutSeconds: 1 + failureThreshold: 3 + successThreshold: 1 env: - name: "APIHOST" value: "${SYS_API_HOSTNAME:-localhost}" @@ -63,4 +71,4 @@ spec: - name: api port: 5000 selector: - app: nuvolaris-system-api \ No newline at end of file + app: nuvolaris-system-api