fix: scale ingestion and extractor to 1 replica in prod
This commit is contained in:
@@ -37,7 +37,7 @@ services:
|
|||||||
liveness: { path: /docs, port: 8000, initialDelay: 10, period: 30 }
|
liveness: { path: /docs, port: 8000, initialDelay: 10, period: 30 }
|
||||||
|
|
||||||
ingestion:
|
ingestion:
|
||||||
replicas: 2
|
replicas: 1
|
||||||
pipeline: true
|
pipeline: true
|
||||||
image: ingestion
|
image: ingestion
|
||||||
command: "python -m services.ingestion.worker"
|
command: "python -m services.ingestion.worker"
|
||||||
@@ -59,7 +59,7 @@ services:
|
|||||||
limits: { cpu: 500m, memory: 256Mi }
|
limits: { cpu: 500m, memory: 256Mi }
|
||||||
|
|
||||||
extractor:
|
extractor:
|
||||||
replicas: 8
|
replicas: 1
|
||||||
pipeline: true
|
pipeline: true
|
||||||
image: extractor
|
image: extractor
|
||||||
command: "python -m services.extractor.main"
|
command: "python -m services.extractor.main"
|
||||||
|
|||||||
Reference in New Issue
Block a user