From 5a8f53aa03934fb080c0f5386f4d7ec78104b4b1 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Mon, 20 Nov 2023 00:29:25 +0100
Subject: [PATCH] feat(dns): Add readinessprobe to DNS pods

---
 apps/k8s01/dns/dns.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/apps/k8s01/dns/dns.yaml b/apps/k8s01/dns/dns.yaml
index 6d9c52daf..51f5c90a0 100644
--- a/apps/k8s01/dns/dns.yaml
+++ b/apps/k8s01/dns/dns.yaml
@@ -76,6 +76,13 @@ spec:
             - containerPort: 80
               protocol: TCP
               name: http
+          readinessProbe:
+            exec:
+              command:
+              - /app/blocky
+              - healthcheck
+            initialDelaySeconds: 5
+            periodSeconds: 5
           resources:
             requests:
               cpu: 100m
-- 
GitLab