mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-05 17:22:18 +00:00
740a9b76a7
* Add nginx ingress for proof-of-work namespace * connect beacon-chain to pow namespace geth-nodes for websocket connections * Added relay to beacon-chain * Route inbound TCP traffic on port 20000 to beacon-relay * Add bootnode * Add a basic pk * checkpoint * Added flag for p2p port * Register flag with main * Set P2P port specifically * Add beacon chain config * add deployvrc job * Add deployvrc service account * review * gazelle * a cluster is needed, i guess
99 lines
2.3 KiB
YAML
99 lines
2.3 KiB
YAML
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: geth-bootnode-v4
|
|
namespace: pow
|
|
spec:
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
component: bootnode-v4
|
|
universe: geth
|
|
spec:
|
|
priorityClassName: production-priority
|
|
containers:
|
|
- name: bootnode
|
|
image: ethereum/client-go:alltools-stable
|
|
ports:
|
|
- containerPort: 8545
|
|
name: rpc
|
|
- containerPort: 30303
|
|
name: discovery-tcp
|
|
protocol: TCP
|
|
- containerPort: 30303
|
|
name: discovery-udp
|
|
protocol: UDP
|
|
- containerPort: 30301
|
|
name: bootnode-udp
|
|
protocol: UDP
|
|
command: ["bootnode"]
|
|
args:
|
|
- "--nodekey=/data/private_key"
|
|
- "--verbosity=4"
|
|
volumeMounts:
|
|
- name: secrets
|
|
mountPath: "/data/"
|
|
readOnly: true
|
|
resources:
|
|
requests:
|
|
memory: "25Mi"
|
|
cpu: "25m"
|
|
limits:
|
|
memory: "100Mi"
|
|
cpu: "150m"
|
|
volumes:
|
|
- name: secrets
|
|
secret:
|
|
secretName: geth-bootnode-secret
|
|
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: geth-bootnode-v5
|
|
namespace: pow
|
|
spec:
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
component: bootnode-v5
|
|
universe: geth
|
|
spec:
|
|
priorityClassName: production-priority
|
|
containers:
|
|
- name: bootnode
|
|
image: ethereum/client-go:alltools-stable
|
|
ports:
|
|
- containerPort: 8545
|
|
name: rpc
|
|
- containerPort: 30303
|
|
name: discovery-tcp
|
|
protocol: TCP
|
|
- containerPort: 30303
|
|
name: discovery-udp
|
|
protocol: UDP
|
|
- containerPort: 30301
|
|
name: bootnode-udp
|
|
protocol: UDP
|
|
command: ["bootnode"]
|
|
args:
|
|
- "--nodekey=/data/private_key"
|
|
- "--verbosity=4"
|
|
- "--v5"
|
|
volumeMounts:
|
|
- name: secrets
|
|
mountPath: "/data/"
|
|
readOnly: true
|
|
resources:
|
|
requests:
|
|
memory: "25Mi"
|
|
cpu: "25m"
|
|
limits:
|
|
memory: "100Mi"
|
|
cpu: "150m"
|
|
volumes:
|
|
- name: secrets
|
|
secret:
|
|
secretName: geth-bootnode-secret
|