init datamate

This commit is contained in:
Dallas98
2025-10-21 23:00:48 +08:00
commit 1c97afed7d
692 changed files with 135442 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: mineru
labels:
app: mineru
spec:
replicas: 1
selector:
matchLabels:
app: mineru
template:
metadata:
labels:
app: mineru
spec:
containers:
- name: mineru
image: mineru
imagePullPolicy: IfNotPresent
command:
- mineru-api
args:
- --host
- "0.0.0.0"
- --port
- "8000"
ports:
- containerPort: 8000
volumeMounts:
- name: tmp
mountPath: /tmp/data-mate
volumes:
- name: tmp
hostPath:
path: /tmp/data-mate
---
apiVersion: v1
kind: Service
metadata:
name: mineru
labels:
app: mineru
spec:
type: ClusterIP
ports:
- port: 8000
targetPort: 8000
protocol: TCP
selector:
app: mineru