blob: 369e65653b6c2845a1cd77609b4213209cc77b81 [file] [log] [blame]
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00001# Copyright © 2018 Amdocs, Bell Canada, AT&T
Jennie Jia20bb5cd2018-08-16 15:50:33 +00002#
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
15
16# Default values for data-router.
17# This is a YAML-formatted file.
18# Declare variables to be passed into your templates.
19
20
21# Global configuration defaults
22global:
23 nodePortPrefix: 302
24 persistence: {}
jmacaf645b52018-10-11 12:21:54 +000025 readinessRepository: oomk8s
26 readinessImage: readiness-check:2.0.0
27
Jennie Jia20bb5cd2018-08-16 15:50:33 +000028# application image
29repository: nexus3.onap.org:10001
Gary Wub503a2d2018-11-21 07:51:37 -080030image: onap/data-router:1.3.1
Jennie Jia20bb5cd2018-08-16 15:50:33 +000031pullPolicy: Always
32restartPolicy: Always
33
34# BusyBox image
35busyboxRepository: registry.hub.docker.com
36busyboxImage: library/busybox:latest
37
38
39# application configuration
40config:
41 keyStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
42 keyManagerPassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
43
44
45# default number of instances
46replicaCount: 1
47
48nodeSelector: {}
49
50affinity: {}
51
52# probe configuration parameters
53liveness:
54 initialDelaySeconds: 10
55 periodSeconds: 10
56 # necessary to disable liveness probe when setting breakpoints
57 # in debugger so K8s doesn't restart unresponsive container
58 enabled: true
59
60readiness:
61 initialDelaySeconds: 10
62 periodSeconds: 10
63
64service:
65 name: pomba-data-router
66 type: NodePort
67 externalPort: 9502
68 internalPort: 9502
69 nodePort: 49
70
71ingress:
72 enabled: false
73
74persistence:
75 enabled: true
76
77 ## A manually managed Persistent Volume and Claim
78 ## Requires persistence.enabled: true
79 ## If defined, PVC must be created manually before volume will be bound
80 # existingClaim:
81 volumeReclaimPolicy: Retain
82
83 ## database data Persistent Volume Storage Class
84 ## If defined, storageClassName: <storageClass>
85 ## If set to "-", storageClassName: "", which disables dynamic provisioning
86 ## If undefined (the default) or set to null, no storageClassName spec is
87 ## set, choosing the default provisioner. (gp2 on AWS, standard on
88 ## GKE, AWS & OpenStack)
89 ##
90 ## storageClass: "-"
91 accessMode: ReadWriteMany
92 size: 2Gi
93 mountPath: /dockerdata-nfs
94 mountSubPath: pomba/data-router/logs
95
jmacaf645b52018-10-11 12:21:54 +000096# Resource Limit flavor -By Default using small
97flavor: small
98# Segregation for Different environment (Small and Large)
99resources:
100 small:
101 limits:
102 cpu: 1
103 memory: 1400Mi
104 requests:
105 cpu: 100m
106 memory: 700Mi
107 large:
108 limits:
109 cpu: 2
110 memory: 2800Mi
111 requests:
112 cpu: 200m
113 memory: 1400Mi
114 unlimited: {}