FIX(config): fix Chainlit config dir

- Create /root/.chainlit directory in Dockerfile to prevent FileExistsError
- Reduce replicas from 2 to 1 to conserve resources
- Lower CPU request from 500m to 100m (insufficient CPU on nodes)
- Lower memory request from 512Mi to 256Mi
- Remove health check probes (Chainlit doesn't have /health endpoint)
This commit is contained in:
2025-12-23 23:38:10 +09:00
parent e124a88bfc
commit 12fd9d52d9
4 changed files with 11 additions and 20 deletions

View File

@@ -6,7 +6,7 @@ metadata:
labels:
app: mas
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: mas
@@ -46,21 +46,9 @@ spec:
value: "redis://redis:6379/0"
resources:
requests:
memory: "512Mi"
cpu: "500m"
memory: "256Mi"
cpu: "100m"
limits:
memory: "2Gi"
cpu: "2000m"
livenessProbe:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 10
periodSeconds: 5
memory: "1Gi"
cpu: "1000m"