-
Notifications
You must be signed in to change notification settings - Fork 66
/
README.md.gotmpl
57 lines (36 loc) · 1.42 KB
/
README.md.gotmpl
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
{{ template "chart.header" . }}
{{ template "chart.deprecationWarning" . }}
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}
{{ template "chart.description" . }}
{{ template "chart.homepageLine" . }}
{{ template "chart.sourcesSection" . }}
{{ template "chart.requirementsSection" . }}
{{ template "chart.valuesSection" . }}
# Examples
## Beacon node on the Holesky testnet connected to Holesky via Infura
```yaml
mode: "beacon"
extraArgs:
- --network=holesky
- --execution-endpoint=<EXECUTION-ENDPOINT>
```
## Exposing the P2P service via NodePort
This will make your node accessible via the Internet using a service of type [NodePort](https://kubernetes.io/docs/concepts/services-networking/service/#nodeport).
When using `p2pNodePort.enabled` the exposed IP address on your ENR record will be the "External IP" of the node where the pod is running.
**Limitations:** You can only run a single replica per chart deployment when using `p2pNodePort.enabled=true`.If you need N nodes, simply deploy the chart N times.
```yaml
replicas: 1
p2pNodePort:
enabled: true
port: 31000
```
## Validator node targeting a beacon node service
This example runs a validator on the holesky network that targets a pre-existing `lighthouse-beacon` service:
```yaml
replicas: 1
mode: validator
extraArgs:
- --network=holesky
- --enable-doppelganger-protection
- --beacon-nodes=http://lighthouse-beacon:5052
```