160 lines
3.6 KiB
YAML
160 lines
3.6 KiB
YAML
##############################################################################################
|
|
# The xlarge sizing
|
|
# This size is intended for very large organizations. It can be increased with adding replicas
|
|
# [WARNING] Some of the the configuration mentioned in this file are taken inside system.yaml
|
|
# hence this configuration will be overridden when enabling systemYamlOverride
|
|
##############################################################################################
|
|
splitServicesToContainers: true
|
|
artifactory:
|
|
primary:
|
|
# Enterprise and above licenses are required for setting replicaCount greater than 1.
|
|
# Count should be equal or above the total number of licenses available for artifactory.
|
|
replicaCount: 4
|
|
|
|
podAntiAffinity:
|
|
type: "hard"
|
|
|
|
resources:
|
|
requests:
|
|
cpu: "2"
|
|
memory: 14Gi
|
|
limits:
|
|
# cpu: "14"
|
|
memory: 16Gi
|
|
|
|
javaOpts:
|
|
other: >
|
|
-XX:InitialRAMPercentage=40
|
|
-XX:MaxRAMPercentage=65
|
|
-Dartifactory.async.corePoolSize=160
|
|
-Dartifactory.async.poolMaxQueueSize=50000
|
|
-Dartifactory.http.client.max.total.connections=150
|
|
-Dartifactory.http.client.max.connections.per.route=150
|
|
-Dartifactory.access.client.max.connections=150
|
|
-Dartifactory.metadata.event.operator.threads=5
|
|
-XX:MaxMetaspaceSize=512m
|
|
-Djdk.nio.maxCachedBufferSize=1048576
|
|
-XX:MaxDirectMemorySize=1024m
|
|
tomcat:
|
|
connector:
|
|
maxThreads: 600
|
|
extraConfig: 'acceptCount="1200" acceptorThreadCount="2" compression="off" connectionLinger="-1" connectionTimeout="120000" enableLookups="false"'
|
|
|
|
database:
|
|
maxOpenConnections: 150
|
|
# Require multiple Artifactory pods to run on separate nodes
|
|
|
|
extraEnvironmentVariables:
|
|
- name: MALLOC_ARENA_MAX
|
|
value: "16"
|
|
- name: SKIP_WAIT_FOR_EXTERNAL_DB
|
|
value: "true"
|
|
|
|
access:
|
|
tomcat:
|
|
connector:
|
|
maxThreads: 150
|
|
javaOpts:
|
|
other: >
|
|
-XX:InitialRAMPercentage=20
|
|
-XX:MaxRAMPercentage=60
|
|
database:
|
|
maxOpenConnections: 150
|
|
resources:
|
|
requests:
|
|
cpu: 1
|
|
memory: 2Gi
|
|
limits:
|
|
# cpu: 2
|
|
memory: 4Gi
|
|
|
|
router:
|
|
resources:
|
|
requests:
|
|
cpu: 400m
|
|
memory: 1Gi
|
|
limits:
|
|
# cpu: "8"
|
|
memory: 2Gi
|
|
|
|
frontend:
|
|
resources:
|
|
requests:
|
|
cpu: 200m
|
|
memory: 300Mi
|
|
limits:
|
|
# cpu: "3"
|
|
memory: 1Gi
|
|
|
|
metadata:
|
|
database:
|
|
maxOpenConnections: 150
|
|
resources:
|
|
requests:
|
|
cpu: 200m
|
|
memory: 200Mi
|
|
limits:
|
|
# cpu: "4"
|
|
memory: 1Gi
|
|
|
|
event:
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 50Mi
|
|
limits:
|
|
# cpu: 500m
|
|
memory: 250Mi
|
|
|
|
observability:
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 50Mi
|
|
limits:
|
|
# cpu: 500m
|
|
memory: 250Mi
|
|
|
|
jfconnect:
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 100Mi
|
|
limits:
|
|
# cpu: 500m
|
|
memory: 250Mi
|
|
|
|
nginx:
|
|
replicaCount: 2
|
|
disableProxyBuffering: true
|
|
resources:
|
|
requests:
|
|
cpu: "4"
|
|
memory: "4Gi"
|
|
limits:
|
|
# cpu: "12"
|
|
memory: "8Gi"
|
|
|
|
postgresql:
|
|
postgresqlExtendedConf:
|
|
maxConnections: "2000"
|
|
primary:
|
|
affinity:
|
|
# Require PostgreSQL pod to run on a different node than Artifactory pods
|
|
podAntiAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
- labelSelector:
|
|
matchExpressions:
|
|
- key: app
|
|
operator: In
|
|
values:
|
|
- artifactory
|
|
topologyKey: kubernetes.io/hostname
|
|
resources:
|
|
requests:
|
|
memory: 128Gi
|
|
cpu: "32"
|
|
limits:
|
|
memory: 128Gi
|
|
# cpu: "64"
|