Merge "Revert "basic auth for so-monitoring""
[oom.git] / kubernetes / dmaap / components / message-router / charts / message-router-zookeeper / 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   ubuntuInitRepository: registry.hub.docker.com
26   persistence: {}
27
28 #################################################################
29 # Application configuration defaults.
30 #################################################################
31 # application image
32 repository: nexus3.onap.org:10001
33 image: onap/dmaap/zookeeper:6.0.0
34 pullPolicy: Always
35 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
36 busyBoxImage: busybox:1.30
37 busyBoxRepository: docker.io
38
39 # flag to enable debugging - application support required
40 debugEnabled: false
41
42 # application configuration
43 config:
44   # gerrit branch where the latest code is checked in
45   gerritBranch: master
46   # gerrit project where the latest code is checked in
47   gerritProject: http://gerrit.onap.org/r/dmaap/messagerouter/messageservice.git
48
49 # default number of instances
50 replicaCount: 3
51
52 nodeSelector: {}
53
54 nodeAffinity: {}
55
56 affinity: {}
57
58 tolerations: {}
59
60 # probe configuration parameters
61 liveness:
62   initialDelaySeconds: 10
63   periodSeconds: 10
64   timeoutSeconds: 1
65   # necessary to disable liveness probe when setting breakpoints
66   # in debugger so K8s doesn't restart unresponsive container
67   enabled: true
68
69 readiness:
70   initialDelaySeconds: 10
71   periodSeconds: 10
72   timeoutSeconds: 1
73
74 #Zookeeper properties
75 zk:
76  initLimit: 5
77  syncLimit: 2
78
79 ## Persist data to a persitent volume
80 persistence:
81   enabled: true
82
83   ## A manually managed Persistent Volume and Claim
84   ## Requires persistence.enabled: true
85   ## If defined, PVC must be created manually before volume will be bound
86   # existingClaim:
87   volumeReclaimPolicy: Retain
88
89   ## database data Persistent Volume Storage Class
90   ## If defined, storageClassName: <storageClass>
91   ## If set to "-", storageClassName: "", which disables dynamic provisioning
92   ## If undefined (the default) or set to null, no storageClassName spec is
93   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
94   ##   GKE, AWS & OpenStack)
95   ##
96   # storageClass: "-"
97   accessMode: ReadWriteOnce
98   size: 2Gi
99   mountPath: /dockerdata-nfs
100   mountSubPath: message-router/data-zookeeper
101
102
103 rollingUpdate:
104   maxUnavailable: 1
105 service:
106   type: ClusterIP
107   name: message-router-zookeeper
108   portName: message-router-zookeeper
109   clientPortName: client
110   clientPort: 2181
111   serverPortName: server
112   serverPort: 2888
113   leaderElectionPortName: leader-election
114   leaderElectionPort: 3888
115
116 ingress:
117   enabled: false
118
119 # Resource Limit flavor -By Default using small
120 flavor: small
121 # Segregation for Different environment (Small and Large)
122 resources:
123   small:
124     limits:
125       cpu: 2000m
126       memory: 4Gi
127     requests:
128       cpu: 500m
129       memory: 1Gi
130   large:
131     limits:
132       cpu: 4000m
133       memory: 8Gi
134     requests:
135       cpu: 1000m
136       memory: 2Gi
137   unlimited: {}