From 277671b31caac8a0521b500d748655f9b426136e Mon Sep 17 00:00:00 2001 From: Soto Sugita Date: Mon, 1 Dec 2025 13:16:37 +0900 Subject: [PATCH 1/2] Added readinessProbe to webhook deployment --- deploy/deployment-base.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deploy/deployment-base.yaml b/deploy/deployment-base.yaml index 22712f69..7b1d6304 100644 --- a/deploy/deployment-base.yaml +++ b/deploy/deployment-base.yaml @@ -26,6 +26,14 @@ spec: - --annotation-prefix=eks.amazonaws.com - --token-audience=sts.amazonaws.com - --logtostderr + readinessProbe: + httpGet: + path: /healthz + port: 443 + scheme: HTTPS + initialDelaySeconds: 5 + periodSeconds: 5 + failureThreshold: 3 volumeMounts: - name: cert mountPath: "/etc/webhook/certs" From 014df7757bd75bad1405f8a9a3c25271329e6100 Mon Sep 17 00:00:00 2001 From: Soto Sugita Date: Mon, 1 Dec 2025 13:36:58 +0900 Subject: [PATCH 2/2] Added livenessProbe --- deploy/deployment-base.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/deploy/deployment-base.yaml b/deploy/deployment-base.yaml index 7b1d6304..18d0378f 100644 --- a/deploy/deployment-base.yaml +++ b/deploy/deployment-base.yaml @@ -26,6 +26,14 @@ spec: - --annotation-prefix=eks.amazonaws.com - --token-audience=sts.amazonaws.com - --logtostderr + livenessProbe: + httpGet: + path: /healthz + port: 443 + scheme: HTTPS + initialDelaySeconds: 10 + periodSeconds: 10 + failureThreshold: 3 readinessProbe: httpGet: path: /healthz @@ -33,7 +41,7 @@ spec: scheme: HTTPS initialDelaySeconds: 5 periodSeconds: 5 - failureThreshold: 3 + failureThreshold: 2 volumeMounts: - name: cert mountPath: "/etc/webhook/certs"