From 616e88776cfed246bcea6a097ff9e2d1fc246f34 Mon Sep 17 00:00:00 2001 From: Mark Sanchez Date: Wed, 25 Aug 2021 13:42:02 +0000 Subject: [PATCH] Add resource request and limits --- CHANGELOG.md | 4 ++++ chart/Chart.yaml | 2 +- chart/values.yaml | 8 +++++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bb163e..4f14d47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog --- +## [29.1.0-bb.8] - 2021-08-23 +### Added +- Added resource requests and limits to pods with guaranteed QoS. + ## [29.1.0-bb.7] - 2021-07-27 ### Fixes - Fixed extraLabels indentation in all resources that have it. diff --git a/chart/Chart.yaml b/chart/Chart.yaml index bc634c5..0b1af84 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nexus-repository-manager -version: 29.1.0-bb.7 +version: 29.1.0-bb.8 appVersion: 3.29.0 description: Sonatype Nexus Repository Manager - Universal Binary repository type: application diff --git a/chart/values.yaml b/chart/values.yaml index fe0644b..75e75c0 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -124,7 +124,7 @@ nexus: nodeSelector: {} # cloud.google.com/gke-nodepool: default-pool affinity: {} - resources: {} + resources: # requests: ## Based on https://support.sonatype.com/hc/en-us/articles/115006448847#mem ## and https://twitter.com/analytically/status/894592422382063616: @@ -136,6 +136,12 @@ nexus: ## to use all the available memory. # cpu: 250m # memory: 4800Mi + requests: + cpu: 400m # Values for testing and pipeline pursoses. If deploying for production use please modify these values. + memory: 3000Mi + limits: + cpu: 400m + memory: 3000Mi # The ports should only be changed if the nexus image uses a different port nexusPort: 8081 -- GitLab