-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdruid.yaml
81 lines (81 loc) · 1.82 KB
/
druid.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
apiVersion: kubedb.com/v1alpha2
kind: Druid
metadata:
name: druid-sample
namespace: druid
spec:
version: 28.0.1
storageType: Ephemeral
# configSecret:
# name: custom-config
deepStorage:
type: s3
configSecret:
name: deep-storage-config
metadataStorage:
name: mysql-cluster
namespace: druid
createTables: true
zookeeperRef:
name: zk-cluster
namespace: druid
topology:
coordinators:
replicas: 1
overlords:
replicas: 1
brokers:
podTemplate:
spec:
nodeSelector:
app: kubedb
instance: druid
component: druid-database
tolerations:
- effect: NoSchedule
key: app
operator: Equal
value: kubedb
- effect: NoSchedule
key: instance
operator: Equal
value: druid
- effect: NoSchedule
key: component
operator: Equal
value: druid-database
- effect: NoSchedule
key: nodepool_type
operator: Equal
value: n2-standard-2
containers:
- name: druid
resources:
requests:
cpu: 700m
memory: "1200Mi"
replicas: 1
historicals:
replicas: 1
storage:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
# storageClassName: standard
middleManagers:
replicas: 1
storage:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
# storageClassName: standard
routers:
replicas: 1
serviceTemplates:
- alias: primary
spec:
type: LoadBalancer