-
Notifications
You must be signed in to change notification settings - Fork 5
/
values.yaml
431 lines (404 loc) · 9.52 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
## ----------------------------
## PNDA Components
## ----------------------------
serviceAccountName: pnda
roleName: pnda-role
roleBindingName: pnda
# prometheusOperator integration disabled by default
# enable rbac access and each serviceMonitor with enabled field
prometheus:
# prometheus-k8s serviceAccount and namespace to configure RBAC access to pnda metrics endpoints
rbac:
enabled: true
serviceAccount: prometheus-k8s
namespace: monitoring
#Configuration for each prometheusOperator service Monitor
serviceMonitor:
hdfs:
enabled: true
# If namespace is empty: serviceMonitor is deployed in {{ .Release.namespace }}
namespace:
interval: 15s
hbase:
enabled: true
namespace:
interval: 15s
kafka:
enabled: true
namespace:
interval: 15s
spark:
enabled: true
namespace:
interval: 15s
redis:
enabled: true
fullnameOverride: redis
# HA disable by default
cluster:
enabled: false
usePassword: false
consoleBackendDataLogger:
fullnameOverride: console-backend-data-logger
image:
repository: pnda/console-backend-data-logger
tag: 2.1.1
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 3001
resources:
requests:
memory: "128Mi"
cpu: "10m"
limits:
memory: "1024Mi"
cpu: "1000m"
consoleBackendDataManager:
fullnameOverride: console-backend-data-manager
image:
repository: pnda/console-backend-data-manager
tag: 2.1.1
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 3123
resources:
requests:
memory: "128Mi"
cpu: "10m"
limits:
memory: "1024Mi"
cpu: "1000m"
consoleFrontend:
fullnameOverride: console-frontend
image:
repository: pnda/console-frontend
tag: 2.1.2
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 80
conf:
datasets:
hidden:
- '"testbot"'
- '"+tmp"'
topics:
hidden:
- '"avro.internal.testbot"'
- '"__consumer_offsets"'
- '"_schemas"'
- '"__connect.offset"'
- '"__connect.status"'
- '"__connect.config"'
- '"__confluent.support.metrics"'
logLevel: INFO
clusterName:
version:
edgeNode: ""
hdfsLink: "http://hdfs.127-0-0-1.nip.io"
kafkaManagerLink: "http://kafka-manager.127-0-0-1.nip.io"
grafanaLink: "http://grafana.127-0-0-1.nip.io"
kibanaLink: "http://kibana.127-0-0-1.nip.io"
jupyterLink: "http://notebooks.127-0-0-1.nip.io"
httpfsLink: "http://httpfs.127-0-0-1.nip.io"
resources:
requests:
memory: "128Mi"
cpu: "10m"
limits:
memory: "1024Mi"
cpu: "1000m"
ingress:
enabled: true
annotations: {}
path: /
hosts:
- console.127-0-0-1.nip.io
dataService:
fullnameOverride: data-service
image:
repository: pnda/data-service
tag: 0.4.2
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 7000
conf:
logLevel: INFO
resources:
requests:
memory: "128Mi"
cpu: "10m"
limits:
memory: "1024Mi"
cpu: "1000m"
deploymentManager:
fullnameOverride: deployment-manager
image:
repository: pnda/deployment-manager
tag: 2.1.2
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 5000
conf:
logLevel: INFO
resources:
requests:
memory: "128Mi"
cpu: "10m"
limits:
memory: "1024Mi"
cpu: "1000m"
persistence:
enabled: true
accessMode: ReadWriteOnce
size: 2Gi
packageRepository:
fullnameOverride: package-repository
image:
repository: pnda/package-repository
tag: 1.1.1
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 8888
conf:
logLevel: INFO
resources:
requests:
memory: "128Mi"
cpu: "10m"
limits:
memory: "1024Mi"
cpu: "1000m"
persistence:
enabled: true
storageClass:
accessMode: ReadWriteOnce
size: 5Gi
jmxproxy:
fullnameOverride: jmxproxy
testing:
enabled: true
fullnameOverride: testing
schedule: "* * * * *"
image:
repository: pnda/testing
tag: "1.1.1"
pullPolicy: IfNotPresent
conf:
logLevel: WARN
resources:
requests:
memory: "128Mi"
cpu: "10m"
limits:
memory: "1024Mi"
cpu: "1000m"
############################
# Kafka related Components
############################
strimzi:
enabled: true
kafka:
enabled: true
replicas: 1
zookeeper:
replicas: 1
kafkaConnect:
enabled: true
replicas: 1
image: pnda/strimzi-connector:2.3.1
schemaregistry:
enabled: true
# confluent platform v5.3.2 to work with kafka 2.3.1
imageTag: 5.3.2
# we use schemaregistry instead of schema-registry to avoid kubernetes inject SCHEMA_REGISTRY_PORT env variable
fullnameOverride: schemaregistry
kafka:
enabled: false
kafkaStore:
overrideBootstrapServers: "PLAINTEXT://strimzi-kafka-bootstrap:9092"
schemaregistry-ui:
enabled: false
fullnameOverride: schemaregistry-ui
service:
type: ClusterIP
schemaRegistry:
url: "http://schemaregistry"
proxy: true
ingress:
enabled: true
hosts:
- schema-registry.127-0-0-1.nip.io
kafkaHdfsConnector:
enabled: true
fullnameOverride: kafka-hdfs-connector
kafka-manager:
enabled: true
fullnameOverride: kafka-manager
image:
repository: gradiant/kafka-manager
tag: 2.0.0.2
zkHosts: "zoo-entrance:2181"
clusters:
- name: "pnda-Kafka"
kafkaVersion: "2.2.0"
jmxEnabled: "true"
tuning: {}
ingress:
enabled: true
hosts:
- kafka-manager.127-0-0-1.nip.io
kafka-connect-ui:
enabled: true
fullnameOverride: kafka-connect-ui
connectCluster:
url: http://strimzi-connect-api:8083
ingress:
enabled: true
hosts:
- connect.127-0-0-1.nip.io
# Check https://zero-to-jupyterhub.readthedocs.io/en/latest/ for customize this section
jupyterhub:
enabled: true
hub:
extraConfig:
# to resolve singleuser pods (jupyter-{username}.jupyterhub) through kubernetes DNS
00-custom-singleuser-hostname: |
c.KubeSpawner.extra_pod_config = {
"hostname": "jupyter-{username}",
"subdomain": "jupyterhub"
}
01-posthook: |
c.KubeSpawner.lifecycle_hooks = {
"postStart": {
"exec": {
"command": [
"sh",
"-c",
"rm -rf /home/jovyan/apps-notebooks && git clone http://deployment-manager-git:8099/jupyter-${JUPYTERHUB_USER} /home/jovyan/apps-notebooks || exit 0"]
}
}
}
jupyterlab: |
c.Spawner.cmd = ['jupyter-labhub']
auth:
type: dummy
dummy:
password: pnda
admin:
users:
- pnda
proxy:
# edit with your own 32 bytes secretToken (e.g. generate with openssl rand -hex 32)
secretToken: "83fc7b97f79e48a88dd565397a165ebfa9053e474350bb338448b94c6b19c076"
service:
type: ClusterIP
nodePorts: {}
singleuser:
# Workaround for microk8s https://github.com/jupyterhub/zero-to-jupyterhub-k8s/issues/1189#issuecomment-472601915
cloudMetadata:
enabled: true
serviceAccountName: pnda
image:
# Check https://github.com/Gradiant/dockerized-jupyter/blob/master/Dockerfile
name: gradiant/jupyter
tag: 6.0.1-spark
defaultUrl: "/lab"
extraEnv:
SPARKCONF_SPARK_MASTER: "spark://spark-standalone:7077"
ingress:
enabled: true
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 64m
hosts:
- notebooks.127-0-0-1.nip.io
############################
# Hadoop related Components
############################
hdfs:
enabled: true
fullnameOverride: hdfs
persistence:
nameNode:
enabled: true
size: 4Gi
dataNode:
enabled: true
size: 20Gi
ingress:
nameNode:
enabled: true
hosts:
- "hdfs.127-0-0-1.nip.io"
httpfs:
enabled: true
hosts:
- "httpfs.127-0-0-1.nip.io"
hbase:
enabled: true
hdfs:
enabled: false
zookeeper:
enabled: false
fullnameOverride: hbase
conf:
hbaseSite:
hbase.rootdir: "hdfs://hdfs-namenode:8020/hbase" # default is "{{.Release.Name}}-hdfs-namenode:8020"
hbase.zookeeper.quorum: "zoo-entrance:2181" # default is "{{.Release.Name}}-zookeeper:2181"
opentsdb:
enabled: true
hbase:
enabled: false
fullnameOverride: opentsdb
hbaseConfigMapName: hbase # Default hbaseConfigMapName is {{ .Release.Name}}-hbase
conf:
tsd.storage.hbase.zk_quorum: "zoo-entrance:2181" # default is "{{.Release.Name}}-cp-zookeeper:2181"
sparkoperator:
enabled: true
fullnameOverride: sparkoperator
# Setting spark-standalone worker instances to 1
spark-standalone:
enabled: true
fullnameOverride: spark-standalone
ingress:
enabled: true
hosts:
- spark.127-0-0-1.nip.io
############################
# Other Components
############################
grafana:
enabled: true
fullnameOverride: grafana
image:
tag: 6.4.4
sidecar:
datasources:
enabled: true
# label that the configmaps with datasources are marked with
label: grafana_datasource
adminUser: "pnda"
adminPassword: "pnda"
ingress:
enabled: true
hosts:
- grafana.127-0-0-1.nip.io
# Setting elasticsearch instances to 1
elasticsearch:
enabled: false
# default hard. set to soft to permit co-located instances.
antiAffinity: "soft"
# Shrink default JVM heap.
esJavaOpts: "-Xmx256m -Xms256m"
replicas: 1
kibana:
enabled: false
ingress:
enabled: true
hosts:
- kibana.127-0-0-1.nip.io