prysm-pulse/k8s/beacon-chain/validator.deploy.yaml
Preston Van Loon 5eb5f6afa9
Faucet enhancements + cluster private key management system (#1679)
* second pass at faucet, no rate limiting yet

* Add authentication support, step 1. This stuff needs to be refactored and tested

* move deposit input to keystore pkg, add proof of possession and withdrawal addr

* checkpoint on progress with cluster private key manager

* checkpoint w/ bootnode config

* checkpoint

* resolve todo

* encrypt the secrets

* add note about querying testnet

* workspace

* checkpoitn

* remove limits

* update

* checkpoint

* checkpoint

* remove jwt stuff

* fix build

* lint

* lint

* remove init

* remove jwt

* update

* checkpoint
2019-03-07 11:14:57 -05:00

60 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
- --demo-config
- --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: {}