fecc3aeabeb3f90eedc3ee98ca087176d3f4a588
[oom.git] / kubernetes / aai / charts / aai-graphadmin / values.yaml
1 #
2 # ============LICENSE_START=======================================================
3 # org.onap.aai
4 # ================================================================================
5 # Copyright © 2018 AT&T Intellectual Property. All rights reserved.
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #    http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=========================================================
19
20 # Default values for resources.
21 # This is a YAML-formatted file.
22 # Declare variables to be passed into your templates.
23 global: # global defaults
24   nodePortPrefix: 302
25   readinessRepository: oomk8s
26   readinessImage: readiness-check:2.0.0
27
28
29 # application image
30 repository: nexus3.onap.org:10001
31 image: onap/aai-graphadmin:1.0.4
32 pullPolicy: Always
33 restartPolicy: Always
34 flavor: small
35 # default number of instances
36 replicaCount: 1
37
38 # Configuration for the graphadmin deployment
39 config:
40
41   groupId: 1000
42   userId: 1000
43
44   # Specifies the timeout limit for the REST API requests
45   timeout:
46     enabled: true
47     limit: 180000
48
49   # Default maximum records to fix for the data grooming and dupeTool
50   maxFix:
51     dataGrooming: 150
52     dupeTool: 25
53
54   # Default number of sleep minutes for dataGrooming and dupeTool
55   sleepMinutes:
56     dataGrooming: 7
57     dupeTool: 7
58
59   # Cron specific attributes to be triggered for the graphadmin spring cron tasks
60   cron:
61     # Specifies that the data grooming tool which runs duplicates should be enabled
62     dataGrooming:
63       enabled: true
64     # Specifies that the data snapshot which takes a graphson snapshot should be enabled
65     dataSnapshot:
66       enabled: true
67       params: JUST_TAKE_SNAPSHOT
68
69     # Data cleanup which zips snapshots older than x days and deletes older than y days
70     dataCleanup:
71
72       dataGrooming:
73         enabled: true
74         # Zips up the dataGrooming files older than 5 days
75         ageZip: 5
76         # Deletes the dataGrooming files older than 30 days
77         ageDelete: 30
78
79       dataSnapshot:
80         enabled: true
81         # Zips up the dataSnapshot graphson files older than 5 days
82         ageZip: 5
83         # Deletes the dataSnapshot graphson files older than 30 days
84         ageDelete: 30
85
86 nodeSelector: {}
87
88 affinity: {}
89
90 # probe configuration parameters
91 liveness:
92   initialDelaySeconds: 60
93   periodSeconds: 60
94   # necessary to disable liveness probe when setting breakpoints
95   # in debugger so K8s doesn't restart unresponsive container
96   enabled: false
97
98 readiness:
99   initialDelaySeconds: 60
100   periodSeconds: 10
101
102 service:
103   type: ClusterIP
104   # REST API port for the graphadmin microservice
105   portName: aai-graphadmin-8449
106   internalPort: 8449
107   portName2: aai-graphadmin-5005
108   internalPort2: 5005
109
110 ingress:
111   enabled: false
112
113 persistence:
114   mountPath: /dockerdata-nfs
115   mountSubPath: aai/aai-graphadmin
116
117 resources:
118   small:
119     limits:
120       cpu: 2
121       memory: 4Gi
122     requests:
123       cpu: 2
124       memory: 4Gi
125   large:
126     limits:
127       cpu: 4
128       memory: 8Gi
129     requests:
130       cpu: 4
131       memory: 8Gi
132   unlimited: {}