blob: b6192c391b203029c2110f994f80abe212332b00 [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
Gary Wu9324d712018-11-21 21:34:30 -080031image: onap/aai-graphadmin:1.0.1
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
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
Mandeep Khinda60d36d42018-09-24 15:15:48 +000047 maxFix:
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040048 dataGrooming: 150
49 dupeTool: 25
Mandeep Khinda60d36d42018-09-24 15:15:48 +000050
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040051 # 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
83nodeSelector: {}
84
85affinity: {}
86
87# probe configuration parameters
88liveness:
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
95readiness:
96 initialDelaySeconds: 60
97 periodSeconds: 10
98
99service:
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
107ingress:
108 enabled: false
109
rajeshkalai9fcfbce2018-09-20 06:36:28 -0400110resources:
111 small:
112 limits:
113 cpu: 2
114 memory: 4Gi
115 requests:
jimmy297f59b2018-12-06 15:05:48 -0500116 cpu: 0.5
117 memory: 1536Mi
rajeshkalai9fcfbce2018-09-20 06:36:28 -0400118 large:
119 limits:
120 cpu: 4
121 memory: 8Gi
122 requests:
jimmy297f59b2018-12-06 15:05:48 -0500123 cpu: 1
124 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000125 unlimited: {}