一些更新

This commit is contained in:
Sense T
2026-05-10 02:02:43 +00:00
parent 664d254f80
commit 89e615bd92
56 changed files with 2579 additions and 50 deletions
+31
View File
@@ -0,0 +1,31 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: xianyu-auto-reply
spec:
selector:
matchLabels:
app: xianyu-auto-reply
template:
metadata:
labels:
app: xianyu-auto-reply
spec:
volumes:
- name: data
hostPath:
path: /data/xianyu-auto-reply
containers:
- name: xianyu-auto-reply
image: registry.cn-shanghai.aliyuncs.com/zhinian-software/xianyu-auto-reply:latest
imagePullPolicy: Always
volumeMounts:
- mountPath: /app/data
name: data
resources:
requests:
memory: "128Mi"
cpu: "500m"
limits:
memory: "1Gi"
cpu: "2"
+5
View File
@@ -0,0 +1,5 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
resources:
- deploy.yaml
- services.yaml
+10
View File
@@ -0,0 +1,10 @@
apiVersion: v1
kind: Service
metadata:
name: xianyu-auto-reply
spec:
selector:
app: xianyu-auto-reply
ports:
- port: 8080
targetPort: 8080