blob: a0c85ed191980b9f2d02b696ad1d490ef8c34da3 [file] [log] [blame]
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -04001#
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.
23global: # global defaults
24 nodePortPrefix: 302
25 readinessRepository: oomk8s
26 readinessImage: readiness-check:2.0.0
27
28
29# application image
30repository: nexus3.onap.org:10001
Jimmy Forsyth463faa42019-01-15 10:08:56 -050031image: onap/aai-graphadmin:1.0.4
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040032pullPolicy: Always
33restartPolicy: Always
rajeshkalai9fcfbce2018-09-20 06:36:28 -040034flavor: small
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040035# default number of instances
36replicaCount: 1
37
38# Configuration for the graphadmin deployment
39config:
40
Harish Venkata Kajur6550bc62019-01-08 21:58:53 -050041 groupId: 1000
42 userId: 1000
43
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040044 # 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
Mandeep Khinda60d36d42018-09-24 15:15:48 +000050 maxFix:
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040051 dataGrooming: 150
52 dupeTool: 25
Mandeep Khinda60d36d42018-09-24 15:15:48 +000053
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040054 # 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
86nodeSelector: {}
87
88affinity: {}
89
90# probe configuration parameters
91liveness:
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
98readiness:
99 initialDelaySeconds: 60
100 periodSeconds: 10
101
102service:
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
110ingress:
111 enabled: false
112
Harish Venkata Kajurd497ce22019-01-08 22:09:21 -0500113persistence:
114 mountPath: /dockerdata-nfs
115 mountSubPath: aai/aai-graphadmin
116
rajeshkalai9fcfbce2018-09-20 06:36:28 -0400117resources:
118 small:
119 limits:
120 cpu: 2
121 memory: 4Gi
122 requests:
jimmya0a6ceb2018-12-06 15:05:48 -0500123 cpu: 0.5
124 memory: 1536Mi
rajeshkalai9fcfbce2018-09-20 06:36:28 -0400125 large:
126 limits:
127 cpu: 4
128 memory: 8Gi
129 requests:
jimmya0a6ceb2018-12-06 15:05:48 -0500130 cpu: 1
131 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000132 unlimited: {}