mirror of
https://github.com/vacp2p/status-benchmarks.git
synced 2026-01-09 15:37:54 -05:00
35 lines
804 B
YAML
35 lines
804 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: anvil
|
|
namespace: status-go-test
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: anvil
|
|
serviceName: "anvil"
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: anvil
|
|
spec:
|
|
containers:
|
|
- name: anvil
|
|
image: ghcr.io/foundry-rs/foundry:latest
|
|
command: ["anvil", "--host", "0.0.0.0", "--block-time", "2"]
|
|
ports:
|
|
- containerPort: 8545
|
|
livenessProbe:
|
|
tcpSocket:
|
|
port: 8545
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 20
|
|
failureThreshold: 3
|
|
timeoutSeconds: 5
|
|
envFrom:
|
|
- configMapRef:
|
|
name: snt-config
|
|
- secretRef:
|
|
name: snt-secrets |