-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathvalues.yaml
More file actions
302 lines (255 loc) · 7.09 KB
/
values.yaml
File metadata and controls
302 lines (255 loc) · 7.09 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
# set the log level for the node
logLevel: "warn"
# override the fullname
fullnameOverride: null
nameOverride: null
# provider 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
# use lavavisor or control versions directly with docker images
# defaults true to use lavavisor
lavavisor: false
# 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
# REQUIRED: the chain ids for the chains the node will serve
## example
# supportedChainIds: ["ETH1", "COS3"]
supportedChainIds: null
# 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
# example:
# ingress:
# enabled: true
# tls:
# - secretName: lava-provider-tls
# hosts:
# - lava-provider.example.com
# rules:
# - host: lava-provider.example.com
# http:
# paths:
# - path: /
# backend:
# serviceName: lava-provider
# servicePort: 5000
# annotations: {}
ingress:
enabled: true
className: "nginx"
tls: []
rules: []
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
# config for the node
## example
# configYaml: |
# endpoints:
# - api-interface: tendermintrpc
# chain-id: LAV1
# network-address:
# address: 0.0.0.0:2224
# disable-tls: true
# node-urls:
# - url: ws://0.0.0.0:26657/websocket
# - url: http://0.0.0.0:26657
# - api-interface: grpc
# chain-id: LAV1
# network-address:
# address: 0.0.0.0:2224
# disable-tls: true
# node-urls:
# url: 0.0.0.0:9090
# - api-interface: rest
# chain-id: LAV1
# network-address:
# address: 0.0.0.0:2224
# disable-tls: true
# node-urls:
# url: http://0.0.0.0:1317
# note: This will create a new configMap.
# If you want to use an existing configMap, or secret use `extraSecretMounts` or `extraConfigMounts`
# and set `configFilePath`
configYaml: null
# the path to the config file
# If you are using `extraConfigMounts` or `extraSecretMounts`, provide the path to the config file
## example:
# configFilePath: /data/node-config.toml
configFilePath: 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-provider
pullPolicy: Always
tag: latest
# port to expose the node on
port:
name: default
number: 2024
protocol: TCP
# metrics port to expose the node on
metrics:
port: 2025
# set service account name
serviceAccountName: null
# service settings
service:
enabled: true
name: null
type: ClusterIP
annotations: {}
# override .Values.port with these values
ports: null
# 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: ""
emptyDir:
## emptyDir volume size limit
sizeLimit: ""
# resource limits for the node
resources:
requests:
cpu: "250m"
memory: 250Mi
limits:
memory: "2Gi"
# override the start command to start the provider
command: null
# enable default readiness, using `endpoint` and `supportedChainIds`
defaultReadinessProbe:
enabled: true
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 10
# enable default readiness, using `endpoint` and `supportedChainIds`
defaultLivenessProbe:
enabled: true
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
# option to add sidecar containers
sidecars: []
imagePullSecrets: []
nodeSelector: {}
tolerations: []
affinity: {}
podAnnotations: {}
podSecurityContext: {}
securityContext: {}