-
Notifications
You must be signed in to change notification settings - Fork 26
/
cluster_v1_local.yaml
164 lines (141 loc) · 3.62 KB
/
cluster_v1_local.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
apiVersion: cluster.ytsaurus.tech/v1
kind: Ytsaurus
metadata:
name: minisaurus
spec:
coreImage: ghcr.io/ytsaurus/ytsaurus:stable-23.2.0-relwithdebinfo
discovery:
instanceCount: 1
# Make reusable loggers config with yaml anchor.
loggers: &loggers
- name: debug
compression: zstd
minLogLevel: debug
writerType: file
rotationPolicy: &rotationPolicy
maxTotalSizeToKeep: 10000000
rotationPeriodMilliseconds: 900000
categoriesFilter:
type: exclude
values: [ "Bus", "Concurrency" ]
- name: info
minLogLevel: info
writerType: file
rotationPolicy: *rotationPolicy
- name: error
minLogLevel: error
writerType: stderr
primaryMasters:
instanceCount: 1
cellTag: 1
loggers: *loggers
locations:
- locationType: MasterChangelogs
path: /yt/master-data/master-changelogs
- locationType: MasterSnapshots
path: /yt/master-data/master-snapshots
volumeMounts:
- name: master-data
mountPath: /yt/master-data
volumeClaimTemplates:
- metadata:
name: master-data
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 5Gi
httpProxies:
- serviceType: NodePort
loggers: *loggers
instanceCount: 1
role: default
- serviceType: NodePort
loggers: *loggers
instanceCount: 1
role: control
rpcProxies:
- instanceCount: 1
loggers: *loggers
role: default
- instanceCount: 1
loggers: *loggers
role: heavy
dataNodes:
- instanceCount: 3
loggers: *loggers
volumeMounts:
- name: node-data
mountPath: /yt/node-data
locations:
- locationType: ChunkStore
path: /yt/node-data/chunk-store
volumeClaimTemplates:
- metadata:
name: node-data
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 5Gi
execNodes:
- instanceCount: 1
loggers: *loggers
resources:
limits:
cpu: 1
memory: 2Gi
volumeMounts:
- name: node-data
mountPath: /yt/node-data
volumes:
- name: node-data
emptyDir:
sizeLimit: 5Gi
locations:
- locationType: ChunkCache
path: /yt/node-data/chunk-cache
- locationType: Slots
path: /yt/node-data/slots
jobProxyLoggers:
- name: debug
compression: zstd
minLogLevel: debug
writerType: file
useTimestampSuffix: true
rotationPolicy: &rotationPolicy
maxTotalSizeToKeep: 10000000
rotationPeriodMilliseconds: 900000
categoriesFilter:
type: exclude
values: [ "Bus", "Concurrency" ]
- name: info
minLogLevel: info
writerType: file
rotationPolicy: *rotationPolicy
- name: error
minLogLevel: error
writerType: stderr
schedulers:
instanceCount: 1
loggers: *loggers
controllerAgents:
instanceCount: 1
loggers: *loggers
ui:
image: ghcr.io/ytsaurus/ui:stable
serviceType: NodePort
instanceCount: 1
strawberry:
resources:
limits:
memory: 100Mi
image: ghcr.io/ytsaurus/strawberry:0.0.11
tabletNodes:
- instanceCount: 1
yqlAgents:
instanceCount: 1
image: ghcr.io/ytsaurus/query-tracker:0.0.6
queryTrackers:
instanceCount: 1
image: ghcr.io/ytsaurus/query-tracker:0.0.6