-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheth-deployment.yml
50 lines (49 loc) · 1.1 KB
/
eth-deployment.yml
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: geth-deployment
spec:
replicas: 1
selector:
matchLabels:
app: geth
template:
metadata:
labels:
app: geth
spec:
tolerations:
- effect: NoSchedule
operator: Exists
containers:
- name: geth
image: ethereum/client-go:latest
args:
- "--datadir=/data"
- "--sepolia"
- "--syncmode=full"
- "--http"
- "--http.addr=0.0.0.0"
- "--http.port=8545"
- "--http.api=eth,net,engine,admin"
- "--authrpc.addr=0.0.0.0"
- "--authrpc.port=8551"
- "--authrpc.vhosts=*"
- "--authrpc.jwtsecret=/jwt/jwt.hex"
ports:
- containerPort: 8545
- containerPort: 8551
volumeMounts:
- name: geth-storage
mountPath: /data
- name: jwt-secret
mountPath: /jwt
readOnly: true
volumes:
- name: geth-storage
persistentVolumeClaim:
claimName: geth-pvc
- name: jwt-secret
secret:
secretName: jwt-secret
---