From 52230092edebae1a062550c0588244aa64600a24 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 12 Jul 2026 17:50:36 +1000 Subject: [PATCH] chore: reduce resource requirements of puppet - lower reserved CPU for puppet related services --- apps/base/puppet/cnpg_cluster.yaml | 2 +- apps/base/puppet/cronjob_generate-types.yaml | 2 +- apps/base/puppet/deployment_puppetboard.yaml | 2 +- apps/base/puppet/deployment_puppetdb.yaml | 4 ++-- apps/base/puppet/deployment_puppetserver-compiler.yaml | 2 +- apps/base/puppet/deployment_puppetserver-master.yaml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/base/puppet/cnpg_cluster.yaml b/apps/base/puppet/cnpg_cluster.yaml index 3854bfe..cd5afdd 100644 --- a/apps/base/puppet/cnpg_cluster.yaml +++ b/apps/base/puppet/cnpg_cluster.yaml @@ -100,7 +100,7 @@ spec: cpu: 500m memory: 512Mi requests: - cpu: 250m + cpu: 50m memory: 256Mi smartShutdownTimeout: 180 startDelay: 3600 diff --git a/apps/base/puppet/cronjob_generate-types.yaml b/apps/base/puppet/cronjob_generate-types.yaml index 72b2d1a..6a1eeb8 100644 --- a/apps/base/puppet/cronjob_generate-types.yaml +++ b/apps/base/puppet/cronjob_generate-types.yaml @@ -47,7 +47,7 @@ spec: cpu: 300m memory: 1Gi requests: - cpu: 200m + cpu: 50m memory: 512Mi securityContext: runAsUser: 0 diff --git a/apps/base/puppet/deployment_puppetboard.yaml b/apps/base/puppet/deployment_puppetboard.yaml index b3256ec..19664a5 100644 --- a/apps/base/puppet/deployment_puppetboard.yaml +++ b/apps/base/puppet/deployment_puppetboard.yaml @@ -148,7 +148,7 @@ spec: resources: requests: memory: 350Mi - cpu: 100m + cpu: 50m limits: memory: 1024Mi cpu: 500m diff --git a/apps/base/puppet/deployment_puppetdb.yaml b/apps/base/puppet/deployment_puppetdb.yaml index 4b81e01..14ddddf 100644 --- a/apps/base/puppet/deployment_puppetdb.yaml +++ b/apps/base/puppet/deployment_puppetdb.yaml @@ -38,8 +38,8 @@ spec: cpu: 1 memory: 1536Mi requests: - cpu: 250m - memory: 512Mi + cpu: 50m + memory: 768Mi ports: - containerPort: 8080 name: pdb-http diff --git a/apps/base/puppet/deployment_puppetserver-compiler.yaml b/apps/base/puppet/deployment_puppetserver-compiler.yaml index 04ebeca..921c3de 100644 --- a/apps/base/puppet/deployment_puppetserver-compiler.yaml +++ b/apps/base/puppet/deployment_puppetserver-compiler.yaml @@ -34,7 +34,7 @@ spec: cpu: 2 memory: 3072Mi requests: - cpu: 500m + cpu: 200m memory: 1024Mi ports: - containerPort: 8140 diff --git a/apps/base/puppet/deployment_puppetserver-master.yaml b/apps/base/puppet/deployment_puppetserver-master.yaml index a2a1230..9d94c29 100644 --- a/apps/base/puppet/deployment_puppetserver-master.yaml +++ b/apps/base/puppet/deployment_puppetserver-master.yaml @@ -38,7 +38,7 @@ spec: cpu: 2 memory: 3500Mi requests: - cpu: 250m + cpu: 100m memory: 1024Mi ports: - containerPort: 8140 -- 2.47.3