-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheth-prism-delpoyment.yml
42 lines (42 loc) · 986 Bytes
/
eth-prism-delpoyment.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: prysm-deployment
spec:
replicas: 1
selector:
matchLabels:
app: prysm
template:
metadata:
labels:
app: prysm
spec:
tolerations:
- effect: NoSchedule
operator: Exists
containers:
- name: prysm
image: gcr.io/prysmaticlabs/prysm/beacon-chain:stable
args:
- "--datadir=/data"
- "--execution-endpoint=http://geth-service:8551"
- "--jwt-secret=/jwt/jwt.hex"
- "--accept-terms-of-use"
# - "--goerli"
ports:
- containerPort: 13000
- containerPort: 12000
volumeMounts:
- name: prysm-storage
mountPath: /data
- name: jwt-secret
mountPath: /jwt
readOnly: true
volumes:
- name: prysm-storage
persistentVolumeClaim:
claimName: prysm-pvc
- name: jwt-secret
secret:
secretName: jwt-secret