prysm-pulse/k8s/geth/ethstats.deploy.yaml
Preston Van Loon 740a9b76a7
Kubernetes - Part 3 of ?? (#981)
* Add nginx ingress for proof-of-work namespace

* connect beacon-chain to pow namespace geth-nodes for websocket connections

* Added relay to beacon-chain

* Route inbound TCP traffic on port 20000 to beacon-relay

* Add bootnode

* Add a basic pk

* checkpoint

* Added flag for p2p port

* Register flag with main

* Set P2P port specifically

* Add beacon chain config

* add deployvrc job

* Add deployvrc service account

* review

* gazelle

* a cluster is needed, i guess
2018-11-28 00:27:21 -05:00

40 lines
894 B
YAML

kind: Deployment
apiVersion: apps/v1beta1
metadata:
name: geth-ethstats
namespace: pow
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"