From 1600db90daef254cda4ee8dbe9b0484bb3de35e4 Mon Sep 17 00:00:00 2001 From: Mingchen Dai Date: Thu, 26 Sep 2024 11:38:53 +0000 Subject: [PATCH] Update Readiness Probing timeout mechanism --- internal/controller/templates/statefulset.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/controller/templates/statefulset.yaml b/internal/controller/templates/statefulset.yaml index cd99347..9aa2848 100644 --- a/internal/controller/templates/statefulset.yaml +++ b/internal/controller/templates/statefulset.yaml @@ -51,6 +51,11 @@ spec: - /bin/sh - -c - exec cat /etc/ssh/ssh_host*.pub + failureThreshold: 6 + initialDelaySeconds: 10 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 5 resources: limits: cpu: 300m