blob: 498c3c185d6977176260edb01ec3da32b790822c [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
Mahendra Raghuwanshid06d7822019-03-15 06:42:07 +000026 readinessImage: readiness-check:2.0.2
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -040027
28
29# application image
30repository: nexus3.onap.org:10001
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -050031image: onap/aai-graphadmin:1.1-STAGING-latest
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
Harish Venkata Kajur49f85b72019-01-08 22:09:21 -0500110persistence:
Mahendra Raghuwanshif645b7f2019-03-20 06:36:19 +0000111 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
Harish Venkata Kajur49f85b72019-01-08 22:09:21 -0500128 mountPath: /dockerdata-nfs
129 mountSubPath: aai/aai-graphadmin
Mahendra Raghuwanshif645b7f2019-03-20 06:36:19 +0000130 mountSubPath1: aai/migration
Harish Venkata Kajur49f85b72019-01-08 22:09:21 -0500131
rajeshkalai9fcfbce2018-09-20 06:36:28 -0400132resources:
133 small:
134 limits:
135 cpu: 2
136 memory: 4Gi
137 requests:
jimmy297f59b2018-12-06 15:05:48 -0500138 cpu: 0.5
139 memory: 1536Mi
rajeshkalai9fcfbce2018-09-20 06:36:28 -0400140 large:
141 limits:
142 cpu: 4
143 memory: 8Gi
144 requests:
jimmy297f59b2018-12-06 15:05:48 -0500145 cpu: 1
146 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000147 unlimited: {}