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