blob: d7813ead1179428f6855114f1e32d0d6a22b515b [file] [log] [blame]
toshrajbhardwaj84d73b12018-08-06 07:35:14 +00001# Copyright © 2018 Amdocs, Bell Canada, AT&T
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
kj6a8ce802018-03-19 15:07:44 +020015# Default values for resources.
16# This is a YAML-formatted file.
17# Declare variables to be passed into your templates.
18global: # global defaults
19 nodePortPrefix: 302
kj6a8ce802018-03-19 15:07:44 +020020 readinessRepository: oomk8s
BorislavGf2b49662018-04-15 11:55:39 +000021 readinessImage: readiness-check:2.0.0
kj6a8ce802018-03-19 15:07:44 +020022
kj6a8ce802018-03-19 15:07:44 +020023# application image
24repository: nexus3.onap.org:10001
Gary Wuabbdb912018-11-21 21:34:30 -080025image: onap/aai-resources:1.3.4
kj6a8ce802018-03-19 15:07:44 +020026pullPolicy: Always
27restartPolicy: Always
rajeshkalai47c1de32018-09-20 06:36:28 -040028flavor: small
kj6a8ce802018-03-19 15:07:44 +020029# default number of instances
30replicaCount: 1
31
vagrant62ddc7d2018-03-10 23:56:32 +000032# Configuration for the resources deployment
33config:
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -040034
35 # Specifies crud related operation timeouts and overrides
36 crud:
37 timeout:
Mandeep Khinda9a46bf32018-09-24 15:15:48 +000038 # Specifies if the timeout for REST GET calls should be enabled
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -040039 enabled: true
40 # Specifies the timeout values for application specific
Mandeep Khinda9a46bf32018-09-24 15:15:48 +000041 # Its a pipe seperated list where each element before comma represents
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -040042 # the X-FromAppId and the comma after specifies the timeout limit in ms
43 # If the timeout limit is -1 then it means for these apps no timeout
44 appspecific: JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAIRctFeed,-1|NewvceCreator,-1|IANewvceCreator,-1|AAI-CSIOVALS,-1
45 # Specifies what is the maximum timeout limit in milliseconds
46 limit: 100000
47
48 # Specifies configuration for bulk apis
49 bulk:
50 # Specifies for a bulk payload how many transactions in total allowed
51 limit: 30
52 # Specifies if the bulk can be override and if it can the value
53 override: false
vagrant62ddc7d2018-03-10 23:56:32 +000054
kj6a8ce802018-03-19 15:07:44 +020055nodeSelector: {}
56
57affinity: {}
58
59# probe configuration parameters
60liveness:
61 initialDelaySeconds: 60
62 periodSeconds: 60
63 # necessary to disable liveness probe when setting breakpoints
64 # in debugger so K8s doesn't restart unresponsive container
65 enabled: false
66
67readiness:
68 initialDelaySeconds: 60
69 periodSeconds: 10
70
71
72service:
73 type: ClusterIP
BorislavG20dcf412018-05-13 17:11:01 +000074 portName: aai-resources-8447
kj6a8ce802018-03-19 15:07:44 +020075 internalPort: 8447
BorislavG20dcf412018-05-13 17:11:01 +000076 portName2: aai-resources-5005
kj6a8ce802018-03-19 15:07:44 +020077 internalPort2: 5005
78
kj6a8ce802018-03-19 15:07:44 +020079ingress:
80 enabled: false
81
kj6a8ce802018-03-19 15:07:44 +020082 # We usually recommend not to specify default resources and to leave this as a conscious
83 # choice for the user. This also increases chances charts run on environments with little
84 # resources, such as Minikube. If you do want to specify resources, uncomment the following
85 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
86 #
87 # Example:
88 # Configure resource requests and limits
89 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
90 # Minimum memory for development is 2 CPU cores and 4GB memory
91 # Minimum memory for production is 4 CPU cores and 8GB memory
92#resources:
93# limits:
94# cpu: 2
95# memory: 4Gi
96# requests:
97# cpu: 2
98# memory: 4Gi
rajeshkalai47c1de32018-09-20 06:36:28 -040099resources:
100 small:
101 limits:
102 cpu: 2
103 memory: 4Gi
104 requests:
105 cpu: 2
106 memory: 4Gi
107 large:
108 limits:
109 cpu: 4
110 memory: 8Gi
111 requests:
112 cpu: 4
113 memory: 8Gi
Mandeep Khinda9a46bf32018-09-24 15:15:48 +0000114 unlimited: {}