e719cb1ad47eec33b4ffb78e90b1056244b1b445
[oom.git] / kubernetes / dmaap / components / message-router / charts / message-router-kafka / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   nodePortPrefix: 302
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25   persistence: {}
26   ubuntuInitRepository: registry.hub.docker.com
27
28 #################################################################
29 # Application configuration defaults.
30 #################################################################
31 # application image
32 repository: nexus3.onap.org:10001
33 image: onap/dmaap/kafka01101:0.0.1
34 pullPolicy: Always
35 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
36
37 zookeeper:
38   name: message-router-zookeeper
39   port: 2181
40
41 # flag to enable debugging - application support required
42 debugEnabled: false
43
44 # default number of instances
45 replicaCount: 3
46
47 # defult partitions
48 defaultpartitions: 3
49
50 nodeSelector: {}
51
52 nodeAffinity: {}
53
54 affinity: {}
55
56 tolerations: {}
57
58 # probe configuration parameters
59 liveness:
60   initialDelaySeconds: 60
61   periodSeconds: 10
62   # necessary to disable liveness probe when setting breakpoints
63   # in debugger so K8s doesn't restart unresponsive container
64   enabled: true
65
66 readiness:
67   initialDelaySeconds: 60
68   periodSeconds: 10
69
70 ## Persist data to a persitent volume
71 persistence:
72   enabled: true
73
74   ## A manually managed Persistent Volume and Claim
75   ## Requires persistence.enabled: true
76   ## If defined, PVC must be created manually before volume will be bound
77   # existingClaim:
78   volumeReclaimPolicy: Retain
79
80   ## database data Persistent Volume Storage Class
81   ## If defined, storageClassName: <storageClass>
82   ## If set to "-", storageClassName: "", which disables dynamic provisioning
83   ## If undefined (the default) or set to null, no storageClassName spec is
84   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
85   ##   GKE, AWS & OpenStack)
86   ##
87   # storageClass: "-"
88   accessMode: ReadWriteMany
89   size: 2Gi
90   mountPath: /dockerdata-nfs
91   mountSubPath: message-router/data-kafka
92
93 service:
94   type: ClusterIP
95   name: message-router-kafka
96   portName: message-router-kafka
97   internalPort: 9092
98   externalPort: 9092
99
100 ingress:
101   enabled: false
102
103 # Resource Limit flavor -By Default using small
104 flavor: small
105 # Segregation for Different environment (Small and Large)
106 resources:
107   small:
108     limits:
109       cpu: 2000m
110       memory: 4Gi
111     requests:
112       cpu: 500m
113       memory: 1Gi
114   large:
115     limits:
116       cpu: 4000m
117       memory: 8Gi
118     requests:
119       cpu: 1000m
120       memory: 2Gi
121   unlimited: {}
122