From c6d13433b281c721a1a3781aa4080dd8ba261f91 Mon Sep 17 00:00:00 2001 From: Tony Le Date: Mon, 6 Jan 2025 16:12:11 +0000 Subject: [PATCH] Add loadbalance plugin to submariner-lighthouse-coredns configmap The loadbalance will act as a round-robin DNS load balancer by randomizing the order of A, AAAA, and MX records in the answer. This helps distribute load across pods for headless services DNS. Signed-off-by: Tony Le --- .../controllers/servicediscovery/servicediscovery_controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/controllers/servicediscovery/servicediscovery_controller.go b/internal/controllers/servicediscovery/servicediscovery_controller.go index 9c51ccfb4..0d79bd65a 100644 --- a/internal/controllers/servicediscovery/servicediscovery_controller.go +++ b/internal/controllers/servicediscovery/servicediscovery_controller.go @@ -273,6 +273,7 @@ errors health ready prometheus :9153 +loadbalance }` expectedCorefile := ""