From 1055f546887948d5b2f84d89ff08297811b1bed3 Mon Sep 17 00:00:00 2001 From: Markus Rudy Date: Wed, 24 Apr 2024 16:58:02 +0200 Subject: [PATCH] e2e: add ReadinessProbe to emoji-web --- e2e/internal/kuberesource/sets.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/e2e/internal/kuberesource/sets.go b/e2e/internal/kuberesource/sets.go index 3c2fafa028..69b1fa16b1 100644 --- a/e2e/internal/kuberesource/sets.go +++ b/e2e/internal/kuberesource/sets.go @@ -509,6 +509,11 @@ func generateEmojivoto(smMode serviceMeshMode) ([]any, error) { WithEnv(EnvVar().WithName("EDG_DISABLE_CLIENT_AUTH").WithValue("true")). WithResources(ResourceRequirements(). WithMemoryLimitAndRequest(50), + ). + WithReadinessProbe(applycorev1.Probe(). + WithTCPSocket(TCPSocketAction().WithPort(intstr.FromInt(8080))). + WithInitialDelaySeconds(1). + WithPeriodSeconds(5), ), ), ),