From e9d24939c57e8ba50d126488905384534ce6b966 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Fri, 19 Apr 2024 16:49:43 +0200 Subject: [PATCH] Cuberfile: prevent a load-balancer to be created for the web service Let traefik take care of the ingress. --- Cuberfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cuberfile b/Cuberfile index 6d203b5..60c35e3 100644 --- a/Cuberfile +++ b/Cuberfile @@ -37,6 +37,9 @@ env 'EXCEPTION_NOTIFIER_RECIPIENT', File.read("#{ENV['CONFIG_ROOT']}/config/exce env 'PLAUSIBLE_DOMAIN', File.read("#{ENV['CONFIG_ROOT']}/config/plausible.domain").strip rescue nil env 'PLAUSIBLE_SRC', File.read("#{ENV['CONFIG_ROOT']}/config/plausible.src").strip rescue nil +# Don't create a load balancer for the web service +ingress true + # Run and scale any command on Kubernetes proc :web, 'bundle exec rails s', scale: 8 proc :metrics, 'bundle exec rails s', scale: 1