[AAI] Add logs to STDOUT
[aai/oom.git] / components / aai-resources / values.yaml
1 # Copyright © 2018 Amdocs, Bell Canada, AT&T
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 # Default values for resources.
16 # This is a YAML-formatted file.
17 # Declare variables to be passed into your templates.
18 global: # global defaults
19   nodePortPrefix: 302
20   legacyReadinessRepository: oomk8s
21   legacyReadinessImage: readiness-check:2.2.2
22
23 # application image
24 repository: nexus3.onap.org:10001
25 image: onap/aai-resources:1.6.6
26 pullPolicy: Always
27 restartPolicy: Always
28 flavor: small
29 # default number of instances
30 replicaCount: 1
31
32 # Configuration for the resources deployment
33 config:
34
35   # Specifies crud related operation timeouts and overrides
36   crud:
37     timeout:
38       # Specifies if the timeout for REST GET calls should be enabled
39       enabled: true
40       # Specifies the timeout values for application specific
41       # Its a pipe seperated list where each element before comma represents
42       # the X-FromAppId and the comma after specifies the timeout limit in ms
43       # If the timeout limit is -1 then it means for these apps no timeout
44       appspecific: JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAIRctFeed,-1|NewvceCreator,-1|IANewvceCreator,-1|AAI-CSIOVALS,-1
45       # Specifies what is the maximum timeout limit in milliseconds
46       limit: 100000
47
48   # Specifies configuration for bulk apis
49   bulk:
50     # Specifies for a bulk payload how many transactions in total allowed
51     limit: 30
52     # Specifies if the bulk can be override and if it can the value
53     override: false
54
55 nodeSelector: {}
56
57 affinity: {}
58
59 # probe configuration parameters
60 liveness:
61   initialDelaySeconds: 60
62   periodSeconds: 60
63   # necessary to disable liveness probe when setting breakpoints
64   # in debugger so K8s doesn't restart unresponsive container
65   enabled: false
66
67 readiness:
68   initialDelaySeconds: 60
69   periodSeconds: 10
70
71 # application configuration
72 sidecar:
73   keyStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
74   keyManagerPassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
75   trustStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
76
77 service:
78   type: ClusterIP
79   portName: aai-resources-8447
80   internalPort: 8447
81   portName2: aai-resources-5005
82   internalPort2: 5005
83
84 ingress:
85   enabled: false
86
87 log:
88   logDir: {{ .Values.log.logDir }}
89   root:
90     level:
91       config: {{ .Values.log.root.level.resources.config }}
92       fproxy: {{ .Values.log.root.level.resources.fproxy }}
93       rproxy: {{ .Values.log.root.level.resources.rproxy }}
94   consolePattern:
95     config: {{ .Values.log.consolePattern.resources.config }}
96     fproxy: {{ .Values.log.consolePattern.resources.fproxy }}
97     rproxy: {{ .Values.log.consolePattern.resources.rproxy }}
98   loggger:
99     apache: {{ .Values.log.logger.apache }}
100     apacheCommons: {{ .Values.log.logger.apacheCommons }}
101     apacheZookeeper: {{ .Values.log.logger.apacheZookeeper }}
102     attAftDme2: {{ .Values.log.logger.attAftDme2 }}
103     codehausGroovy: {{ .Values.log.logger.codehausGroovy }}
104     eclipseJetty: {{ .Values.log.logger.eclipseJetty }}
105     janusgraph: {{ .Values.log.logger.janusgraph }}
106     jaywayJsonpath: {{ .Values.log.logger.jaywayJsonpath }}
107     qosLogbackClassic: {{ .Values.log.logger.qosLogbackClassic }}
108     qosLogbackCore: {{ .Values.log.logger.qosLogbackCore }}
109     springframework: {{ .Values.log.logger.springframework }}
110     springframeworkBeans: {{ .Values.log.logger.springframeworkBeans }}
111     springframeworkWeb: {{ .Values.log.logger.springframeworkWeb }}
112     zookeeper: {{ .Values.log.logger.zookeeper }}
113
114   # We usually recommend not to specify default resources and to leave this as a conscious
115   # choice for the user. This also increases chances charts run on environments with little
116   # resources, such as Minikube. If you do want to specify resources, uncomment the following
117   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
118   #
119   # Example:
120   # Configure resource requests and limits
121   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
122   # Minimum memory for development is 2 CPU cores and 4GB memory
123   # Minimum memory for production is 4 CPU cores and 8GB memory
124 #resources:
125 #  limits:
126 #    cpu: 2
127 #    memory: 4Gi
128 #  requests:
129 #    cpu: 2
130 #    memory: 4Gi
131 resources:
132   small:
133     limits:
134       cpu: 2
135       memory: 4Gi
136     requests:
137       cpu: 1
138       memory: 3Gi
139   large:
140     limits:
141       cpu: 4
142       memory: 8Gi
143     requests:
144       cpu: 2
145       memory: 4Gi
146   unlimited: {}