From c55bb2d859d17341573392bf857c35b10c387955 Mon Sep 17 00:00:00 2001 From: Reese Date: Fri, 28 Nov 2025 00:37:50 +0000 Subject: [PATCH] k8: Updates readiness and liveness probe settings Improves the reliability of service startup by increasing the initial delay and period for readiness and liveness probes. This change also adds timeout and failure threshold settings to prevent premature service termination. --- deploy/kubernetes/mcp-http.yaml | 12 ++++++++---- deploy/kubernetes/mcp-indexer.yaml | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/deploy/kubernetes/mcp-http.yaml b/deploy/kubernetes/mcp-http.yaml index 6774f450..d270a708 100644 --- a/deploy/kubernetes/mcp-http.yaml +++ b/deploy/kubernetes/mcp-http.yaml @@ -273,14 +273,18 @@ spec: httpGet: path: /readyz port: health - initialDelaySeconds: 30 - periodSeconds: 10 + initialDelaySeconds: 120 + periodSeconds: 30 + timeoutSeconds: 10 + failureThreshold: 6 readinessProbe: httpGet: path: /readyz port: health - initialDelaySeconds: 10 - periodSeconds: 5 + initialDelaySeconds: 60 + periodSeconds: 15 + timeoutSeconds: 10 + failureThreshold: 6 envFrom: - configMapRef: name: context-engine-config diff --git a/deploy/kubernetes/mcp-indexer.yaml b/deploy/kubernetes/mcp-indexer.yaml index c07a622b..8c492d1c 100644 --- a/deploy/kubernetes/mcp-indexer.yaml +++ b/deploy/kubernetes/mcp-indexer.yaml @@ -79,14 +79,18 @@ spec: httpGet: path: /readyz port: health - initialDelaySeconds: 30 - periodSeconds: 10 + initialDelaySeconds: 120 + periodSeconds: 30 + timeoutSeconds: 10 + failureThreshold: 6 readinessProbe: httpGet: path: /readyz port: health - initialDelaySeconds: 10 - periodSeconds: 5 + initialDelaySeconds: 60 + periodSeconds: 15 + timeoutSeconds: 10 + failureThreshold: 6 envFrom: - configMapRef: name: context-engine-config