Artifactory performance tuning adjustments

This PS adds Artifactory JVM memory tuning & pod resource limit
adjustments.

Change-Id: I47f535029dadc7b7dfe18c1598630bf5e1219e9f
This commit is contained in:
Dejaeger, Darren (dd118r) 2018-08-01 00:50:11 -04:00 committed by Steve Wilkerson
parent 3afa22eebb
commit 900343f852
3 changed files with 15 additions and 1 deletions

View File

@ -53,4 +53,4 @@ spec:
type: ClusterIP
{{ end }}
{{ end }}
{{ end }}

View File

@ -54,6 +54,8 @@ spec:
key: DB_PASSWORD
- name: DB_HOST
value: {{ .Values.endpoints.oslo_db.hosts.default }}
- name: EXTRA_JAVA_OPTIONS
value: {{ .Values.conf.artifactory.env.java_opts }}
{{ if .Values.bootstrap.master_key }}
- name: ARTIFACTORY_MASTER_KEY
value: {{ .Values.bootstrap.master_key }}

View File

@ -90,6 +90,13 @@ chown_on_start: true
pod:
resources:
enabled: false
artifactory:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "2048Mi"
cpu: "2000m"
jobs:
db_init:
requests:
@ -153,6 +160,11 @@ endpoints:
hosts:
default: artifactory
conf:
artifactory:
env:
java_opts: "-Xms512m -Xmx2g"
manifests:
configmap_bin: true
configmap_etc: true