104 lines
5.0 KiB
YAML
104 lines
5.0 KiB
YAML
# ──────────────────────────────────────────────
|
|
# Образ
|
|
# ──────────────────────────────────────────────
|
|
image:
|
|
repository: gitflic.project2.cloud/repository/images/etl
|
|
tag: "build-11"
|
|
pullPolicy: Always
|
|
|
|
# ──────────────────────────────────────────────
|
|
# Resources
|
|
# ──────────────────────────────────────────────
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
|
|
# ──────────────────────────────────────────────
|
|
# Existing Secret (обязательно укажите имя)
|
|
# ──────────────────────────────────────────────
|
|
# Секрет должен содержать ключи:
|
|
# S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY, EMBEDDING_API_KEY
|
|
existingSecret: "etl-secret"
|
|
|
|
# ──────────────────────────────────────────────
|
|
# S3
|
|
# ──────────────────────────────────────────────
|
|
s3:
|
|
endpointUrl: "https://s3.cloud.ru"
|
|
region: "ru-central-1"
|
|
bucket: "documents"
|
|
prefix: "input/"
|
|
processedPrefix: "processed/"
|
|
|
|
# ──────────────────────────────────────────────
|
|
# Qdrant
|
|
# ──────────────────────────────────────────────
|
|
qdrant:
|
|
url: "http://qdrant.project2.cloud:6333"
|
|
collectionName: "documents"
|
|
vectorSize: 1024
|
|
distance: "cosine"
|
|
|
|
# ──────────────────────────────────────────────
|
|
# Embeddings
|
|
# ──────────────────────────────────────────────
|
|
embedding:
|
|
provider: "openai"
|
|
apiUrl: "https://foundation-models.api.cloud.ru/v1"
|
|
model: "BAAI/bge-m3"
|
|
|
|
# ──────────────────────────────────────────────
|
|
# Retry
|
|
# ──────────────────────────────────────────────
|
|
retry:
|
|
maxAttempts: 5
|
|
baseDelay: 1.0
|
|
maxDelay: 30.0
|
|
|
|
# ──────────────────────────────────────────────
|
|
# Processing (чанкинг)
|
|
# ──────────────────────────────────────────────
|
|
processing:
|
|
chunkingStrategy: "noop"
|
|
chunkMaxTokens: 32
|
|
|
|
# ──────────────────────────────────────────────
|
|
# Batching
|
|
# ──────────────────────────────────────────────
|
|
batching:
|
|
embeddingBatchSize: 500
|
|
embeddingConcurrency: 4
|
|
|
|
# ──────────────────────────────────────────────
|
|
# Checkpoints
|
|
# ──────────────────────────────────────────────
|
|
checkpoint:
|
|
enabled: true
|
|
s3checkpointsPrefix: "_state/checkpoints/"
|
|
|
|
# ──────────────────────────────────────────────
|
|
# Deployment
|
|
# ──────────────────────────────────────────────
|
|
replicaCount: 1
|
|
port: 8000
|
|
|
|
# ──────────────────────────────────────────────
|
|
# Image Pull Secrets (для приватных registry)
|
|
# ──────────────────────────────────────────────
|
|
imagePullSecrets: []
|
|
|
|
# ──────────────────────────────────────────────
|
|
# Дополнительные labels / annotations
|
|
# ──────────────────────────────────────────────
|
|
podAnnotations: {}
|
|
|
|
nodeSelector:
|
|
assignment: application
|
|
|
|
tolerations: []
|
|
|
|
affinity: {} |