From a606cd03ae2e75d11ff0371bf0a90d7f7af50f07 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Thu, 8 Jan 2026 16:27:00 +0100 Subject: [PATCH] changed probes ftom http to tcp --- booking-system/booking.yaml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/booking-system/booking.yaml b/booking-system/booking.yaml index 9cc74c4..43d0d50 100644 --- a/booking-system/booking.yaml +++ b/booking-system/booking.yaml @@ -364,25 +364,22 @@ spec: cpu: "2" memory: 2Gi livenessProbe: - httpGet: - path: /api/health - port: http + tcpSocket: + port: 3000 initialDelaySeconds: 120 periodSeconds: 30 timeoutSeconds: 10 failureThreshold: 5 readinessProbe: - httpGet: - path: /api/health - port: http + tcpSocket: + port: 3000 initialDelaySeconds: 60 periodSeconds: 15 timeoutSeconds: 10 failureThreshold: 3 startupProbe: - httpGet: - path: /api/health - port: http + tcpSocket: + port: 3000 initialDelaySeconds: 30 periodSeconds: 10 timeoutSeconds: 10