From fe42c1d6fdfb4ce8c0c0a056ff6bbc11ff71c692 Mon Sep 17 00:00:00 2001 From: Ernest Chuang Date: Tue, 17 Aug 2021 13:13:32 -0500 Subject: [PATCH 1/4] Added Requests and Limits --- chart/values.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/chart/values.yaml b/chart/values.yaml index fe0644b..693aa00 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: 2048Mi + limits: + cpu: 400m + memory: 2048Mi # The ports should only be changed if the nexus image uses a different port nexusPort: 8081 -- GitLab From 68d2dbfc203a42588c3d91d92595d40f95b3353a Mon Sep 17 00:00:00 2001 From: Ernest Chuang Date: Wed, 18 Aug 2021 12:28:59 -0500 Subject: [PATCH 2/4] Setting Memory request/limit to default. --- chart/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/values.yaml b/chart/values.yaml index 693aa00..48033fe 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -138,10 +138,10 @@ nexus: # memory: 4800Mi requests: cpu: 400m # Values for testing and pipeline pursoses. If deploying for production use please modify these values. - memory: 2048Mi + memory: 4800Mi limits: cpu: 400m - memory: 2048Mi + memory: 4800Mi # The ports should only be changed if the nexus image uses a different port nexusPort: 8081 -- GitLab From 5e07212cc7f87909b9a948e78d7e915b2a9cc7a7 Mon Sep 17 00:00:00 2001 From: Mark Sanchez Date: Mon, 23 Aug 2021 11:41:49 -0500 Subject: [PATCH 3/4] changelog and chart.yaml update --- CHANGELOG.md | 4 ++++ chart/Chart.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- GitLab From e194796c66cb34797ba894aba25e30fd701b2ec7 Mon Sep 17 00:00:00 2001 From: Mark Sanchez Date: Mon, 23 Aug 2021 12:00:08 -0500 Subject: [PATCH 4/4] adjusted mem to 3000Mi --- chart/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/values.yaml b/chart/values.yaml index 48033fe..75e75c0 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -138,10 +138,10 @@ nexus: # memory: 4800Mi requests: cpu: 400m # Values for testing and pipeline pursoses. If deploying for production use please modify these values. - memory: 4800Mi + memory: 3000Mi limits: cpu: 400m - memory: 4800Mi + memory: 3000Mi # The ports should only be changed if the nexus image uses a different port nexusPort: 8081 -- GitLab