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