apiVersion: v1 kind: PersistentVolumeClaim metadata: name: whatsapp-auth-pvc namespace: ai-agents spec: accessModes: - ReadWriteOnce resources: requests: storage: 1Gi storageClassName: longhorn --- apiVersion: apps/v1 kind: Deployment metadata: name: whatsapp-gateway namespace: ai-agents labels: app: whatsapp-gateway spec: replicas: 1 selector: matchLabels: app: whatsapp-gateway template: metadata: labels: app: whatsapp-gateway spec: serviceAccountName: default containers: - name: whatsapp-gateway image: 192.168.8.250:5000/agentic-os/whatsapp-gateway:latest volumeMounts: - name: dshm mountPath: /dev/shm - name: auth-session mountPath: /app/.wwebjs_auth ports: - containerPort: 5001 resources: requests: cpu: 300m memory: 768Mi limits: cpu: "2" memory: 2Gi volumes: - name: dshm emptyDir: medium: Memory sizeLimit: 1Gi - name: auth-session persistentVolumeClaim: claimName: whatsapp-auth-pvc --- apiVersion: v1 kind: Service metadata: name: whatsapp-gateway namespace: ai-agents spec: ports: - port: 5001 targetPort: 5001 selector: app: whatsapp-gateway