From e30b702d5df72c0aae8ed80be96237bbf4f81875 Mon Sep 17 00:00:00 2001 From: ehila Date: Fri, 24 Jan 2025 11:49:49 -0500 Subject: [PATCH] feat: revert healthz pr to improve mirror pod creation revert 49d13e8c6a3d4543a91b0d023d5040b3b7eddf0b Signed-off-by: ehila --- bindata/assets/kube-apiserver/pod.yaml | 6 ++--- .../kube-apiserver-pod.yaml | 22 +++---------------- 2 files changed, 6 insertions(+), 22 deletions(-) diff --git a/bindata/assets/kube-apiserver/pod.yaml b/bindata/assets/kube-apiserver/pod.yaml index c91a82868e..20a23cf1b8 100644 --- a/bindata/assets/kube-apiserver/pod.yaml +++ b/bindata/assets/kube-apiserver/pod.yaml @@ -102,7 +102,7 @@ spec: httpGet: scheme: HTTPS port: 6443 - path: livez?exclude=etcd + path: livez initialDelaySeconds: 0 periodSeconds: 10 timeoutSeconds: 10 @@ -117,12 +117,12 @@ spec: periodSeconds: 5 timeoutSeconds: 10 successThreshold: 1 - failureThreshold: 3 + failureThreshold: 1 startupProbe: httpGet: scheme: HTTPS port: 6443 - path: livez + path: healthz initialDelaySeconds: 0 periodSeconds: 5 timeoutSeconds: 10 diff --git a/bindata/bootkube/bootstrap-manifests/kube-apiserver-pod.yaml b/bindata/bootkube/bootstrap-manifests/kube-apiserver-pod.yaml index b8607a250d..a395f22e1a 100644 --- a/bindata/bootkube/bootstrap-manifests/kube-apiserver-pod.yaml +++ b/bindata/bootkube/bootstrap-manifests/kube-apiserver-pod.yaml @@ -71,32 +71,16 @@ spec: httpGet: scheme: HTTPS port: 6443 - path: livez?exclude=etcd - initialDelaySeconds: 0 - periodSeconds: 10 + path: livez + initialDelaySeconds: 45 timeoutSeconds: 10 - successThreshold: 1 - failureThreshold: 3 readinessProbe: httpGet: scheme: HTTPS port: 6443 path: readyz - initialDelaySeconds: 0 - periodSeconds: 5 - timeoutSeconds: 10 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - scheme: HTTPS - port: 6443 - path: livez - initialDelaySeconds: 0 - periodSeconds: 5 + initialDelaySeconds: 10 timeoutSeconds: 10 - successThreshold: 1 - failureThreshold: 30 env: - name: HOST_IP valueFrom: