mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-06 01:32:18 +00:00
26fec66da4
* Add basic k8s configuration for geth deployments * set genesis difficulty to 0x0 * gazelle, comments * More comments on priority class and adjust priority class for ethstats * Adjustments to the miner limits * set minimum gas price to 0
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"
|