[AAI] Reintegrate AAI OOM charts in main repo
[oom.git] / kubernetes / aai / components / aai-graphadmin / values.yaml
1 #
2 # ============LICENSE_START=======================================================
3 # org.onap.aai
4 # ================================================================================
5 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
6 # Copyright (c) 2020 Nokia Intellectual Property. All rights reserved.
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   readinessImage: onap/oom/readiness:3.0.1
27
28
29 # application image
30 repository: nexus3.onap.org:10001
31 image: onap/aai-graphadmin:1.7.1
32 pullPolicy: Always
33 restartPolicy: Always
34 flavor: small
35 flavorOverride: 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   # Concurrency lock control flag
88   aai:
89     lock:
90       uri:
91         enabled: false
92
93
94 nodeSelector: {}
95
96 affinity: {}
97
98 # probe configuration parameters
99 liveness:
100   initialDelaySeconds: 60
101   periodSeconds: 60
102   # necessary to disable liveness probe when setting breakpoints
103   # in debugger so K8s doesn't restart unresponsive container
104   enabled: false
105
106 readiness:
107   initialDelaySeconds: 60
108   periodSeconds: 10
109
110 service:
111   type: ClusterIP
112   # REST API port for the graphadmin microservice
113   portName: aai-graphadmin-8449
114   internalPort: 8449
115   portName2: aai-graphadmin-5005
116   internalPort2: 5005
117
118 ingress:
119   enabled: false
120
121 persistence:
122   enabled: true
123   ## A manually managed Persistent Volume and Claim
124   ## Requires persistence.enabled: true
125   ## If defined, PVC must be created manually before volume will be bound
126   # existingClaim:
127   volumeReclaimPolicy: Retain
128   ## database data Persistent Volume Storage Class
129   ## If defined, storageClassName: <storageClass>
130   ## If set to "-", storageClassName: "", which disables dynamic provisioning
131   ## If undefined (the default) or set to null, no storageClassName spec is
132   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
133   ##   GKE, AWS & OpenStack)
134   ##
135   # storageClass: "-"
136   accessMode: ReadWriteMany
137   size: 2Gi
138
139   mountPath: /dockerdata-nfs
140   mountSubPath: aai/aai-graphadmin
141   mountSubPath1: aai/migration
142
143 resources:
144   small:
145     limits:
146       cpu: 2
147       memory: 4Gi
148     requests:
149       cpu: 0.5
150       memory: 1536Mi
151   large:
152     limits:
153       cpu: 4
154       memory: 8Gi
155     requests:
156       cpu: 1
157       memory: 2Gi
158   unlimited: {}