mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 10:12:19 +00:00
7565fbe3b8
* Update dependency com_github_spf13_cobra to v0.0.3 * Update dependency com_github_allegro_bigcache to v1 * Update dependency com_github_hashicorp_go_multierror to v1 * Update dependency com_github_x_cray_logrus_prefixed_formatter to v0.5.2 * Update dependency com_github_fd_go_nat to v1 * Update dependency com_github_matttproud_golang_protobuf_extensions to v1 * Update dependency com_github_grpc_ecosystem_go_grpc_middleware to v1 * Update com_github_atlassian_bazel_tools commit hash to 986ed8f * Update dependency bazel_skylib to v0.8.0 * Update dependency com_google_cloud_go to v0.37.1 * Update dependency io_opencensus_go to v0.19.2 * Update libp2p * Update dependency com_github_go_yaml_yaml to v2 * Update dependency com_github_golang_mock to v1 * Update dependency com_github_google_uuid to v1 * Update dependency com_github_gorilla_websocket to v1 * Update dependency com_github_huin_goupnp to v1 * add thirft
59 lines
1.6 KiB
YAML
59 lines
1.6 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@sha256:ead770ad1ea44eed836d97bdf11f7ff2875b69ced13f9206671679acc61f8917
|
|
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: {}
|