OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.
Python
make probes more robust (#1642)
mingb1810eb30a8f
diff --git a/kubernetes/operator/internal/controller/openrag_controller.go b/kubernetes/operator/internal/controller/openrag_controller.goindex 2c930f656..44b6172eb 100644--- a/kubernetes/operator/internal/controller/openrag_controller.go+++ b/kubernetes/operator/internal/controller/openrag_controller.go@@ -1056,8 +1056,8 @@ func (r *OpenRAGReconciler) backendDeployment(o *openragv1alpha1.OpenRAG, targetResources: spec.Resources,SecurityContext: spec.SecurityContext,VolumeMounts: mounts,- LivenessProbe: httpProbe("/health", 8000, 45, 30),- ReadinessProbe: httpProbe("/health", 8000, 45, 10),+ LivenessProbe: httpProbe("/health", 8000, 125, 30),+ ReadinessProbe: httpProbe("/health", 8000, 125, 15),},},},@@ -1174,8 +1174,8 @@ func (r *OpenRAGReconciler) langflowDeployment(o *openragv1alpha1.OpenRAG, targeResources: spec.Resources,SecurityContext: spec.SecurityContext,VolumeMounts: mounts,- LivenessProbe: httpProbe("/health", 7860, 90, 30),- ReadinessProbe: httpProbe("/health", 7860, 90, 30),+ LivenessProbe: httpProbe("/health", 7860, 110, 30),+ ReadinessProbe: httpProbe("/health", 7860, 110, 30),},},},@@ -2690,7 +2690,7 @@ func httpProbe(path string, port, initialDelay, period int32) *corev1.Probe {InitialDelaySeconds: initialDelay,PeriodSeconds: period,FailureThreshold: 5,- TimeoutSeconds: 10,+ TimeoutSeconds: 15,}}