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