一些更新
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user