mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 03:01:19 +00:00
39 lines
877 B
YAML
39 lines
877 B
YAML
|
kind: Deployment
|
||
|
apiVersion: apps/v1beta1
|
||
|
metadata:
|
||
|
name: geth-ethstats
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
component: ethstats
|
||
|
universe: geth
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
component: ethstats
|
||
|
universe: geth
|
||
|
spec:
|
||
|
priorityClassName: production-priority
|
||
|
containers:
|
||
|
- name: ethstats
|
||
|
image: ethereumex/eth-netstats:latest
|
||
|
command: ["npm"]
|
||
|
args: ["start"]
|
||
|
ports:
|
||
|
- containerPort: 3000
|
||
|
name: web
|
||
|
env:
|
||
|
- name: WS_SECRET
|
||
|
valueFrom:
|
||
|
secretKeyRef:
|
||
|
name: ethstats-secrets
|
||
|
key: ws
|
||
|
resources:
|
||
|
requests:
|
||
|
memory: "100Mi"
|
||
|
cpu: "50m"
|
||
|
limits:
|
||
|
memory: "250Mi"
|
||
|
cpu: "100m"
|