prysm-pulse/k8s/beacon-chain/beacon-chain.deploy.yaml

81 lines
2.5 KiB
YAML
Raw Normal View History

kind: StatefulSet
apiVersion: apps/v1
2018-08-14 16:16:21 +00:00
metadata:
name: beacon-chain
namespace: beacon-chain
2018-08-14 16:16:21 +00:00
spec:
replicas: 3
serviceName: beacon-chain
2018-08-14 16:16:21 +00:00
selector:
matchLabels:
component: beacon-chain
universe: beacon-chain
template:
metadata:
labels:
component: beacon-chain
universe: beacon-chain
annotations:
prometheus.io/scrape: 'true'
prometheus.io/port: '9090'
2018-08-14 16:16:21 +00:00
spec:
priorityClassName: production-priority
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
component: beacon-chain
topologyKey: kubernetes.io/hostname
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
component: beacon-chain
topologyKey: failure-domain.beta.kubernetes.io/zone
2018-08-14 16:16:21 +00:00
containers:
- name: beacon-chain
Allow 8 Validator Multinode Cluster to Run Indefinitely (#2050) * 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
2019-03-25 15:21:21 +00:00
image: gcr.io/prysmaticlabs/prysm/beacon-chain:latest
2018-08-14 16:16:21 +00:00
args:
- --web3provider=ws://public-rpc-nodes.pow.svc.cluster.local:8546
#- --verbosity=debug
- --deposit-contract=$(DEPOSIT_CONTRACT_ADDRESS)
- --rpc-port=4000
- --monitoring-port=9090
- --bootstrap-node=/dns4/bootnode/tcp/$(BOOTNODE_SERVICE_PORT)/p2p/QmQEe7o6hKJdGdSkJRh7WJzS6xrex5f4w2SPR6oWbJNriw
Allow 8 Validator Multinode Cluster to Run Indefinitely (#2050) * 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
2019-03-25 15:21:21 +00:00
- --relay-node=/ip4/35.224.249.2/tcp/30000/p2p/QmfAgkmjiZNZhr2wFN9TwaRgHouMTBT6HELyzE5A3BT2wK
- --p2p-port=5000
- --enable-tracing
- --tracing-endpoint=http://jaeger-collector.istio-system.svc.cluster.local:14268
- --trace-sample-fraction=1.0
- --datadir=/data
2018-08-14 16:16:21 +00:00
resources:
requests:
memory: "100Mi"
cpu: "50m"
volumeMounts:
- mountPath: /data
name: beacondb
2018-08-14 16:16:21 +00:00
ports:
- containerPort: 4000
name: grpc
- containerPort: 5000
name: p2p
- containerPort: 9090
name: prometheus
env:
- name: DEPOSIT_CONTRACT_ADDRESS
valueFrom:
configMapKeyRef:
name: beacon-config
key: DEPOSIT_CONTRACT_ADDRESS
volumeClaimTemplates:
- metadata:
name: beacondb
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 5Gi