From dd282f59fba95dfa974de69d3fee8fed315de229 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 24 May 2026 23:30:10 +1000 Subject: [PATCH] fix(litellm): normalize postgres cluster resource values (#163) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary - Changes `limits.memory` from `1024Mi` to `1Gi` (same value, canonical form) - Changes `limits.cpu` from `1` (integer) to `"1"` (string, canonical form) ## Why Kubernetes normalizes resource quantities on write — `1024Mi` becomes `1Gi` and integer `1` becomes string `"1"`. ArgoCD diffs by string comparison, so these equivalent values cause a permanent OutOfSync on the `litellm-postgres` Cluster. Reviewed-on: https://git.unkin.net/unkin/argocd-apps/pulls/163 --- apps/base/litellm/cnpg_cluster.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/base/litellm/cnpg_cluster.yaml b/apps/base/litellm/cnpg_cluster.yaml index 5c09d29..f008ff4 100644 --- a/apps/base/litellm/cnpg_cluster.yaml +++ b/apps/base/litellm/cnpg_cluster.yaml @@ -76,8 +76,8 @@ spec: updateInterval: 30 resources: limits: - cpu: 1 - memory: 1024Mi + cpu: "1" + memory: 1Gi requests: cpu: 250m memory: 512Mi