From f5eb7c7177e8490b7b97bafa05a213a97b23daae Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Mon, 22 Jan 2024 03:41:06 +0100
Subject: [PATCH] feat(kube-system): Cover all controlplane components with
 quorum

---
 infrastructure/kube-system/quorum.yaml | 35 +++++++++++++++++++++++---
 1 file changed, 32 insertions(+), 3 deletions(-)

diff --git a/infrastructure/kube-system/quorum.yaml b/infrastructure/kube-system/quorum.yaml
index 300c00c85..0a45be798 100644
--- a/infrastructure/kube-system/quorum.yaml
+++ b/infrastructure/kube-system/quorum.yaml
@@ -56,7 +56,7 @@ spec:
               scheme: HTTP
             initialDelaySeconds: 10
             periodSeconds: 10
-            successThreshold: 1
+            successThreshold: 2
             timeoutSeconds: 15
         - name: apiserver
           image: registry.k8s.io/pause:3.6
@@ -67,7 +67,36 @@ spec:
               path: /readyz
               port: 6443
               scheme: HTTPS
-            periodSeconds: 1
-            successThreshold: 1
+            initialDelaySeconds: 10
+            periodSeconds: 10
+            successThreshold: 2
+            timeoutSeconds: 15
+        - name: controller-manager
+          image: registry.k8s.io/pause:3.6
+          readinessProbe:
+            failureThreshold: 3
+            httpGet:
+              host: 127.0.0.1
+              path: /healthz
+              port: 10257
+              scheme: HTTPS
+            initialDelaySeconds: 10
+            periodSeconds: 10
+            successThreshold: 2
             timeoutSeconds: 15
+        - name: scheduler
+          image: registry.k8s.io/pause:3.6
+          readinessProbe:
+            failureThreshold: 3
+            httpGet:
+              host: 127.0.0.1
+              path: /healthz
+              port: 10259
+              scheme: HTTPS
+            initialDelaySeconds: 10
+            periodSeconds: 10
+            successThreshold: 2
+            timeoutSeconds: 15
+
+
 
-- 
GitLab