Skip to content

Instantly share code, notes, and snippets.

@cmltaWt0
Created May 14, 2024 17:31
Show Gist options
  • Save cmltaWt0/6cddd4a4fc2df4ef801007ba6cace78a to your computer and use it in GitHub Desktop.
Save cmltaWt0/6cddd4a4fc2df4ef801007ba6cace78a to your computer and use it in GitHub Desktop.
Open edx k8s helm
celeryworkers:
replicaCount: 1
maxReplicaCount: 150
maxMessageRate: 40
resources:
requests:
cpu: 150m
memory: 400Mi
limits:
cpu: 950m
memory: 2Gi
nodeSelector:
node_group: backend
tolerations: []
affinity: {}
EDXAPP_CELERY_WORKERS:
# - queue: low
# service_variant: cms
# monitor: True
# concurrency: 1
# # resources: {}
- queue: default
service_variant: cms
monitor: True
concurrency: 1
# resources: {}
- queue: high
service_variant: cms
monitor: True
concurrency: 1
# resources: {}
# - queue: low
# service_variant: lms
# monitor: True
# concurrency: 1
# # resources: {}
- queue: default
service_variant: lms
replicaCount: 1
monitor: True
concurrency: 1
prefetch_multiplier: 8
# resources: {}
- queue: high
service_variant: lms
monitor: True
concurrency: 1
prefetch_multiplier: 8
# resources: {}
- queue: high_mem
service_variant: lms
monitor: False
concurrency: 1
prefetch_multiplier: 1
# resources: {}
# Custom worker for grades calculation
# - queue: recalculate_grades
# service_variant: lms
# concurrency: 1
# monitor: True
# resources: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment