-
Notifications
You must be signed in to change notification settings - Fork 468
/
Copy path06-advanced-layout-02-shards.yaml
48 lines (43 loc) · 1.26 KB
/
06-advanced-layout-02-shards.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
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
name: "adv-layout-shard"
spec:
configuration:
clusters:
- name: adv
layout:
shards:
- replicas:
- templates:
podTemplate: clickhouse:22.8
httpPort: 8000
tcpPort: 8001
interserverHTTPPort: 8002
- templates:
podTemplate: clickhouse:23.3
httpPort: 9000
tcpPort: 9001
interserverHTTPPort: 9002
- templates:
podTemplate: clickhouse:23.8
httpPort: 10000
tcpPort: 10001
interserverHTTPPort: 10002
templates:
podTemplates:
- name: clickhouse:22.8
spec:
containers:
- name: clickhouse-pod
image: clickhouse/clickhouse-server:22.8
- name: clickhouse:23.3
spec:
containers:
- name: clickhouse-pod
image: clickhouse/clickhouse-server:23.3
- name: clickhouse:23.8
spec:
containers:
- name: clickhouse-pod
image: clickhouse/clickhouse-server:23.8