|
|
|
|
|
|
|
|
|
|
| global:
|
| imageRegistry: ""
|
| imagePullSecrets: []
|
| storageClass: ""
|
| namespace: mnemocore
|
|
|
|
|
| mnemocore:
|
|
|
| replicaCount: 2
|
|
|
|
|
| image:
|
| repository: mnemocore
|
| tag: "latest"
|
| pullPolicy: IfNotPresent
|
|
|
|
|
| ports:
|
| api: 8100
|
| metrics: 9090
|
|
|
|
|
| resources:
|
| limits:
|
| cpu: "2"
|
| memory: "2Gi"
|
| requests:
|
| cpu: "500m"
|
| memory: "512Mi"
|
|
|
|
|
| probes:
|
| liveness:
|
| enabled: true
|
| initialDelaySeconds: 40
|
| periodSeconds: 30
|
| timeoutSeconds: 10
|
| failureThreshold: 3
|
| successThreshold: 1
|
| readiness:
|
| enabled: true
|
| initialDelaySeconds: 20
|
| periodSeconds: 10
|
| timeoutSeconds: 5
|
| failureThreshold: 3
|
| successThreshold: 1
|
| startup:
|
| enabled: true
|
| initialDelaySeconds: 10
|
| periodSeconds: 10
|
| timeoutSeconds: 5
|
| failureThreshold: 30
|
| successThreshold: 1
|
|
|
|
|
| config:
|
| version: "3.0"
|
| dimensionality: 16384
|
| encoding:
|
| mode: "binary"
|
| token_method: "bundle"
|
| tiers:
|
| hot:
|
| max_memories: 2000
|
| ltp_threshold_min: 0.7
|
| eviction_policy: "lru"
|
| warm:
|
| max_memories: 100000
|
| ltp_threshold_min: 0.3
|
| consolidation_interval_hours: 1
|
| storage_backend: "mmap"
|
| cold:
|
| storage_backend: "filesystem"
|
| compression: "gzip"
|
| archive_threshold_days: 30
|
| ltp:
|
| initial_importance: 0.5
|
| decay_lambda: 0.01
|
| permanence_threshold: 0.95
|
| half_life_days: 30.0
|
| hysteresis:
|
| promote_delta: 0.15
|
| demote_delta: 0.10
|
| gpu:
|
| enabled: false
|
| device: "cuda:0"
|
| batch_size: 1000
|
| fallback_to_cpu: true
|
| observability:
|
| metrics_port: 9090
|
| log_level: "INFO"
|
| structured_logging: true
|
| paths:
|
| data_dir: "/app/data"
|
| memory_file: "/app/data/memory.jsonl"
|
| codebook_file: "/app/data/codebook.json"
|
| concepts_file: "/app/data/concepts.json"
|
| synapses_file: "/app/data/synapses.json"
|
| warm_mmap_dir: "/app/data/warm_tier"
|
| cold_archive_dir: "/app/data/cold_archive"
|
| mcp:
|
| enabled: false
|
| transport: "stdio"
|
| host: "127.0.0.1"
|
| port: 8110
|
| api_base_url: "http://localhost:8100"
|
| timeout_seconds: 15
|
| allow_tools:
|
| - "memory_store"
|
| - "memory_query"
|
| - "memory_get"
|
| - "memory_delete"
|
| - "memory_stats"
|
| - "memory_health"
|
|
|
|
|
| env:
|
| logLevel: "INFO"
|
| host: "0.0.0.0"
|
| port: 8100
|
|
|
|
|
| apiKey:
|
|
|
| existingSecret: ""
|
|
|
| key: "HAIM_API_KEY"
|
|
|
| value: ""
|
|
|
|
|
| persistence:
|
| enabled: true
|
| accessModes:
|
| - ReadWriteOnce
|
| size: 10Gi
|
|
|
| annotations: {}
|
|
|
|
|
| service:
|
| type: ClusterIP
|
| port: 8100
|
| targetPort: 8100
|
| metricsPort: 9090
|
| annotations: {}
|
| labels: {}
|
|
|
|
|
| ingress:
|
| enabled: false
|
| className: ""
|
| annotations: {}
|
|
|
|
|
| hosts:
|
| - host: mnemocore.local
|
| paths:
|
| - path: /
|
| pathType: Prefix
|
| tls: []
|
|
|
|
|
|
|
|
|
|
|
| autoscaling:
|
| enabled: true
|
| minReplicas: 2
|
| maxReplicas: 10
|
| targetCPUUtilizationPercentage: 70
|
| targetMemoryUtilizationPercentage: 80
|
|
|
| metrics: []
|
| behavior: {}
|
|
|
|
|
| podDisruptionBudget:
|
| enabled: true
|
| minAvailable: 1
|
|
|
|
|
|
|
| podSecurityContext:
|
| runAsNonRoot: true
|
| runAsUser: 1000
|
| runAsGroup: 1000
|
| fsGroup: 1000
|
|
|
|
|
| securityContext:
|
| allowPrivilegeEscalation: false
|
| capabilities:
|
| drop:
|
| - ALL
|
| readOnlyRootFilesystem: true
|
| runAsNonRoot: true
|
|
|
|
|
| nodeSelector: {}
|
|
|
|
|
| tolerations: []
|
|
|
|
|
| affinity: {}
|
|
|
|
|
| podAnnotations:
|
| prometheus.io/scrape: "true"
|
| prometheus.io/port: "9090"
|
| prometheus.io/path: "/metrics"
|
|
|
|
|
| podLabels: {}
|
|
|
|
|
| priorityClassName: ""
|
|
|
|
|
| terminationGracePeriodSeconds: 30
|
|
|
|
|
| serviceAccount:
|
| create: true
|
| name: ""
|
| annotations: {}
|
|
|
|
|
| initContainers: []
|
|
|
|
|
| extraVolumes: []
|
|
|
|
|
| extraVolumeMounts: []
|
|
|
|
|
| redis:
|
|
|
| enabled: true
|
|
|
|
|
| embedded:
|
| enabled: false
|
|
|
|
|
| image:
|
| repository: redis
|
| tag: "7.2-alpine"
|
| pullPolicy: IfNotPresent
|
|
|
|
|
| config:
|
| maxmemory: "512mb"
|
| maxmemoryPolicy: "allkeys-lru"
|
| save: "60 1"
|
| logLevel: "warning"
|
|
|
|
|
| resources:
|
| limits:
|
| cpu: "1"
|
| memory: "512Mi"
|
| requests:
|
| cpu: "100m"
|
| memory: "128Mi"
|
|
|
|
|
| probes:
|
| liveness:
|
| enabled: true
|
| initialDelaySeconds: 10
|
| periodSeconds: 10
|
| timeoutSeconds: 5
|
| failureThreshold: 5
|
| readiness:
|
| enabled: true
|
| initialDelaySeconds: 5
|
| periodSeconds: 5
|
| timeoutSeconds: 3
|
| failureThreshold: 5
|
|
|
|
|
| service:
|
| type: ClusterIP
|
| port: 6379
|
|
|
|
|
| persistence:
|
| enabled: true
|
| accessModes:
|
| - ReadWriteOnce
|
| size: 5Gi
|
|
|
|
|
|
|
| url: ""
|
| existingSecret: ""
|
|
|
|
|
| qdrant:
|
|
|
| enabled: true
|
|
|
|
|
| embedded:
|
| enabled: false
|
|
|
|
|
| image:
|
| repository: qdrant/qdrant
|
| tag: "latest"
|
| pullPolicy: IfNotPresent
|
|
|
|
|
| config:
|
| grpcPort: 6334
|
| logLevel: "INFO"
|
|
|
|
|
| collections:
|
| hot:
|
| name: "haim_hot"
|
| binaryQuantization: true
|
| alwaysRam: true
|
| hnswM: 16
|
| hnswEfConstruct: 100
|
| warm:
|
| name: "haim_warm"
|
| binaryQuantization: true
|
| alwaysRam: true
|
| hnswM: 16
|
| hnswEfConstruct: 100
|
|
|
|
|
| resources:
|
| limits:
|
| cpu: "2"
|
| memory: "4Gi"
|
| requests:
|
| cpu: "500m"
|
| memory: "1Gi"
|
|
|
|
|
| probes:
|
| liveness:
|
| enabled: true
|
| initialDelaySeconds: 15
|
| periodSeconds: 10
|
| timeoutSeconds: 5
|
| failureThreshold: 5
|
| readiness:
|
| enabled: true
|
| initialDelaySeconds: 10
|
| periodSeconds: 5
|
| timeoutSeconds: 3
|
| failureThreshold: 5
|
|
|
|
|
| service:
|
| type: ClusterIP
|
| httpPort: 6333
|
| grpcPort: 6334
|
|
|
|
|
| persistence:
|
| enabled: true
|
| accessModes:
|
| - ReadWriteOnce
|
| size: 20Gi
|
|
|
|
|
|
|
| url: ""
|
| existingSecret: ""
|
|
|
|
|
| networkPolicy:
|
| enabled: false
|
| ingress:
|
| - from:
|
| - namespaceSelector:
|
| matchLabels:
|
| name: mnemocore
|
| ports:
|
| - protocol: TCP
|
| port: 8100
|
| - protocol: TCP
|
| port: 9090
|
|
|
|
|
| serviceMonitor:
|
| enabled: false
|
| namespace: ""
|
| interval: 30s
|
| scrapeTimeout: 10s
|
| labels: {}
|
| annotations: {}
|
| relabelings: []
|
| metricRelabelings: []
|
|
|
|
|
| grafana:
|
| dashboard:
|
| enabled: false
|
| namespace: ""
|
| labels:
|
| grafana_dashboard: "1"
|
| annotations: {}
|
|
|
|
|
| prometheusRule:
|
| enabled: false
|
| namespace: ""
|
| additionalLabels: {}
|
| rules: []
|
|
|
|
|
| test:
|
| enabled: false
|
| image:
|
| repository: busybox
|
| tag: "latest"
|
|
|