From af321fb65ea270d2f5b1471975e7c94f0b27cc63 Mon Sep 17 00:00:00 2001 From: Lai Jiang Date: Wed, 2 Apr 2025 14:58:52 -0400 Subject: [PATCH] Make frontend deployment auto scale (#2736) Now that we have effective global sessions thanks to #2734, there is no longer a need to keep the number of pods on the EPP service static. We are also not vulnerable to random pod restarts. K8s never guarantees perpetual pod lifetime anyway, and not having to be at its mercy is certainly a relief. --- jetty/kubernetes/nomulus-frontend.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jetty/kubernetes/nomulus-frontend.yaml b/jetty/kubernetes/nomulus-frontend.yaml index 5f0986e5e..7603b49a4 100644 --- a/jetty/kubernetes/nomulus-frontend.yaml +++ b/jetty/kubernetes/nomulus-frontend.yaml @@ -82,8 +82,8 @@ spec: apiVersion: apps/v1 kind: Deployment name: frontend - minReplicas: 15 - maxReplicas: 15 + minReplicas: 5 + maxReplicas: 20 metrics: - type: Resource resource: