Files
etl-service/docker/helm/etl-service/values.yaml
T
2026-11-24 14:37:40 +03:00

100 lines
4.5 KiB
YAML

# ──────────────────────────────────────────────
# Образ
# ──────────────────────────────────────────────
image:
repository: etl-service
tag: "0.1.0"
pullPolicy: IfNotPresent
# ──────────────────────────────────────────────
# Resources
# ──────────────────────────────────────────────
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
# ──────────────────────────────────────────────
# S3
# ──────────────────────────────────────────────
s3:
endpointUrl: "http://minio:9000"
# Access key — в Secret
accessKeyId: ""
# Secret access key — в Secret
secretAccessKey: ""
bucket: "documents"
prefix: "input/"
processedPrefix: "processed/"
# ──────────────────────────────────────────────
# Qdrant
# ──────────────────────────────────────────────
qdrant:
url: "http://qdrant:6333"
# API-ключ — в Secret
apiKey: ""
collectionName: "documents"
vectorSize: 1536
distance: "cosine"
# ──────────────────────────────────────────────
# Embeddings
# ──────────────────────────────────────────────
embedding:
provider: "openai"
# API-ключ — в Secret, не указывайте здесь
apiKey: ""
apiUrl: "https://api.openai.com/v1"
model: "text-embedding-3-small"
# ──────────────────────────────────────────────
# Retry
# ──────────────────────────────────────────────
retry:
maxAttempts: 3
baseDelay: 1.0
maxDelay: 30.0
# ──────────────────────────────────────────────
# Processing (чанкинг)
# ──────────────────────────────────────────────
processing:
chunkingStrategy: "noop"
chunkSize: 512
chunkOverlap: 50
# ──────────────────────────────────────────────
# Batching
# ──────────────────────────────────────────────
batching:
embeddingBatchSize: 100
# ──────────────────────────────────────────────
# CronJob
# ──────────────────────────────────────────────
schedule: "0 */6 * * *" # каждые 6 часов
concurrencyPolicy: Forbid # не запускать параллельные джобы
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 1
activeDeadlineSeconds: 3600 # таймаут 1 час
# ──────────────────────────────────────────────
# Image Pull Secrets (для приватных registry)
# ──────────────────────────────────────────────
imagePullSecrets: []
# ──────────────────────────────────────────────
# Дополнительные labels / annotations
# ──────────────────────────────────────────────
podAnnotations: {}
nodeSelector: {}
tolerations: []
affinity: {}