Artifactory performance tuning adjustments
This PS adds Artifactory JVM memory tuning & pod resource limit adjustments. Change-Id: I47f535029dadc7b7dfe18c1598630bf5e1219e9f
This commit is contained in:
parent
3afa22eebb
commit
900343f852
|
@ -53,4 +53,4 @@ spec:
|
|||
type: ClusterIP
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
|
@ -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 }}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue