From a0bca33f2713049c2d129c567e84683219fdb540 Mon Sep 17 00:00:00 2001 From: Benedikt Bongartz Date: Tue, 15 Oct 2024 09:36:37 +0200 Subject: [PATCH] tempo-query: add ReadinessProbe Signed-off-by: Benedikt Bongartz --- internal/manifests/queryfrontend/query_frontend.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/internal/manifests/queryfrontend/query_frontend.go b/internal/manifests/queryfrontend/query_frontend.go index 27ca29859..97b8d0d42 100644 --- a/internal/manifests/queryfrontend/query_frontend.go +++ b/internal/manifests/queryfrontend/query_frontend.go @@ -311,6 +311,16 @@ func deployment(params manifestutils.Params) (*appsv1.Deployment, error) { }, Resources: tempoQueryResources(tempo), SecurityContext: manifestutils.TempoContainerSecurityContext(), + ReadinessProbe: &corev1.Probe{ + ProbeHandler: corev1.ProbeHandler{ + GRPC: &corev1.GRPCAction{ + Port: manifestutils.PortTempoGRPCQuery, + }, + }, + TimeoutSeconds: 1, + PeriodSeconds: 5, + FailureThreshold: 12, + }, } jaegerQueryVolume := corev1.Volume{ Name: manifestutils.TmpStorageVolumeName + "-query",