This repository was archived by the owner on Mar 3, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathvalues.yaml
More file actions
392 lines (348 loc) · 10.2 KB
/
Copy pathvalues.yaml
File metadata and controls
392 lines (348 loc) · 10.2 KB
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
# Default values for geth.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
global:
replicaCount: 1
## Eth2 network ID
##
network: mainnet
## JSON Web Token (JWT) authentication is used to secure the communication
## between the beacon node and execution client. You can generate a JWT using
## a command line tool, for example:
## openssl rand -hex 32 > token.txt
##
JWTSecret: ""
## Credentials to fetch images from private registry
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
imagePullSecrets: []
## Service account
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
## Additional settings could be made in non-global section.
##
serviceAccount:
# Specifies whether a service account should be created
create: true
## RBAC configuration.
## ref: https://kubernetes.io/docs/reference/access-authn-authz/rbac/
## Additional settings could be made in non-global section.
##
rbac:
## Specifies whether RBAC resources are to be created
##
create: true
## Monitoring
## Additional settings could be made in non-global section.
##
metrics:
## Whether to enable metrics collection or not
##
enabled: true
## Prometheus Service Monitor
## ref: https://github.com/coreos/prometheus-operator
## https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
##
serviceMonitor:
## Create ServiceMonitor resource(s) for scraping metrics using PrometheusOperator
##
enabled: false
## Custom PrometheusRule to be defined
## ref: https://github.com/coreos/prometheus-operator#customresourcedefinitions
##
prometheusRule:
## Create a custom prometheusRule Resource for scraping metrics using PrometheusOperator
##
enabled: false
## Configure liveness and readiness probes
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
## NB! readinessProbe and livenessProbe must be disabled before fully synced
## Additional settings could be made in non-global section.
##
livenessProbe:
enabled: true
readinessProbe:
enabled: true
## Init image is used to chown data volume, initialise genesis, etc.
##
initImage:
registry: "docker.io"
repository: "bitnami/kubectl"
tag: "1.24"
pullPolicy: IfNotPresent
## Sidecar image is used to perform Liveness/Readiness probes.
##
sidecar:
registry: "europe-west4-docker.pkg.dev"
repository: "stakewiselabs/public/ethnode-sidecar"
tag: "v1.0.6"
pullPolicy: IfNotPresent
bindAddr: "0.0.0.0"
bindPort: 3000
## Geth image version
## ref: https://hub.docker.com/r/ethereum/client-go/tags/
##
image:
registry: "docker.io"
repository: "ethereum/client-go"
tag: "v1.12.0"
pullPolicy: IfNotPresent
## Credentials to fetch images from private registry
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
imagePullSecrets: []
## Provide a name in place of geth for `app:` labels
##
nameOverride: ""
## Provide a name to substitute for the full names of resources
##
fullnameOverride: ""
## Service account
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
##
serviceAccount:
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
## Additional labels for all resources
##
additionalLabels:
client-type: "execution"
## Termination Grace Period
## ref: https://kubernetes.io/docs/tasks/run-application/force-delete-stateful-set-pod/#delete-pods
##
terminationGracePeriodSeconds: 300
## Pod Security Context
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
##
securityContext:
fsGroup: 1001
runAsUser: 1001
## RBAC configuration.
## ref: https://kubernetes.io/docs/reference/access-authn-authz/rbac/
##
rbac:
# The name of the cluster role to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
## Required ClusterRole rules
##
clusterRules:
## Required to obtain the nodes external IP
##
- apiGroups: [""]
resources:
- "nodes"
verbs:
- "get"
- "list"
- "watch"
## Required Role rules
##
rules:
## Required to get information about the serices nodePort.
##
- apiGroups: [""]
resources:
- "services"
verbs:
- "get"
- "list"
- "watch"
# Manually specify TerminalTotalDifficulty, overriding the bundled setting
terminalTotalDifficulty: ""
## AuthRPC configuration.
##
authRpc:
port: "8551"
vhosts: "*"
addr: "0.0.0.0"
## RPC configuration.
##
http:
enabled: true
port: "8545"
api: "web3,eth,net,engine"
corsDomain: ""
vhosts: "*"
## WebSocket configuration.
##
ws:
enabled: true
port: "8546"
api: "web3,eth,net,engine"
origins: "*"
## Extra flags to pass to the node
##
extraFlags:
- "--syncmode=snap"
## Extra annotations for StatefulSet pods
podAnnotations: {}
## Configure pod disruption budgets for Alertmanager
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
## This configuration is immutable once created and will require the PDB to be deleted to be changed
## https://github.com/kubernetes/kubernetes/issues/45398
##
podDisruptionBudget:
enabled: true
maxUnavailable: 1
## Defines whether the service must be headless
##
svcHeadless: true
## Configure session affinity for validator clients to hit the same beacon node
## for the period specified in `timeoutSeconds`
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#proxy-mode-userspace
##
sessionAffinity:
# Whether to enable session affinity or not
enabled: false
# The session duration in seconds
timeoutSeconds: 86400
## When p2pNodePort is enabled, your P2P port will be exposed via service type NodePort.
## This will generate a service for each replica, with a port binding via NodePort.
## This is useful if you want to expose and announce your node to the Internet.
##
p2pNodePort:
## @param p2pNodePort.enabled Expose P2P port via NodePort
##
enabled: false
## @param p2pNodePort.annotations
##
annotations: {}
## @param p2pNodePort.type
## Options: NodePort, LoadBalancer
type: NodePort
## @param p2pNodePort.startAt The ports allocation will start from this value
##
startAt: 31100
## @param p2pNodePort.replicaToNodePort Overwrite a port for specific replicas
## @default -- See `values.yaml` for example
replicaToNodePort: {}
# "0": 32345
# "3": 32348
## Monitoring
##
metrics:
## Prometheus exporter port
##
port: 6060
## Extra flags to pass for collecting metrics
##
flags:
- "--metrics"
- "--pprof"
- "--pprof.addr=0.0.0.0"
- "--pprof.port=6060"
## Prometheus Service Monitor
## ref: https://github.com/coreos/prometheus-operator
## https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
##
serviceMonitor:
## The namespace in which the ServiceMonitor will be created
##
namespace: ""
## The interval at which metrics should be scraped
##
interval: 30s
## The timeout after which the scrape is ended
##
scrapeTimeout: ""
## Metrics RelabelConfigs to apply to samples before scraping.
##
relabellings: []
## Metrics RelabelConfigs to apply to samples before ingestion.
##
metricRelabelings: []
## Specify honorLabels parameter to add the scrape endpoint
##
honorLabels: false
## Additional labels that can be used so ServiceMonitor resource(s) can be discovered by Prometheus
##
additionalLabels: {}
## Custom PrometheusRule to be defined
## ref: https://github.com/coreos/prometheus-operator#customresourcedefinitions
##
prometheusRule:
## Create a default set of Alerts
##
default: true
## The namespace in which the prometheusRule will be created
##
namespace: ""
## Additional labels for the prometheusRule
##
additionalLabels: {}
## Custom Prometheus rules
##
rules: []
## Configure resource requests and limits.
## http://kubernetes.io/docs/user-guide/compute-resources/
##
resources: {}
## If false, data ownership will not be reset at startup
## This allows the geth node to be run with an arbitrary user
##
initChownData: true
## Whether or not to allocate persistent volume disk for the data directory.
## In case of node failure, the node data directory will still persist.
##
persistence:
enabled: true
storageClassName: ""
accessModes:
- ReadWriteOnce
size: 900Gi
annotations: {}
## Node labels for pod assignment
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
## Tolerations for pod assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: {}
## Affinity for pod assignment
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
##
## Example:
## affinity:
## podAntiAffinity:
## requiredDuringSchedulingIgnoredDuringExecution:
## - labelSelector:
## matchExpressions:
## - key: app.kubernetes.io/name
## operator: In
## values:
## - geth
## topologyKey: kubernetes.io/hostname
##
affinity: {}
## used to assign priority to pods
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
##
priorityClassName: ""
## Configure liveness and readiness probes
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
## NB! readinessProbe and livenessProbe must be disabled before fully synced
##
livenessProbe:
initialDelaySeconds: 900
timeoutSeconds: 3
periodSeconds: 30
failureThreshold: 3
successThreshold: 1
httpGet:
path: /eth1/liveness
port: sidecar
scheme: HTTP
readinessProbe:
initialDelaySeconds: 30
timeoutSeconds: 3
periodSeconds: 30
failureThreshold: 30
successThreshold: 1
httpGet:
path: /eth1/readiness
port: sidecar
scheme: HTTP