mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 10:12:19 +00:00
053038446c
* plug forkchoice to blockchain service's block processing * fixed tests * more fixes... * clean ups * fixed test * Update beacon-chain/blockchain/block_processing.go * merged with 2006 and started fixing tests * remove prints * fixed tests * lint * include ops service * if there's a skip slot, slot-- * fixed typo * started working on test * no fork choice in propose * bleh, need to fix state generator first * state gen takes input slot * feedback * fixed tests * preston's feedback * fmt * removed extra logging * add more logs * fixed validator attest * builds * fixed save block * children fix * removed verbose logs * fix fork choice * right logs * Add Prometheus Counter for Reorg (#2051) * fetch every slot (#2052) * test Fixes * lint * only regenerate state if there was a reorg * better logging * fixed seed * better logging * process skip slots in assignment requests * fix lint * disable state root computation * filter attestations in regular sync * log important items * better info logs * added spans to stategen * span in stategen * set validator deadline * randao stuff * disable sig verify * lint * lint * save only using historical states * use new goroutine for handling sync messages * change default buffer sizes * better p2p * rem some useless logs * lint * sync tests complete * complete tests * tests fixed * lint * fix flakey att service * PR feedback * undo k8s changes * Update beacon-chain/blockchain/block_processing.go * Update beacon-chain/sync/regular_sync.go * Add feature flag to enable compute state root * add comment * gazelle lint fix
59 lines
1.5 KiB
YAML
59 lines
1.5 KiB
YAML
kind: Deployment
|
|
apiVersion: apps/v1beta1
|
|
metadata:
|
|
name: validator
|
|
namespace: beacon-chain
|
|
spec:
|
|
replicas: 8
|
|
selector:
|
|
matchLabels:
|
|
component: validator
|
|
template:
|
|
metadata:
|
|
labels:
|
|
component: validator
|
|
spec:
|
|
priorityClassName: production-priority
|
|
containers:
|
|
- name: validator
|
|
image: gcr.io/prysmaticlabs/prysm/validator:latest
|
|
args:
|
|
- --keystore-path=/keystore
|
|
- --password=nopass
|
|
- --datadir=/data
|
|
- --beacon-rpc-provider=beacon-chain:4000
|
|
- --enable-tracing
|
|
- --tracing-endpoint=http://jaeger-collector.istio-system.svc.cluster.local:14268
|
|
- --trace-sample-fraction=1.0
|
|
volumeMounts:
|
|
- name: localdata
|
|
mountPath: /data
|
|
- name: keystore
|
|
mountPath: /keystore
|
|
readOnly: true
|
|
resources:
|
|
requests:
|
|
cpu: "50m"
|
|
memory: "100Mi"
|
|
initContainers:
|
|
- name: init-pk
|
|
image: gcr.io/prysmaticlabs/prysm/cluster-pk-manager/client:latest
|
|
args:
|
|
- --keystore-dir=/keystore
|
|
- --keystore-password=nopass
|
|
- --pod-name=$(POD_NAME)
|
|
- --server=cluster-pk-manager:8000
|
|
volumeMounts:
|
|
- name: keystore
|
|
mountPath: /keystore
|
|
env:
|
|
- name: POD_NAME
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: metadata.name
|
|
volumes:
|
|
- name: keystore
|
|
emptyDir: {}
|
|
- name: localdata
|
|
emptyDir: {}
|