-
Notifications
You must be signed in to change notification settings - Fork 4
/
values.yaml
342 lines (288 loc) · 7.42 KB
/
values.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
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
# set the log level for the node
logLevel: "warn"
# Replica count, default to 3
replicaCount: 3
# HPA settings
hpa:
enabled: false
minReplicas: 3
maxReplicas: 100
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 90
# override the fullname
fullnameOverride: null
nameOverride: null
# consumer node moniker, will default to the fullname
moniker: null
# chain id of lava
chainId: "lava-testnet-2"
# REQUIRED: The url for a lava RPC node
## example
# rpcNodeUrl: "https://public-rpc-testnet2.lavanet.xyz:443"
rpcNodeUrl: null
# Cache backend for consumer
cache:
enabled: false
backend: ""
# information about the private key to use for the node
key:
# will default to the moniker
name: ""
# REQUIRED: the kubernetes secret name containing the private key
secretName: null
# REQUIRED: the key in the kubernetes secret to use
secretKey: null
# REQUIRED: the kubernetes secret that contains the password for the private key
passwordSecretName: null
# REQUIRED: the key in the kubernetes secret that contains the password for the private key
passwordSecretKey: null
# Metrics information
metrics:
enabled: true
port: 9090
# option to add sidecar containers
sidecars: []
# the chains and interfaces your consumer will support
## example
# endpoints:
# - chain-id: COS5
# api-interface: rest
# url: cos5-rest-consumer1.example.com
# - chain-id: COS5
# api-interface: tendermintrpc
# - chain-id: COS5
# api-interface: grpc
endpoints: []
# use lavavisor or control versions directly with docker images
lavavisor: true
refererBeAddress: null
# CORS settings
cors:
enabled: true
origins: ["*"]
methods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"]
headers: ["*"]
allowCredentials: true
maxAge: 86400
# Define the strategy
strategy: distributed
# Set your geolocation
## Geolocation codes
# USC = 1; // US-Center
# EU = 2; // Europe
# USE = 4; // US-East
# USW = 8; // US-West
# AF = 16; // Africa
# AS = 32; // Asia
# AU = 64; // (Australia, includes NZ)
# GL = 65535; // Global
geolocation: "1"
### setup ingress for the node
## custom example:
# ingress:
# enabled: true
# custom:
# enabled: true
# tls:
# - secretName: lava-consumer-tls
# hosts:
# - lava-consumer.example.com
# rules:
# - host: lava-consumer.example.com
# http:
# paths:
# - path: /
# backend:
# serviceName: lava-consumer
# servicePort: 5000
# annotations: {}
#
## simple example:
# ingress:
# enabled: true
# simple:
# enabled: true
# baseHost: lava-consumer.example.com
# tlsSecretName: lava-consumer-tls
# annotations: {}
ingress:
enabled: false
simple:
enabled: false
baseHost: null
tlsSecretName: null
custom:
enabled: false
tls: []
rules: []
className: "nginx"
http:
enabled: false
annotations: {}
grpc:
enabled: false
annotations:
nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
# use a custom configYaml for the node
## example
# configYaml: |
# endpoints:
# - chain-id: COS5
# api-interface: rest
# network-address: 0.0.0.0:30016
# - chain-id: COS5
# api-interface: tendermintrpc
# network-address: 0.0.0.0:30015
# - chain-id: COS5
# api-interface: grpc
# network-address: 0.0.0.0:30028
# note: This will create a new configMap.
configYaml: null
# add custom environment variables to the node using secret of configs
envFrom: []
# add custom environment variables to the node
env: []
# image to deploy
image:
repository: us-central1-docker.pkg.dev/lavanet-public/images/lava-consumer
pullPolicy: Always
tag: latest
# set service account name
serviceAccountName: null
# enable ports
ports:
enabled: true
# service settings
service:
enabled: true
name: null
type: ClusterIP
annotations: {}
# if not set we will create ports for the service using endpoints
customPorts: null
# create extra volumes
extraVolumes: []
# mount extra volumes
extraVolumeMounts: []
# mount secrets as files, useful for mounting key file
extraSecretMounts:
[]
# - name: node-private-key
# mountPath: /data
# subPath: /keychain/node-private-key
# secretName: node-private-key
# readOnly: true
# mount config as files, useful for mounting the config file
extraConfigMounts:
[]
# - name: node-config
# mountPath: /data
# subPath: /data/node-config.toml
# configName: node-config
# readOnly: true
# setup pvc for the node
persistentVolume:
## If true, will create/use a Persistent Volume Claim
## If false, use emptyDir
enabled: true
## Must match those of existing PV or dynamic provisioner
## Ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
accessModes:
- ReadWriteOnce
## Persistent Volume labels
labels: {}
## Persistent Volume annotations
annotations: {}
## Persistent Volume existing claim name
## Requires persistentVolume.enabled: true
## If defined, PVC must be created manually before volume will be bound
existingClaim: ""
## server data Persistent Volume mount root path
mountPath: /data
## data Persistent Volume size
size: 10Gi
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
storageClass: null
## Subdirectory of data Persistent Volume to mount
## Useful if the volume's root directory is not empty
subPath: ""
## Persistent Volume Claim Selector
## Useful if Persistent Volumes have been provisioned in advance
## Ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#selector
selector: null
## ex:
# selector:
# matchLabels:
# release: "stable"
# matchExpressions:
# - { key: environment, operator: In, values: [ dev ] }
## Persistent Volume Name
## Useful if Persistent Volumes have been provisioned in advance and you want to use a specific one
##
volumeName: null
# volumeName: ""
volumeBindingMode: null
emptyDir:
## emptyDir volume size limit
sizeLimit: ""
# resource limits for the node
resources:
requests:
cpu: "5000m"
memory: 12Gi
limits:
memory: "16Gi"
# override the start command to start the consumer
command: null
# enable default readiness
defaultReadinessProbe:
enabled: false
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 10
# enable default readiness
defaultLivenessProbe:
enabled: false
initialDelaySeconds: 60
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 20
# use a custom readiness probe
customReadinessProbe:
enabled: false
# httpGet:
# path: /health
# port: 5000
# initialDelaySeconds: 30
# periodSeconds: 10
# timeoutSeconds: 5
# successThreshold: 1
# failureThreshold: 3
# use a custom liveness probe
customLivenessProbe:
enabled: false
# httpGet:
# path: /health
# port: 5000
# initialDelaySeconds: 30
# periodSeconds: 10
# timeoutSeconds: 5
# successThreshold: 1
# failureThreshold: 3
imagePullSecrets: []
nodeSelector: {}
tolerations: []
affinity: {}
podAnnotations: {}
podSecurityContext: {}
securityContext: {}