219 lines
4.8 KiB
YAML
219 lines
4.8 KiB
YAML
# DEPLOY-002 safe defaults. Real endpoints, immutable image coordinates and
|
|
# Secret names are supplied in an environment-specific values file.
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
existingSecret: knowledge-platform-runtime
|
|
imagePullSecrets: []
|
|
|
|
images:
|
|
api:
|
|
repository: knowledge-platform/enterprise-knowledge-api
|
|
tag: "0.1.0"
|
|
digest: ""
|
|
pullPolicy: IfNotPresent
|
|
mcp:
|
|
repository: knowledge-platform/enterprise-knowledge-mcp
|
|
tag: "0.1.0"
|
|
digest: ""
|
|
pullPolicy: IfNotPresent
|
|
worker:
|
|
repository: knowledge-platform/enterprise-knowledge-worker
|
|
tag: "0.1.0"
|
|
digest: ""
|
|
pullPolicy: IfNotPresent
|
|
|
|
serviceAccount:
|
|
create: true
|
|
name: ""
|
|
annotations: {}
|
|
|
|
podAnnotations: {}
|
|
podLabels: {}
|
|
|
|
api:
|
|
replicaCount: 2
|
|
service:
|
|
type: ClusterIP
|
|
port: 80
|
|
resources:
|
|
requests:
|
|
cpu: 250m
|
|
memory: 512Mi
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
probes:
|
|
startup:
|
|
failureThreshold: 30
|
|
periodSeconds: 2
|
|
readiness:
|
|
periodSeconds: 10
|
|
timeoutSeconds: 2
|
|
failureThreshold: 3
|
|
liveness:
|
|
periodSeconds: 20
|
|
timeoutSeconds: 2
|
|
failureThreshold: 3
|
|
|
|
mcp:
|
|
replicaCount: 2
|
|
service:
|
|
type: ClusterIP
|
|
port: 80
|
|
resources:
|
|
requests:
|
|
cpu: 250m
|
|
memory: 512Mi
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
probes:
|
|
startup:
|
|
failureThreshold: 30
|
|
periodSeconds: 2
|
|
readiness:
|
|
periodSeconds: 10
|
|
timeoutSeconds: 2
|
|
failureThreshold: 3
|
|
liveness:
|
|
periodSeconds: 20
|
|
timeoutSeconds: 2
|
|
failureThreshold: 3
|
|
|
|
worker:
|
|
replicaCount: 2
|
|
terminationGracePeriodSeconds: 60
|
|
resources:
|
|
requests:
|
|
cpu: 500m
|
|
memory: 1Gi
|
|
limits:
|
|
cpu: "2"
|
|
memory: 2Gi
|
|
probes:
|
|
startup:
|
|
failureThreshold: 30
|
|
periodSeconds: 2
|
|
liveness:
|
|
periodSeconds: 20
|
|
timeoutSeconds: 2
|
|
failureThreshold: 3
|
|
|
|
# Celery Beat is separated from scalable workers so only one recovery
|
|
# scheduler publishes due durable Jobs at a time.
|
|
scheduler:
|
|
enabled: true
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
probes:
|
|
startup:
|
|
failureThreshold: 30
|
|
periodSeconds: 2
|
|
liveness:
|
|
periodSeconds: 20
|
|
timeoutSeconds: 2
|
|
failureThreshold: 3
|
|
|
|
migration:
|
|
enabled: true
|
|
activeDeadlineSeconds: 600
|
|
backoffLimit: 0
|
|
ttlSecondsAfterFinished: 86400
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
|
|
ingress:
|
|
enabled: false
|
|
className: nginx
|
|
annotations: {}
|
|
api:
|
|
host: knowledge.example.invalid
|
|
path: /
|
|
tlsSecretName: knowledge-platform-api-tls
|
|
mcp:
|
|
host: mcp.example.invalid
|
|
path: /mcp
|
|
tlsSecretName: knowledge-platform-mcp-tls
|
|
|
|
# Only non-sensitive runtime settings belong here. The templates enumerate
|
|
# keys explicitly so credentials cannot be added to this ConfigMap by mistake.
|
|
config:
|
|
appName: enterprise-knowledge-platform
|
|
logLevel: INFO
|
|
database:
|
|
poolSize: 10
|
|
maxOverflow: 10
|
|
poolRecycleSeconds: 600
|
|
poolTimeoutSeconds: 30
|
|
connectTimeoutSeconds: 30
|
|
ingestion:
|
|
maxAttempts: 3
|
|
retryBackoffSeconds: 2
|
|
retryBackoffMaxSeconds: 60
|
|
workerLeaseSeconds: 300
|
|
recoveryIntervalSeconds: 30
|
|
batchMaxFiles: 20
|
|
batchMaxTotalBytes: 209715200
|
|
maxUploadBytes: 52428800
|
|
objectStorage:
|
|
provider: bos
|
|
endpoint: https://s3.example.invalid
|
|
bucket: knowledge-platform
|
|
keyPrefix: knowledge-platform
|
|
timeoutSeconds: 30
|
|
chunking:
|
|
maxTokens: 450
|
|
overlapTokens: 75
|
|
maxCharacters: 2000
|
|
embedding:
|
|
provider: qianfan
|
|
model: bge-large-zh
|
|
endpoint: https://qianfan.baidubce.com/v2/embeddings
|
|
timeoutSeconds: 30
|
|
vectorStore:
|
|
provider: oceanbase
|
|
uri: oceanbase.example.invalid:2881
|
|
user: knowledge-platform
|
|
database: knowledge_platform
|
|
table: knowledge_chunks_v1
|
|
index: vidx_knowledge_chunks_embedding
|
|
batchSize: 100
|
|
timeoutSeconds: 30
|
|
retrieval:
|
|
indexProfileId: demo-bge-large-zh-structure-v1-oceanbase-v1
|
|
denseTopN: 20
|
|
searchTopK: 5
|
|
reranker:
|
|
provider: qianfan
|
|
model: bce-reranker-base
|
|
endpoint: https://qianfan.baidubce.com/v2/rerank
|
|
timeoutSeconds: 30
|
|
mcp:
|
|
publicUrl: https://mcp.example.invalid/mcp
|
|
issuerUrl: https://mcp.example.invalid
|
|
clientId: workbuddy-enterprise
|
|
serviceIdentity: workbuddy-public-knowledge
|
|
requiredScope: knowledge:search
|
|
allowedHosts:
|
|
- mcp.example.invalid
|
|
allowedOrigins:
|
|
- https://mcp.example.invalid
|
|
maxRequestBodyBytes: 1048576
|
|
|
|
# Optional local dependency. Keep disabled for production and provide
|
|
# RABBITMQ_URL through existingSecret for an externally managed broker.
|
|
rabbitmq:
|
|
enabled: false
|
|
existingSecret: knowledge-platform-rabbitmq
|