Import project files

This commit is contained in:
2026-01-07 17:18:26 +08:00
parent 7d9fff2c34
commit 0b07e63b76
66 changed files with 11497 additions and 0 deletions

51
k8s/deployment.yaml Normal file
View File

@@ -0,0 +1,51 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: funmd-convert
namespace: default
labels:
app: funmd-convert
spec:
replicas: 1
selector:
matchLabels:
app: funmd-convert
template:
metadata:
labels:
app: funmd-convert
spec:
containers:
- name: funmd-convert
image: funmd-convert:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8000
env:
- name: MINIO_ENDPOINT
value: "minio-service:9000"
- name: MINIO_ACCESS_KEY
value: "minioadmin"
- name: MINIO_SECRET_KEY
value: "minioadmin"
- name: MINIO_BUCKET
value: "funmd"
resources:
limits:
cpu: "1000m"
memory: "1Gi"
requests:
cpu: "200m"
memory: "256Mi"
livenessProbe:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 5
periodSeconds: 5