This commit is contained in:
HDW
2026-07-26 11:41:25 +02:00
parent 291bcc89d2
commit 8a16a5a26b
7 changed files with 156 additions and 2 deletions

View File

@@ -0,0 +1,36 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: xmrig-monero-solo
namespace: miner
spec:
replicas: 1
selector:
matchLabels:
app: xmrig-monero-solo
template:
metadata:
labels:
app: xmrig-monero-solo
spec:
priorityClassName: low-priority
containers:
- name: xmrig
image: xmrig/xmrig:latest
args:
- "--daemon"
- "-o"
- "monerod.miner.svc.cluster.local:18081"
- "-u"
- "47FPaP3LjaD5Ud3orF1VcNjW5HrJwxPiUVXJXWgTf6t8C6xyMnVVZ9HFSMwDS4sPLc2RmxEKv95v2CBQFzmHkDwNULhC3r5"
- "-p"
- "k8s-solo-lottery"
- "--daemon-poll-interval=1000"
- "--randomx-mode=light"
resources:
requests:
cpu: "500m"
memory: "384Mi"
limits:
cpu: "1"
memory: "512Mi"