From e0bde2f4e988377b61d70b112c1f7d6a4b8abdc8 Mon Sep 17 00:00:00 2001 From: Micah Nagel Date: Fri, 22 Nov 2024 14:51:12 -0700 Subject: [PATCH] chore: reduce default cpu requests for dev/demo bundles (#1047) ## Description This reverts the cpu requests to the [previous pepr defaults](https://github.com/defenseunicorns/pepr/commit/8e6887b491b5dead3243077043bc8f2fdff0f8c0#diff-12c7ba511e0e8e86979184020ac26ce153212e4ebe0f91c74c02e786d14b5da2R133), for the dev/demo bundles only (as well as allowing config at deploy time). ## Related Issue N/A ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [x] Other (security config, docs update, etc) ## Checklist before merging - [x] Test, docs, adr added or updated as needed - [x] [Contributor Guide](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md) followed --- bundles/k3d-slim-dev/uds-bundle.yaml | 8 ++++++++ bundles/k3d-standard/uds-bundle.yaml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/bundles/k3d-slim-dev/uds-bundle.yaml b/bundles/k3d-slim-dev/uds-bundle.yaml index 5a6ad76e0..c21fdb31f 100644 --- a/bundles/k3d-slim-dev/uds-bundle.yaml +++ b/bundles/k3d-slim-dev/uds-bundle.yaml @@ -51,6 +51,14 @@ packages: description: "Memory requests for the pepr admission pods" path: "admission.resources.requests.memory" default: "64Mi" + - name: PEPR_WATCHER_CPU_REQUEST + description: "CPU requests for the pepr watcher pod" + path: "watcher.resources.requests.memory" + default: "100m" + - name: PEPR_ADMISSION_CPU_REQUEST + description: "CPU requests for the pepr admission pods" + path: "admission.resources.requests.memory" + default: "100m" istio-admin-gateway: uds-istio-config: variables: diff --git a/bundles/k3d-standard/uds-bundle.yaml b/bundles/k3d-standard/uds-bundle.yaml index 115c889aa..335afb0ee 100644 --- a/bundles/k3d-standard/uds-bundle.yaml +++ b/bundles/k3d-standard/uds-bundle.yaml @@ -54,6 +54,14 @@ packages: description: "Memory requests for the pepr admission pods" path: "admission.resources.requests.memory" default: "256Mi" + - name: PEPR_WATCHER_CPU_REQUEST + description: "CPU requests for the pepr watcher pod" + path: "watcher.resources.requests.memory" + default: "200m" + - name: PEPR_ADMISSION_CPU_REQUEST + description: "CPU requests for the pepr admission pods" + path: "admission.resources.requests.memory" + default: "200m" loki: loki: variables: