[AAI] Add logs to STDOUT
[aai/oom.git] / components / aai-graphadmin / values.yaml
1 #
2 # ============LICENSE_START=======================================================
3 # org.onap.aai
4 # ================================================================================
5 # Copyright © 2018 AT&T Intellectual Property. All rights reserved.
6 # Modifications Copyright © 2020 Samsung Electronics
7 # ================================================================================
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
11 #
12 #    http://www.apache.org/licenses/LICENSE-2.0
13 #
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19 # ============LICENSE_END=========================================================
20
21 # Default values for resources.
22 # This is a YAML-formatted file.
23 # Declare variables to be passed into your templates.
24 global: # global defaults
25   nodePortPrefix: 302
26   legacyReadinessRepository: oomk8s
27   legacyReadinessImage: readiness-check:2.2.2
28
29
30 # application image
31 repository: nexus3.onap.org:10001
32 image: onap/aai-graphadmin:1.6.3
33 pullPolicy: Always
34 restartPolicy: Always
35 flavor: small
36 # default number of instances
37 replicaCount: 1
38
39 # Configuration for the graphadmin deployment
40 config:
41
42   # Specify the profiles for the graphadmin microservice
43   profiles:
44     active: "dmaap,one-way-ssl"
45
46   # Specifies the timeout limit for the REST API requests
47   timeout:
48     enabled: true
49     limit: 180000
50
51   # Default maximum records to fix for the data grooming and dupeTool
52   maxFix:
53     dataGrooming: 150
54     dupeTool: 25
55
56   # Default number of sleep minutes for dataGrooming and dupeTool
57   sleepMinutes:
58     dataGrooming: 7
59     dupeTool: 7
60
61   # Cron specific attributes to be triggered for the graphadmin spring cron tasks
62   cron:
63     # Specifies that the data grooming tool which runs duplicates should be enabled
64     dataGrooming:
65       enabled: true
66     # Specifies that the data snapshot which takes a graphson snapshot should be enabled
67     dataSnapshot:
68       enabled: true
69       params: JUST_TAKE_SNAPSHOT
70
71     # Data cleanup which zips snapshots older than x days and deletes older than y days
72     dataCleanup:
73
74       dataGrooming:
75         enabled: true
76         # Zips up the dataGrooming files older than 5 days
77         ageZip: 5
78         # Deletes the dataGrooming files older than 30 days
79         ageDelete: 30
80
81       dataSnapshot:
82         enabled: true
83         # Zips up the dataSnapshot graphson files older than 5 days
84         ageZip: 5
85         # Deletes the dataSnapshot graphson files older than 30 days
86         ageDelete: 30
87
88 nodeSelector: {}
89
90 affinity: {}
91
92 # probe configuration parameters
93 liveness:
94   initialDelaySeconds: 60
95   periodSeconds: 60
96   # necessary to disable liveness probe when setting breakpoints
97   # in debugger so K8s doesn't restart unresponsive container
98   enabled: false
99
100 readiness:
101   initialDelaySeconds: 60
102   periodSeconds: 10
103
104 service:
105   type: ClusterIP
106   # REST API port for the graphadmin microservice
107   portName: aai-graphadmin-8449
108   internalPort: 8449
109   portName2: aai-graphadmin-5005
110   internalPort2: 5005
111
112 ingress:
113   enabled: false
114
115 persistence:
116   enabled: true
117   ## A manually managed Persistent Volume and Claim
118   ## Requires persistence.enabled: true
119   ## If defined, PVC must be created manually before volume will be bound
120   # existingClaim:
121   volumeReclaimPolicy: Retain
122   ## database data Persistent Volume Storage Class
123   ## If defined, storageClassName: <storageClass>
124   ## If set to "-", storageClassName: "", which disables dynamic provisioning
125   ## If undefined (the default) or set to null, no storageClassName spec is
126   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
127   ##   GKE, AWS & OpenStack)
128   ##
129   # storageClass: "-"
130   accessMode: ReadWriteMany
131   size: 2Gi
132
133   mountPath: /dockerdata-nfs
134   mountSubPath: aai/aai-graphadmin
135   mountSubPath1: aai/migration
136
137 log:
138   logDir: {{ .Values.log.logDir }}
139   root:
140     level: {{ .Values.log.root.level.graphadmin }}
141   consolePattern: {{ .Values.log.consolePattern.graphadmin }}
142   logger:
143     ajsc: {{ .Values.log.logger.ajsc }}
144     ajscBeansInterceptors: {{ .Values.log.logger.ajscBeansInterceptors }}
145     ajscComputeService: {{ .Values.log.logger.ajscComputeService }}
146     ajscFilePersistenceService: {{ .Values.log.logger.ajscFilePersistenceService }}
147     ajscFilters: {{ .Values.log.logger.ajscFilters }}
148     ajscLoggingConfigurationService: {{ .Values.log.logger.ajscLoggingConfigurationService }}
149     ajscRestlet: {{ .Values.log.logger.ajscRestlet }}
150     ajscRouteMgmtService: {{ .Values.log.logger.ajscRouteMgmtService }}
151     ajscServlet: {{ .Values.log.logger.ajscServlet }}
152     ajscUserDefinedBeansDefService: {{ .Values.log.logger.ajscUserDefinedBeansDefService }}
153     ajscUserDefinedJarService: {{ .Values.log.logger.ajscUserDefinedJarService }}
154     ajscUtils: {{ .Values.log.logger.ajscUtils }}
155     ajscUtilsDME2Helper: {{ .Values.log.logger.ajscUtilsDME2Helper }}
156     ajscVandelayService: {{ .Values.log.logger.ajscVandelayService }}
157     apache: {{ .Values.log.logger.apache }}
158     apacheCamel: {{ .Values.log.logger.apacheCamel }}
159     apacheCamelComponentRestlet: {{ .Values.log.logger.apacheCamelComponentRestlet }}
160     apacheCamelProcessorInterceptor: {{ .Values.log.logger.apacheCamelProcessorInterceptor }}
161     apacheCommons: {{ .Values.log.logger.apacheCommons }}
162     apacheCommonsHttpclient: {{ .Values.log.logger.apacheCommonsHttpclient }}
163     apacheCoyote: {{ .Values.log.logger.apacheCoyote }}
164     apacheCxf: {{ .Values.log.logger.apacheCxf }}
165     apacheCxfJaxrsInterceptor: {{ .Values.log.logger.apacheCxfJaxrsInterceptor }}
166     apacheCxfService: {{ .Values.log.logger.apacheCxfService }}
167     apacheJasper: {{ .Values.log.logger.apacheJasper }}
168     apacheZookeeper: {{ .Values.log.logger.apacheZookeeper }}
169     attAftDme2: {{ .Values.log.logger.attAftDme2 }}
170     attAjsc: {{ .Values.log.logger.attAjsc }}
171     attAjscCsiLogging: {{ .Values.log.logger.attAjscCsiLogging }}
172     attAjscFilemonitor: {{ .Values.log.logger.attAjscFilemonitor }}
173     attEelf: {{ .Values.log.logger.attEelf }}
174     attScamper: {{ .Values.log.logger.attScamper }}
175     blogSpringJms: {{ .Values.log.logger.blogSpringJms }}
176     codehausGroovy: {{ .Values.log.logger.codehausGroovy }}
177     eclipseJetty: {{ .Values.log.logger.eclipseJetty }}
178     hibernate: {{ .Values.log.logger.hibernate }}
179     hibernateEjb: {{ .Values.log.logger.hibernateEjb }}
180     hibernateValidator: {{ .Values.log.logger.hibernateValidator }}
181     janusgraph: {{ .Values.log.logger.janusgraph }}
182     jaywayJsonpath: {{ .Values.log.logger.jaywayJsonpath }}
183     netflix: {{ .Values.log.logger.netflix }}
184     netflixLoadbalancer: {{ .Values.log.logger.netflixLoadbalancer }}
185     qosLogbackClassic: {{ .Values.log.logger.qosLogbackClassic }}
186     qosLogbackCore: {{ .Values.log.logger.qosLogbackCore }}
187     restlet: {{ .Values.log.logger.restlet }}
188     sf: {{ .Values.log.logger.sf }}
189     springframework: {{ .Values.log.logger.springframework }}
190     springframeworkBeans: {{ .Values.log.logger.springframeworkBeans }}
191     springframeworkWeb: {{ .Values.log.logger.springframeworkWeb }}
192     zookeeper: {{ .Values.log.logger.zookeeper }}
193
194 resources:
195   small:
196     limits:
197       cpu: 2
198       memory: 4Gi
199     requests:
200       cpu: 0.5
201       memory: 1536Mi
202   large:
203     limits:
204       cpu: 4
205       memory: 8Gi
206     requests:
207       cpu: 1
208       memory: 2Gi
209   unlimited: {}