plane claude changes

This commit is contained in:
titver968
2025-10-24 11:05:30 +02:00
parent 295d8dd329
commit 96c7508465

View File

@@ -5,7 +5,6 @@ metadata:
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
# Health Check für Worker überspringen (temporär)
ignoreDifferences:
# PVCs - creationTimestamp und Status ignorieren
- group: ""
@@ -60,45 +59,47 @@ spec:
aws_secret_access_key: "0d54ee2f943f2a56b8cafc3afe9cb1e2f9fecac2"
aws_region: "eu-central-1"
aws_s3_endpoint_url: "https://sws3.innovation-hub-niedersachsen.de"
# Celery Worker Konfiguration - Reduziere Concurrency für Stabilität
CELERY_WORKER_CONCURRENCY: "4"
CELERY_WORKER_MAX_TASKS_PER_CHILD: "500"
CELERY_WORKER_MAX_MEMORY_PER_CHILD: "100000"
# Celery Worker Konfiguration - Optimiert für Stabilität
CELERY_WORKER_CONCURRENCY: "2"
CELERY_WORKER_MAX_TASKS_PER_CHILD: "100"
CELERY_WORKER_MAX_MEMORY_PER_CHILD: "200000"
# Task Timeouts zur Vermeidung von Memory-Leaks
CELERY_TASK_SOFT_TIME_LIMIT: "300"
CELERY_TASK_TIME_LIMIT: "600"
# Worker-spezifische Einstellungen
worker:
# Reduziere Replicas falls zu viele Workers laufen
replicas: 1
# Celery Concurrency (Anzahl paralleler Worker-Prozesse)
concurrency: 4
# Reduzierte Concurrency für bessere Memory-Nutzung
concurrency: 2
resources:
requests:
memory: "8Gi"
cpu: "600m"
memory: "2Gi"
cpu: "500m"
limits:
memory: "4Gi"
cpu: "1000m"
# Exec-basierte Probes für Celery Worker
memory: "6Gi"
cpu: "2000m"
# Vereinfachte Health Checks
readinessProbe:
exec:
command:
- /bin/sh
- -c
- celery -A plane inspect ping -d celery@$HOSTNAME
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 10
failureThreshold: 3
- celery -A plane inspect ping -d celery@$HOSTNAME -t 5
initialDelaySeconds: 60
periodSeconds: 60
timeoutSeconds: 15
failureThreshold: 5
livenessProbe:
exec:
command:
- /bin/sh
- -c
- celery -A plane inspect ping -d celery@$HOSTNAME
initialDelaySeconds: 60
periodSeconds: 60
timeoutSeconds: 10
failureThreshold: 3
- celery -A plane inspect ping -d celery@$HOSTNAME -t 5
initialDelaySeconds: 120
periodSeconds: 120
timeoutSeconds: 15
failureThreshold: 5
destination:
server: 'https://kubernetes.default.svc'
@@ -115,4 +116,4 @@ spec:
- CreateNamespace=true
- ServerSideApply=true
- PruneLast=true
- RespectIgnoreDifferences=true
- RespectIgnoreDifferences=true