47 lines
1.2 KiB
YAML
Raw Normal View History

2025-08-13 01:00:20 -05:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: p2pool
namespace: crypto
2025-08-13 08:17:31 -05:00
labels: { app: p2pool }
2025-08-13 01:00:20 -05:00
spec:
replicas: 1
2025-08-13 08:17:31 -05:00
selector:
matchLabels: { app: p2pool }
2025-08-13 01:00:20 -05:00
template:
metadata:
labels: { app: p2pool }
spec:
nodeSelector:
2025-08-13 18:11:03 -05:00
node-role.kubernetes.io/worker: "true"
2025-08-13 01:00:20 -05:00
containers:
- name: p2pool
2025-08-13 08:17:31 -05:00
image: ghcr.io/sethforprivacy/p2pool:latest
command: ["p2pool"]
2025-08-13 01:00:20 -05:00
args:
2025-08-13 09:19:49 -05:00
- "--host"
- "monerod.crypto.svc.cluster.local"
- "--rpc-port"
- "18081"
- "--zmq-port"
- "18083"
- "--stratum"
- "0.0.0.0:3333"
- "--wallet"
- "$(XMR_ADDR)"
2025-08-13 08:17:31 -05:00
# - "--light-mode"
# - "--no-randomx"
# - "--no-cache"
env:
- name: XMR_ADDR
valueFrom:
secretKeyRef:
name: xmr-payout
key: address
2025-08-13 01:00:20 -05:00
ports:
2025-08-13 08:17:31 -05:00
- { name: stratum, containerPort: 3333, protocol: TCP }
readinessProbe:
tcpSocket: { port: 3333 }
initialDelaySeconds: 10
periodSeconds: 10