From 10273ab7098a3bc581026120cb5b793157d4ef3a Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Mon, 22 Jan 2024 03:33:27 +0100
Subject: [PATCH] feat(kube-system): Extend quorum to also cover kube-apiserver

---
 infrastructure/kube-system/quorum.yaml | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/infrastructure/kube-system/quorum.yaml b/infrastructure/kube-system/quorum.yaml
index e4ee8618c..300c00c85 100644
--- a/infrastructure/kube-system/quorum.yaml
+++ b/infrastructure/kube-system/quorum.yaml
@@ -45,7 +45,7 @@ spec:
           effect: NoSchedule
       hostnetwork: true
       containers:
-        - name: pause
+        - name: etcd
           image: registry.k8s.io/pause:3.6
           readinessProbe:
             failureThreshold: 3
@@ -58,4 +58,16 @@ spec:
             periodSeconds: 10
             successThreshold: 1
             timeoutSeconds: 15
+        - name: apiserver
+          image: registry.k8s.io/pause:3.6
+          readinessProbe:
+            failureThreshold: 3
+            httpGet:
+              host: 127.0.0.1
+              path: /readyz
+              port: 6443
+              scheme: HTTPS
+            periodSeconds: 1
+            successThreshold: 1
+            timeoutSeconds: 15
 
-- 
GitLab