UNCLASSIFIED

Commit 8e72f6bf authored by Tunde Oladipupo's avatar Tunde Oladipupo
Browse files

added resource requests and limits

parent 76d23e1d
Pipeline #438570 passed with stages
in 3 minutes and 20 seconds
# Changelog # 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 ## [29.1.0-bb.7] - 2021-07-27
### Fixes ### Fixes
- Fixed extraLabels indentation in all resources that have it. - Fixed extraLabels indentation in all resources that have it.
......
apiVersion: v2 apiVersion: v2
name: nexus-repository-manager name: nexus-repository-manager
version: 29.1.0-bb.7 version: 29.1.0-bb.8
appVersion: 3.29.0 appVersion: 3.29.0
description: Sonatype Nexus Repository Manager - Universal Binary repository description: Sonatype Nexus Repository Manager - Universal Binary repository
type: application type: application
......
...@@ -124,18 +124,20 @@ nexus: ...@@ -124,18 +124,20 @@ nexus:
nodeSelector: {} nodeSelector: {}
# cloud.google.com/gke-nodepool: default-pool # cloud.google.com/gke-nodepool: default-pool
affinity: {} affinity: {}
resources: {} resources:
# requests: requests:
## Based on https://support.sonatype.com/hc/en-us/articles/115006448847#mem # Based on https://help.sonatype.com/repomanager3/installation/system-requirements#SystemRequirements-GeneralMemoryGuidelines:
## and https://twitter.com/analytically/status/894592422382063616: # Xms == Xmx
## Xms == Xmx # Xmx <= 4G
## Xmx <= 4G # MaxDirectMemory >= 2G
## MaxDirectMemory >= 2G # Xmx + MaxDirectMemory <= RAM * 2/3 (hence the request for 4800Mi)
## Xmx + MaxDirectMemory <= RAM * 2/3 (hence the request for 4800Mi) # MaxRAMFraction=1 is not being set as it would allow the heap
## MaxRAMFraction=1 is not being set as it would allow the heap # to use all the available memory.
## to use all the available memory. cpu: 100m
# cpu: 250m memory: 2000Mi
# memory: 4800Mi limits:
cpu: 100m
memory: 2000Mi
# The ports should only be changed if the nexus image uses a different port # The ports should only be changed if the nexus image uses a different port
nexusPort: 8081 nexusPort: 8081
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment