Repository navigation
Expand file tree
/
Copy pathvalues.yaml
More file actions
291 lines (248 loc) · 9.12 KB
/
Copy pathvalues.yaml
File metadata and controls
291 lines (248 loc) · 9.12 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
# Default values for charon relay.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# -- The number of nodes in the relay cluster
clusterSize: 3
# -- Charon image ropsitory, pull policy, and tag version
image:
repository: obolnetwork/charon
pullPolicy: IfNotPresent
tag: v1.11.3
# -- Credentials to fetch images from private registry
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
# -- Init container image
initContainerImage: "alpine/kubectl:1.35.2"
# -- Provide a name in place of lighthouse for `app:` labels
nameOverride: ""
# -- Provide a name to substitute for the full names of resources
fullnameOverride: ""
# -- Pod annotations
podAnnotations: {}
# -- Service account
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
serviceAccount:
# -- Specifies whether a service account should be created
enabled: true
# -- 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 default template
name: ""
# -- The security context for pods
# @default -- See `values.yaml`
securityContext: {}
# runAsUser: 10001
# fsGroup: 10001
# runAsGroup: 10001
# runAsNonRoot: true
# -- The security context for containers
# @default -- See `values.yaml`
containerSecurityContext:
runAsUser: 0
# runAsNonRoot: true
# readOnlyRootFilesystem: true
# capabilities:
# drop:
# - ALL
# -- RBAC configuration.
## ref: https://kubernetes.io/docs/reference/access-authn-authz/rbac/
rbac:
# -- Specifies whether RBAC resources are to be created
enabled: true
# -- 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"
# -- Charon service ports
service:
type: LoadBalancer
# -- Annotations for UDP LoadBalancer services (created when config.p2pUdpAddress is set)
udpAnnotations: {}
ports:
http:
name: relay-http
port: 3640
protocol: TCP
targetPort: 3640
p2pTcp:
name: p2p-tcp
port: 3610
protocol: TCP
targetPort: 3610
monitoring:
name: monitoring
port: 3620
protocol: TCP
targetPort: 3620
# -- Pod resources limits and requests
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
# -- 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:
## - charon
## topologyKey: kubernetes.io/hostname
##
affinity: {}
# -- Used to assign priority to pods
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
priorityClassName: ""
# -- Enable pod disruption budget
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
podDisruptionBudget:
minAvailable: 0
maxUnavailable: 1
enabled: true
# -- Allows you to configure and disable automated rolling updates for containers, labels, resource request/limits, and annotations for the Pods in a StatefulSet.
updateStrategy: RollingUpdate
# -- Persistent volume storage class (default "standard")
storageClassName: standard
## Charon command line options
## ref: https://docs.obol.tech/docs/charon/charon_cli_reference
config:
# -- Automatically create a p2pkey (secp256k1 private key used for p2p authentication and ENR) if none found in data directory. (default true)
autoP2pKey: "true"
# -- Listening address (ip and port) for the relay http server serving runtime ENR. (default "127.0.0.1:3640")
httpAddress: "0.0.0.0:3640"
# -- Log format; console, logfmt or json (default "console")
logFormat: "json"
# -- Log level; debug, info, warn or error (default "info")
logLevel: "debug"
# -- Enables sending of logfmt structured logs to these Loki log aggregation server addresses. This is in addition to normal stderr logs.
lokiAddresses: ""
# -- Service label sent with logs to Loki.
lokiService: ""
# -- Use an existing Kubernetes Secret for the Loki URL instead of plain lokiAddresses value
loki:
existingSecret:
# -- Name of the existing secret containing the Loki URL
name: ""
# -- Key in the secret containing the Loki URL
key: "url"
# -- Listening address (ip and port) for the monitoring API (prometheus, pprof). (default "127.0.0.1:3620")
monitoringAddress: "0.0.0.0:3620"
# -- Comma-separated list of CIDR subnets for allowing only certain peer connections. Example: 192.168.0.0/16 would permit connections to peers on your local network only. The default is to accept all connections.
p2pAllowlist: ""
# -- Comma-separated list of CIDR subnets for disallowing certain peer connections. Example: 192.168.0.0/16 would disallow connections to peers on your local network. The default is to accept all connections.
p2pDenylist: ""
# -- Disables TCP port reuse for outgoing libp2p connections.
p2pDisableReuseport: ""
# -- Libp2p maximum number of peers that can connect to this relay. (default 16384)
p2pMaxConnections: "16384"
# -- Updates max circuit reservations per peer (each valid for 30min) (default 512)
p2pMaxReservatoins: "512"
# Libp2p circuit relay log level. E.g., debug, info, warn, error.
p2pRelayLogLevel: "debug"
# -- Comma-separated list of libp2p relay URLs or multiaddrs. (default [https://0.relay.obol.tech/enr])
p2pRelays: ""
# -- Comma-separated list of listening TCP addresses (ip and port) for libP2P traffic. Empty default doesn't bind to local port therefore only supports outgoing connections.
p2pTcpAddress: "0.0.0.0:3610"
# -- Listening UDP address (ip and port) for QUIC libP2P traffic. When set, enables QUIC transport and the relay advertises a /udp/<port>/quic-v1 multiaddr. Requires a separate UDP LoadBalancer service exposing this port.
p2pUdpAddress: ""
# -- Prometheus Service Monitor
## ref: https://github.com/coreos/prometheus-operator
serviceMonitor:
# -- If true, a ServiceMonitor CRD is created for a prometheus operator. https://github.com/coreos/prometheus-operator
enabled: false
# -- Path to scrape
path: /metrics
# -- Alternative namespace for ServiceMonitor
namespace: ""
# -- Additional ServiceMonitor labels
labels: {}
# -- Additional ServiceMonitor annotations
annotations: {}
# -- ServiceMonitor scrape interval
interval: 1m
# -- ServiceMonitor scheme
scheme: http
# -- ServiceMonitor TLS configuration
tlsConfig: {}
# -- ServiceMonitor scrape timeout
scrapeTimeout: 30s
# -- ServiceMonitor relabelings
relabelings: []
# -- Configure liveness probes
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
livenessProbe:
enabled: true
initialDelaySeconds: 10
periodSeconds: 5
httpGet:
path: /livez
# -- Configure readiness probes
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
readinessProbe:
enabled: true
initialDelaySeconds: 5
periodSeconds: 3
httpGet:
path: /readyz
# -- Central Monitoring
centralMonitoring:
# -- Specifies whether central monitoring should be enabled
enabled: false
# -- https endpoint to obol central prometheus
promEndpoint: "https://vm.monitoring.gcp.obol.tech/write"
# -- The authentication token to the central prometheus (ignored if existingSecret is set)
token: ""
# -- Use an existing Kubernetes Secret for the monitoring token instead of a plain value
existingSecret:
# -- Name of the existing secret
name: ""
# -- Key in the secret containing the token
key: "token"
# -- Prometheus image (used in agent mode for scraping and remote write)
image: "prom/prometheus:v2.55.1"
httpRoute:
enabled: false
annotations: {}
parentRefs: []
hostnames: []
backendRef:
name: haproxy
port: 80
matches: []
filters: []