apiVersion: apps/v1 kind: Deployment metadata: name: backend labels: app: graphrag component: backend spec: replicas: 1 selector: matchLabels: app: graphrag component: backend template: metadata: labels: app: graphrag component: backend spec: containers: - name: backend image: graphrag-backend:latest imagePullPolicy: IfNotPresent ports: - containerPort: 8000 protocol: TCP envFrom: - configMapRef: name: graphrag-config - secretRef: name: graphrag-secrets volumeMounts: - name: backend-data mountPath: /app/backend/data - name: mineru-output mountPath: /app/mineru_mvp/output resources: requests: memory: "512Mi" cpu: "250m" limits: memory: "2Gi" cpu: "1000m" livenessProbe: httpGet: path: /api/v1/health port: 8000 initialDelaySeconds: 20 periodSeconds: 30 readinessProbe: httpGet: path: /api/v1/health port: 8000 initialDelaySeconds: 10 periodSeconds: 10 volumes: - name: backend-data persistentVolumeClaim: claimName: backend-data-pvc - name: mineru-output persistentVolumeClaim: claimName: mineru-output-pvc