Some checks failed
CI / lint (pull_request) Failing after 44s
CI / test (3.10) (pull_request) Failing after 30s
CI / test (3.11) (pull_request) Failing after 33s
CI / test (3.12) (pull_request) Successful in 1m26s
CI / migrations (pull_request) Successful in 24s
CI / helm (pull_request) Successful in 20s
CI / docker (pull_request) Has been skipped
Frontend wiring: - Wire useMarkdownWorker into Markdown component (worker-first, sync fallback) - Wire useIndexedDB as primary storage in useChatHistory (500 msg cap, localStorage fallback) Backend depth: - Persistent audit store (SQLite, thread-safe, WAL mode) with record/query/filter - Wire audit store into session routes (session.create, prompt.submit events) - Wire audit store into audit export routes (persistent-first, telemetry fallback) - CSRF double-submit cookie pattern (token generation, cookie set, header validation) Production: - Helm chart CI: helm lint + helm template validation - Database migration CI: verify step in pipeline - Prometheus alerting rules (error rate, latency, pod restarts, memory, CPU, queue, health) - Rate limiting per API key (3x IP limit, sliding window, advisory) - WebSocket SSE fallback (auto-downgrade after MAX_RETRIES WS failures) Tests: 605 Python + 56 frontend = 661 total, 0 ruff errors Co-Authored-By: Nakamoto, S <defi@defi-oracle.io>
124 lines
2.1 KiB
YAML
124 lines
2.1 KiB
YAML
# FusionAGI Helm Chart values
|
|
|
|
replicaCount: 2
|
|
|
|
image:
|
|
repository: fusionagi/api
|
|
pullPolicy: IfNotPresent
|
|
tag: "latest"
|
|
|
|
frontend:
|
|
enabled: true
|
|
replicaCount: 2
|
|
image:
|
|
repository: fusionagi/frontend
|
|
tag: "latest"
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8000
|
|
|
|
frontendService:
|
|
type: ClusterIP
|
|
port: 80
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: nginx
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "120"
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "120"
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "10m"
|
|
hosts:
|
|
- host: fusionagi.local
|
|
paths:
|
|
- path: /v1
|
|
pathType: Prefix
|
|
backend: api
|
|
- path: /
|
|
pathType: Prefix
|
|
backend: frontend
|
|
|
|
resources:
|
|
api:
|
|
limits:
|
|
cpu: "2"
|
|
memory: 2Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
frontend:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 256Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
|
|
autoscaling:
|
|
enabled: true
|
|
minReplicas: 2
|
|
maxReplicas: 10
|
|
targetCPUUtilizationPercentage: 70
|
|
targetMemoryUtilizationPercentage: 80
|
|
|
|
postgresql:
|
|
enabled: true
|
|
auth:
|
|
database: fusionagi
|
|
username: fusionagi
|
|
existingSecret: fusionagi-db-secret
|
|
primary:
|
|
persistence:
|
|
size: 10Gi
|
|
|
|
redis:
|
|
enabled: true
|
|
architecture: standalone
|
|
auth:
|
|
enabled: false
|
|
master:
|
|
persistence:
|
|
size: 2Gi
|
|
|
|
env:
|
|
FUSIONAGI_DB_BACKEND: postgres
|
|
FUSIONAGI_WORKERS: "4"
|
|
FUSIONAGI_RATE_LIMIT: "120"
|
|
FUSIONAGI_LOG_LEVEL: info
|
|
|
|
secrets:
|
|
apiKey:
|
|
existingSecret: fusionagi-api-secret
|
|
key: api-key
|
|
postgresDsn:
|
|
existingSecret: fusionagi-db-secret
|
|
key: dsn
|
|
redisUrl:
|
|
existingSecret: fusionagi-redis-secret
|
|
key: url
|
|
|
|
bluegreen:
|
|
enabled: false
|
|
active: blue
|
|
blueTag: "latest"
|
|
greenTag: "latest"
|
|
|
|
healthCheck:
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 8000
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 15
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /ready
|
|
port: 8000
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
|
|
# Monitoring
|
|
monitoring:
|
|
enabled: false
|