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"