mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-31 21:59:10 +08:00
bd095495da
fix #15523 fix #15526 #### PR Dependency Tree * **PR #15528** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved search generation cleanup, provider error reporting, and reconciliation reliability. - Retired search resources are cleaned up safely, including after credential changes. - Prompt size checks now ignore tool parameters and provide clearer errors. - Reserved documents are protected from accidental cleanup, and malformed identifiers are rejected. - **Configuration** - Managed Copilot profiles require explicit, non-duplicated model assignments. - Improved managed provider profile migration. - **Performance & Reliability** - Reduced unnecessary search-history cleanup and adjusted consistency-check intervals. - Failed reconciliation jobs stop after one attempt and are removed automatically. - **Data Updates** - Updated legacy AI session prompt names to current labels. - Improved cloud load-balancer health-check configuration. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
73 lines
1.3 KiB
YAML
73 lines
1.3 KiB
YAML
replicaCount: 1
|
|
image:
|
|
repository: ghcr.io/toeverything/affine
|
|
pullPolicy: IfNotPresent
|
|
tag: ''
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ''
|
|
fullnameOverride: ''
|
|
# map to NODE_ENV environment variable
|
|
env: 'production'
|
|
nodeOptions: '--max-old-space-size=3072'
|
|
app:
|
|
# AFFINE_SERVER_PORT
|
|
port: 3010
|
|
# AFFINE_SERVER_SUB_PATH
|
|
path: ''
|
|
# AFFINE_SERVER_HOST
|
|
host: '0.0.0.0'
|
|
https: true
|
|
serviceAccount:
|
|
create: true
|
|
annotations: {}
|
|
name: 'affine-front'
|
|
|
|
podAnnotations: {}
|
|
|
|
podSecurityContext:
|
|
fsGroup: 2000
|
|
|
|
resources:
|
|
limits:
|
|
cpu: '1'
|
|
memory: 6Gi
|
|
requests:
|
|
cpu: '1'
|
|
memory: 4Gi
|
|
|
|
probe:
|
|
initialDelaySeconds: 20
|
|
timeoutSeconds: 5
|
|
periodSeconds: 10
|
|
failureThreshold: 6
|
|
successThreshold: 1
|
|
liveness:
|
|
initialDelaySeconds: 60
|
|
failureThreshold: 12
|
|
readiness: {}
|
|
|
|
services:
|
|
sync:
|
|
name: affine-sync
|
|
type: ClusterIP
|
|
port: 3010
|
|
backendConfig:
|
|
name: affine-sync-backendconfig
|
|
timeoutSec: 10800
|
|
annotations: {}
|
|
renderer:
|
|
name: affine-renderer
|
|
type: ClusterIP
|
|
port: 3000
|
|
annotations:
|
|
cloud.google.com/backend-config: '{"default": "affine-api-backendconfig"}'
|
|
web:
|
|
name: affine-web
|
|
type: ClusterIP
|
|
port: 8080
|
|
annotations: {}
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|