forked from Altinity/clickhouse-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
06-advanced-layout-04-multiple-clusters.yaml
63 lines (59 loc) · 1.58 KB
/
06-advanced-layout-04-multiple-clusters.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
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
name: "adv-layout-mul"
spec:
configuration:
clusters:
- name: c3-2
layout:
shards:
- replicas:
- templates:
podTemplate: t1
- templates:
podTemplate: t2
- replicas:
- templates:
podTemplate: t1
- templates:
podTemplate: t2
- replicas:
- templates:
podTemplate: t1
- templates:
podTemplate: t2
- name: c2-3
layout:
shards:
- replicas:
- templates:
podTemplate: t1
- templates:
podTemplate: t2
- templates:
podTemplate: t3
- replicas:
- templates:
podTemplate: t1
- templates:
podTemplate: t2
- templates:
podTemplate: t3
templates:
podTemplates:
- name: t1
spec:
containers:
- name: clickhouse-pod
image: clickhouse/clickhouse-server:22.1
- name: t2
spec:
containers:
- name: clickhouse-pod
image: clickhouse/clickhouse-server:22.2
- name: t3
spec:
containers:
- name: clickhouse-pod
image: clickhouse/clickhouse-server:22.3