apiVersion: apps/v1 kind: Deployment metadata: name: xiaohongshu-mcp namespace: xiaohongshu-mcp labels: app: xiaohongshu-mcp spec: replicas: 1 selector: matchLabels: app: xiaohongshu-mcp template: metadata: labels: app: xiaohongshu-mcp spec: containers: - name: xiaohongshu-mcp image: xpzouying/xiaohongshu-mcp:latest imagePullPolicy: Always ports: - containerPort: 18060 protocol: TCP env: - name: ROD_BROWSER_BIN value: "/usr/bin/google-chrome" - name: COOKIES_PATH value: "/app/data/cookies.json" - name: TZ value: "Asia/Shanghai" resources: requests: cpu: 200m memory: 512Mi limits: cpu: "1" memory: 2Gi volumeMounts: - name: data mountPath: /app/data - name: images mountPath: /app/images - name: dshm mountPath: /dev/shm livenessProbe: httpGet: path: /health port: 18060 initialDelaySeconds: 30 periodSeconds: 30 timeoutSeconds: 5 readinessProbe: httpGet: path: /health port: 18060 initialDelaySeconds: 10 periodSeconds: 10 timeoutSeconds: 5 volumes: - name: data persistentVolumeClaim: claimName: xiaohongshu-mcp-data - name: images persistentVolumeClaim: claimName: xiaohongshu-mcp-images - name: dshm emptyDir: medium: Memory sizeLimit: 256Mi