Muhammad Faraz Maqsood 403a5e297d feat: add Elasticsearch support in tutor-discovery (#89)
- As Tutor and Open edX have shifted to Meilisearch, and course-discovery still depends on Elasticsearch, running the Elasticsearch container with tutor-discovery will facilitate smoother operation for the course-discovery service.
- It's related PR from tutor: overhangio/tutor#1141.

Co-authored-by: Muhammad Faraz  Maqsood <faraz.maqsood@192.168.10.123>
2024-11-29 22:31:39 +05:00

26 lines
622 B
Plaintext

---
apiVersion: batch/v1
kind: Job
metadata:
name: discovery-job
labels:
app.kubernetes.io/component: job
spec:
template:
spec:
restartPolicy: Never
containers:
- name: discovery
image: {{ DISCOVERY_DOCKER_IMAGE }}
env:
- name: DEFAULT_PARTNER_CODE
value: openedx
volumeMounts:
- mountPath: /openedx/discovery/course_discovery/settings/tutor/production.py
name: settings
subPath: production.py
volumes:
- name: settings
configMap:
name: discovery-settings