2527ceade31f576d7429764cd9fd98cef1dc79fe
[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 # ================================================================================
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   legacyReadinessRepository: oomk8s
26   legacyReadinessImage: readiness-check:2.2.2
27
28
29 # application image
30 repository: nexus3.onap.org:10001
31 image: onap/aai-graphadmin:1.6.3
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   # Specify the profiles for the graphadmin microservice
42   profiles:
43     active: "dmaap,one-way-ssl"
44
45   # Specifies the timeout limit for the REST API requests
46   timeout:
47     enabled: true
48     limit: 180000
49
50   # Default maximum records to fix for the data grooming and dupeTool
51   maxFix:
52     dataGrooming: 150
53     dupeTool: 25
54
55   # Default number of sleep minutes for dataGrooming and dupeTool
56   sleepMinutes:
57     dataGrooming: 7
58     dupeTool: 7
59
60   # Cron specific attributes to be triggered for the graphadmin spring cron tasks
61   cron:
62     # Specifies that the data grooming tool which runs duplicates should be enabled
63     dataGrooming:
64       enabled: true
65     # Specifies that the data snapshot which takes a graphson snapshot should be enabled
66     dataSnapshot:
67       enabled: true
68       params: JUST_TAKE_SNAPSHOT
69
70     # Data cleanup which zips snapshots older than x days and deletes older than y days
71     dataCleanup:
72
73       dataGrooming:
74         enabled: true
75         # Zips up the dataGrooming files older than 5 days
76         ageZip: 5
77         # Deletes the dataGrooming files older than 30 days
78         ageDelete: 30
79
80       dataSnapshot:
81         enabled: true
82         # Zips up the dataSnapshot graphson files older than 5 days
83         ageZip: 5
84         # Deletes the dataSnapshot graphson files older than 30 days
85         ageDelete: 30
86
87 nodeSelector: {}
88
89 affinity: {}
90
91 # probe configuration parameters
92 liveness:
93   initialDelaySeconds: 60
94   periodSeconds: 60
95   # necessary to disable liveness probe when setting breakpoints
96   # in debugger so K8s doesn't restart unresponsive container
97   enabled: false
98
99 readiness:
100   initialDelaySeconds: 60
101   periodSeconds: 10
102
103 service:
104   type: ClusterIP
105   # REST API port for the graphadmin microservice
106   portName: aai-graphadmin-8449
107   internalPort: 8449
108   portName2: aai-graphadmin-5005
109   internalPort2: 5005
110
111 ingress:
112   enabled: false
113
114 persistence:
115   enabled: true
116   ## A manually managed Persistent Volume and Claim
117   ## Requires persistence.enabled: true
118   ## If defined, PVC must be created manually before volume will be bound
119   # existingClaim:
120   volumeReclaimPolicy: Retain
121   ## database data Persistent Volume Storage Class
122   ## If defined, storageClassName: <storageClass>
123   ## If set to "-", storageClassName: "", which disables dynamic provisioning
124   ## If undefined (the default) or set to null, no storageClassName spec is
125   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
126   ##   GKE, AWS & OpenStack)
127   ##
128   # storageClass: "-"
129   accessMode: ReadWriteMany
130   size: 2Gi
131
132   mountPath: /dockerdata-nfs
133   mountSubPath: aai/aai-graphadmin
134   mountSubPath1: aai/migration
135
136 resources:
137   small:
138     limits:
139       cpu: 2
140       memory: 4Gi
141     requests:
142       cpu: 0.5
143       memory: 1536Mi
144   large:
145     limits:
146       cpu: 4
147       memory: 8Gi
148     requests:
149       cpu: 1
150       memory: 2Gi
151   unlimited: {}