forked from Altinity/clickhouse-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
05-settings-04-nested.yaml
62 lines (56 loc) · 1.52 KB
/
05-settings-04-nested.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
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
name: "settings-nested"
spec:
configuration:
settings:
disable_internal_dns_cache: 1
clusters:
- name: "top-level"
# Expecting value: 1
layout:
shardsCount: 1
replicasCount: 1
- name: "cluster-level"
# Expecting values: 1, 2
settings:
disable_internal_dns_cache: 2
- name: "shard-level"
# Expecting values: 1, 4
settings:
disable_internal_dns_cache: 3
layout:
shards:
- settings:
disable_internal_dns_cache: 4
- name: "replica-level"
# Expecting values: 1, 6
settings:
disable_internal_dns_cache: 5
layout:
replicas:
- settings:
disable_internal_dns_cache: 6
- name: "host-level-sh"
# Expecting values: 1, 9
settings:
disable_internal_dns_cache: 7
layout:
shards:
- settings:
disable_internal_dns_cache: 8
replicas:
- settings:
disable_internal_dns_cache: 9
- name: "host-level-rep"
# Expecting values: 1, 12
settings:
disable_internal_dns_cache: 10
layout:
replicas:
- settings:
disable_internal_dns_cache: 11
shards:
- settings:
disable_internal_dns_cache: 12