From 749cab2f50399453be275eb99ce8b600311ce1e1 Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Fri, 29 Sep 2023 10:48:58 -0400 Subject: [PATCH 1/3] temp: results from running kompose on devstack --- ...yticsapi-claim0-persistentvolumeclaim.yaml | 15 ++++ ...yticsapi-claim1-persistentvolumeclaim.yaml | 15 ++++ analyticsapi-deployment.yaml | 69 ++++++++++++++ analyticsapi-service.yaml | 20 +++++ chrome-claim0-persistentvolumeclaim.yaml | 15 ++++ chrome-deployment.yaml | 46 ++++++++++ chrome-service.yaml | 20 +++++ cms-deployment.yaml | 78 ++++++++++++++++ cms-service.yaml | 23 +++++ coursegraph-data-persistentvolumeclaim.yaml | 15 ++++ coursegraph-deployment.yaml | 54 +++++++++++ coursegraph-service.yaml | 23 +++++ credentials-deployment.yaml | 55 ++++++++++++ credentials-service.yaml | 20 +++++ devpi-data-persistentvolumeclaim.yaml | 15 ++++ devpi-deployment.yaml | 46 ++++++++++ devpi-service.yaml | 20 +++++ discovery-assets-persistentvolumeclaim.yaml | 15 ++++ discovery-claim1-persistentvolumeclaim.yaml | 15 ++++ discovery-deployment.yaml | 66 ++++++++++++++ discovery-service.yaml | 20 +++++ ecommerce-claim0-persistentvolumeclaim.yaml | 15 ++++ ecommerce-deployment.yaml | 57 ++++++++++++ ecommerce-service.yaml | 20 +++++ edx-notes-api-deployment.yaml | 63 +++++++++++++ edx_notes_api-service.yaml | 20 +++++ edxapp-cms-assets-persistentvolumeclaim.yaml | 15 ++++ edxapp-lms-assets-persistentvolumeclaim.yaml | 15 ++++ elasticsearch-data-persistentvolumeclaim.yaml | 15 ++++ elasticsearch-deployment.yaml | 47 ++++++++++ ...ticsearch7-data-persistentvolumeclaim.yaml | 15 ++++ elasticsearch7-deployment.yaml | 56 ++++++++++++ elasticsearch7-service.yaml | 23 +++++ ...csearch710-data-persistentvolumeclaim.yaml | 15 ++++ elasticsearch710-deployment.yaml | 56 ++++++++++++ elasticsearch710-service.yaml | 23 +++++ firefox-claim0-persistentvolumeclaim.yaml | 15 ++++ firefox-deployment.yaml | 46 ++++++++++ firefox-service.yaml | 20 +++++ forum-deployment.yaml | 44 +++++++++ forum-service.yaml | 20 +++++ frontend-app-account-deployment.yaml | 47 ++++++++++ frontend-app-account-service.yaml | 20 +++++ frontend-app-authn-deployment.yaml | 47 ++++++++++ frontend-app-authn-service.yaml | 20 +++++ frontend-app-course-authoring-deployment.yaml | 47 ++++++++++ frontend-app-course-authoring-service.yaml | 20 +++++ frontend-app-gradebook-deployment.yaml | 47 ++++++++++ frontend-app-gradebook-service.yaml | 20 +++++ frontend-app-learning-deployment.yaml | 47 ++++++++++ frontend-app-learning-service.yaml | 20 +++++ ...tend-app-library-authoring-deployment.yaml | 47 ++++++++++ frontend-app-library-authoring-service.yaml | 20 +++++ frontend-app-ora-grading-deployment.yaml | 47 ++++++++++ frontend-app-ora-grading-service.yaml | 20 +++++ frontend-app-payment-deployment.yaml | 47 ++++++++++ frontend-app-payment-service.yaml | 20 +++++ frontend-app-profile-deployment.yaml | 47 ++++++++++ frontend-app-profile-service.yaml | 20 +++++ frontend-app-program-console-deployment.yaml | 47 ++++++++++ frontend-app-program-console-service.yaml | 20 +++++ frontend-app-publisher-deployment.yaml | 47 ++++++++++ frontend-app-publisher-service.yaml | 20 +++++ insights-claim0-persistentvolumeclaim.yaml | 15 ++++ insights-claim1-persistentvolumeclaim.yaml | 15 ++++ insights-deployment.yaml | 75 ++++++++++++++++ insights-service.yaml | 20 +++++ kafka-control-center-deployment.yaml | 53 +++++++++++ kafka-control-center-service.yaml | 20 +++++ kafka-deployment.yaml | 78 ++++++++++++++++ kafka-service.yaml | 23 +++++ lms-deployment.yaml | 78 ++++++++++++++++ lms-service.yaml | 23 +++++ memcached-deployment.yaml | 34 +++++++ mongo-data-persistentvolumeclaim.yaml | 15 ++++ mongo-deployment.yaml | 51 +++++++++++ mongo-service.yaml | 20 +++++ mysql57-data-persistentvolumeclaim.yaml | 15 ++++ mysql57-deployment.yaml | 54 +++++++++++ mysql57-service.yaml | 20 +++++ mysql80-data-persistentvolumeclaim.yaml | 15 ++++ mysql80-deployment.yaml | 54 +++++++++++ mysql80-service.yaml | 20 +++++ opensearch12-data-persistentvolumeclaim.yaml | 15 ++++ opensearch12-deployment.yaml | 56 ++++++++++++ opensearch12-service.yaml | 23 +++++ redis-deployment.yaml | 38 ++++++++ registrar-claim0-persistentvolumeclaim.yaml | 15 ++++ registrar-claim1-persistentvolumeclaim.yaml | 15 ++++ registrar-deployment.yaml | 89 +++++++++++++++++++ registrar-service.yaml | 20 +++++ ...r-worker-claim0-persistentvolumeclaim.yaml | 15 ++++ registrar-worker-deployment.yaml | 79 ++++++++++++++++ registrar-worker-service.yaml | 20 +++++ schema-registry-deployment.yaml | 45 ++++++++++ schema-registry-service.yaml | 20 +++++ xqueue-claim0-persistentvolumeclaim.yaml | 15 ++++ xqueue-claim1-persistentvolumeclaim.yaml | 15 ++++ ...consumer-claim0-persistentvolumeclaim.yaml | 15 ++++ ...consumer-claim1-persistentvolumeclaim.yaml | 15 ++++ xqueue-consumer-deployment.yaml | 51 +++++++++++ xqueue-deployment.yaml | 58 ++++++++++++ xqueue-service.yaml | 20 +++++ zookeeper-deployment.yaml | 43 +++++++++ zookeeper-service.yaml | 20 +++++ 105 files changed, 3402 insertions(+) create mode 100644 analyticsapi-claim0-persistentvolumeclaim.yaml create mode 100644 analyticsapi-claim1-persistentvolumeclaim.yaml create mode 100644 analyticsapi-deployment.yaml create mode 100644 analyticsapi-service.yaml create mode 100644 chrome-claim0-persistentvolumeclaim.yaml create mode 100644 chrome-deployment.yaml create mode 100644 chrome-service.yaml create mode 100644 cms-deployment.yaml create mode 100644 cms-service.yaml create mode 100644 coursegraph-data-persistentvolumeclaim.yaml create mode 100644 coursegraph-deployment.yaml create mode 100644 coursegraph-service.yaml create mode 100644 credentials-deployment.yaml create mode 100644 credentials-service.yaml create mode 100644 devpi-data-persistentvolumeclaim.yaml create mode 100644 devpi-deployment.yaml create mode 100644 devpi-service.yaml create mode 100644 discovery-assets-persistentvolumeclaim.yaml create mode 100644 discovery-claim1-persistentvolumeclaim.yaml create mode 100644 discovery-deployment.yaml create mode 100644 discovery-service.yaml create mode 100644 ecommerce-claim0-persistentvolumeclaim.yaml create mode 100644 ecommerce-deployment.yaml create mode 100644 ecommerce-service.yaml create mode 100644 edx-notes-api-deployment.yaml create mode 100644 edx_notes_api-service.yaml create mode 100644 edxapp-cms-assets-persistentvolumeclaim.yaml create mode 100644 edxapp-lms-assets-persistentvolumeclaim.yaml create mode 100644 elasticsearch-data-persistentvolumeclaim.yaml create mode 100644 elasticsearch-deployment.yaml create mode 100644 elasticsearch7-data-persistentvolumeclaim.yaml create mode 100644 elasticsearch7-deployment.yaml create mode 100644 elasticsearch7-service.yaml create mode 100644 elasticsearch710-data-persistentvolumeclaim.yaml create mode 100644 elasticsearch710-deployment.yaml create mode 100644 elasticsearch710-service.yaml create mode 100644 firefox-claim0-persistentvolumeclaim.yaml create mode 100644 firefox-deployment.yaml create mode 100644 firefox-service.yaml create mode 100644 forum-deployment.yaml create mode 100644 forum-service.yaml create mode 100644 frontend-app-account-deployment.yaml create mode 100644 frontend-app-account-service.yaml create mode 100644 frontend-app-authn-deployment.yaml create mode 100644 frontend-app-authn-service.yaml create mode 100644 frontend-app-course-authoring-deployment.yaml create mode 100644 frontend-app-course-authoring-service.yaml create mode 100644 frontend-app-gradebook-deployment.yaml create mode 100644 frontend-app-gradebook-service.yaml create mode 100644 frontend-app-learning-deployment.yaml create mode 100644 frontend-app-learning-service.yaml create mode 100644 frontend-app-library-authoring-deployment.yaml create mode 100644 frontend-app-library-authoring-service.yaml create mode 100644 frontend-app-ora-grading-deployment.yaml create mode 100644 frontend-app-ora-grading-service.yaml create mode 100644 frontend-app-payment-deployment.yaml create mode 100644 frontend-app-payment-service.yaml create mode 100644 frontend-app-profile-deployment.yaml create mode 100644 frontend-app-profile-service.yaml create mode 100644 frontend-app-program-console-deployment.yaml create mode 100644 frontend-app-program-console-service.yaml create mode 100644 frontend-app-publisher-deployment.yaml create mode 100644 frontend-app-publisher-service.yaml create mode 100644 insights-claim0-persistentvolumeclaim.yaml create mode 100644 insights-claim1-persistentvolumeclaim.yaml create mode 100644 insights-deployment.yaml create mode 100644 insights-service.yaml create mode 100644 kafka-control-center-deployment.yaml create mode 100644 kafka-control-center-service.yaml create mode 100644 kafka-deployment.yaml create mode 100644 kafka-service.yaml create mode 100644 lms-deployment.yaml create mode 100644 lms-service.yaml create mode 100644 memcached-deployment.yaml create mode 100644 mongo-data-persistentvolumeclaim.yaml create mode 100644 mongo-deployment.yaml create mode 100644 mongo-service.yaml create mode 100644 mysql57-data-persistentvolumeclaim.yaml create mode 100644 mysql57-deployment.yaml create mode 100644 mysql57-service.yaml create mode 100644 mysql80-data-persistentvolumeclaim.yaml create mode 100644 mysql80-deployment.yaml create mode 100644 mysql80-service.yaml create mode 100644 opensearch12-data-persistentvolumeclaim.yaml create mode 100644 opensearch12-deployment.yaml create mode 100644 opensearch12-service.yaml create mode 100644 redis-deployment.yaml create mode 100644 registrar-claim0-persistentvolumeclaim.yaml create mode 100644 registrar-claim1-persistentvolumeclaim.yaml create mode 100644 registrar-deployment.yaml create mode 100644 registrar-service.yaml create mode 100644 registrar-worker-claim0-persistentvolumeclaim.yaml create mode 100644 registrar-worker-deployment.yaml create mode 100644 registrar-worker-service.yaml create mode 100644 schema-registry-deployment.yaml create mode 100644 schema-registry-service.yaml create mode 100644 xqueue-claim0-persistentvolumeclaim.yaml create mode 100644 xqueue-claim1-persistentvolumeclaim.yaml create mode 100644 xqueue-consumer-claim0-persistentvolumeclaim.yaml create mode 100644 xqueue-consumer-claim1-persistentvolumeclaim.yaml create mode 100644 xqueue-consumer-deployment.yaml create mode 100644 xqueue-deployment.yaml create mode 100644 xqueue-service.yaml create mode 100644 zookeeper-deployment.yaml create mode 100644 zookeeper-service.yaml diff --git a/analyticsapi-claim0-persistentvolumeclaim.yaml b/analyticsapi-claim0-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..00a593b2d3 --- /dev/null +++ b/analyticsapi-claim0-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: analyticsapi-claim0 + name: analyticsapi-claim0 + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/analyticsapi-claim1-persistentvolumeclaim.yaml b/analyticsapi-claim1-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..d3e8377da5 --- /dev/null +++ b/analyticsapi-claim1-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: analyticsapi-claim1 + name: analyticsapi-claim1 + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/analyticsapi-deployment.yaml b/analyticsapi-deployment.yaml new file mode 100644 index 0000000000..7dcd4a35c0 --- /dev/null +++ b/analyticsapi-deployment.yaml @@ -0,0 +1,69 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: analyticsapi + name: analyticsapi + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: analyticsapi + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: analyticsapi + spec: + containers: + - args: + - bash + - -c + - source /edx/app/analytics_api/analytics_api_env && while true; do python /edx/app/analytics_api/analytics_api/manage.py runserver 0.0.0.0:19001 --settings analyticsdataserver.settings.devstack; sleep 2; done + env: + - name: DB_HOST + value: edx.devstack.mysql57 + - name: DB_PASSWORD + value: password + - name: DB_PORT + value: "3306" + - name: DB_USER + value: analytics001 + - name: ELASTICSEARCH_LEARNERS_HOST + value: edx.devstack.elasticsearch710 + image: edxops/analytics-api-dev:latest + name: edx.devstack.analyticsapi + ports: + - containerPort: 19001 + hostPort: 19001 + protocol: TCP + resources: {} + stdin: true + tty: true + volumeMounts: + - mountPath: /edx/var/analyticsapi + name: analyticsapi-claim0 + - mountPath: /edx/etc/analytics_api.yml + name: analyticsapi-claim1 + workingDir: /edx/app/analytics_api/analytics_api + hostname: analyticsapi + restartPolicy: Always + volumes: + - name: analyticsapi-claim0 + persistentVolumeClaim: + claimName: analyticsapi-claim0 + - name: analyticsapi-claim1 + persistentVolumeClaim: + claimName: analyticsapi-claim1 +status: {} diff --git a/analyticsapi-service.yaml b/analyticsapi-service.yaml new file mode 100644 index 0000000000..3dfb61e082 --- /dev/null +++ b/analyticsapi-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: analyticsapi + name: analyticsapi + namespace: default +spec: + ports: + - name: "19001" + port: 19001 + targetPort: 19001 + selector: + io.kompose.service: analyticsapi +status: + loadBalancer: {} diff --git a/chrome-claim0-persistentvolumeclaim.yaml b/chrome-claim0-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..fffe47768e --- /dev/null +++ b/chrome-claim0-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: chrome-claim0 + name: chrome-claim0 + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/chrome-deployment.yaml b/chrome-deployment.yaml new file mode 100644 index 0000000000..2efc7909a1 --- /dev/null +++ b/chrome-deployment.yaml @@ -0,0 +1,46 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: chrome + name: chrome + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: chrome + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: chrome + spec: + containers: + - image: edxops/chrome:latest + name: edx.devstack.chrome + ports: + - containerPort: 5900 + hostPort: 15900 + protocol: TCP + resources: {} + volumeMounts: + - mountPath: /edx/app/edxapp/edx-platform/common/test/data + name: chrome-claim0 + hostname: chrome.devstack.edx + restartPolicy: Always + volumes: + - name: chrome-claim0 + persistentVolumeClaim: + claimName: chrome-claim0 +status: {} diff --git a/chrome-service.yaml b/chrome-service.yaml new file mode 100644 index 0000000000..a9fcf83671 --- /dev/null +++ b/chrome-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: chrome + name: chrome + namespace: default +spec: + ports: + - name: "15900" + port: 15900 + targetPort: 5900 + selector: + io.kompose.service: chrome +status: + loadBalancer: {} diff --git a/cms-deployment.yaml b/cms-deployment.yaml new file mode 100644 index 0000000000..9d53a69b24 --- /dev/null +++ b/cms-deployment.yaml @@ -0,0 +1,78 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: cms + name: cms + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: cms + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: cms + spec: + containers: + - args: + - bash + - -c + - source /edx/app/edxapp/edxapp_env && while true; do python /edx/app/edxapp/edx-platform/manage.py cms runserver 0.0.0.0:18010 --settings devstack_docker; sleep 2; done + env: + - name: BOK_CHOY_CMS_PORT + value: "18131" + - name: BOK_CHOY_HOSTNAME + value: edx.devstack.cms + - name: BOK_CHOY_LMS_PORT + value: "18103" + - name: CMS_CFG + value: /edx/etc/studio.yml + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: EDXAPP_TEST_MONGO_HOST + value: edx.devstack.mongo + - name: LMS_CFG + value: /edx/etc/lms.yml + - name: NO_PYTHON_UNINSTALL + value: "1" + - name: PATH + value: /edx/app/edxapp/venvs/edxapp/bin:/edx/app/edxapp/nodeenv/bin:/edx/app/edxapp/edx-platform/node_modules/.bin:/edx/app/edxapp/edx-platform/bin:/Users/dianahuang/bin:/Users/dianahuang/bin:/Users/dianahuang/.orbstack/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin + - name: SERVICE_VARIANT + value: cms + - name: VIRTUAL_ENV + value: /edx/app/edxapp/venvs/edxapp + image: openedx/lms-dev:latest + name: edx.devstack.cms + ports: + - containerPort: 18010 + hostPort: 18010 + protocol: TCP + - containerPort: 19877 + hostPort: 19877 + protocol: TCP + resources: {} + stdin: true + tty: true + volumeMounts: + - mountPath: /edx/var/edxapp/staticfiles + name: edxapp-cms-assets + hostname: cms.devstack.edx + restartPolicy: Always + volumes: + - name: edxapp-cms-assets + persistentVolumeClaim: + claimName: edxapp-cms-assets +status: {} diff --git a/cms-service.yaml b/cms-service.yaml new file mode 100644 index 0000000000..18f1b1f9df --- /dev/null +++ b/cms-service.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: cms + name: cms + namespace: default +spec: + ports: + - name: "18010" + port: 18010 + targetPort: 18010 + - name: "19877" + port: 19877 + targetPort: 19877 + selector: + io.kompose.service: cms +status: + loadBalancer: {} diff --git a/coursegraph-data-persistentvolumeclaim.yaml b/coursegraph-data-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..891926f645 --- /dev/null +++ b/coursegraph-data-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: coursegraph-data + name: coursegraph-data + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/coursegraph-deployment.yaml b/coursegraph-deployment.yaml new file mode 100644 index 0000000000..f5463e5beb --- /dev/null +++ b/coursegraph-deployment.yaml @@ -0,0 +1,54 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: coursegraph + name: coursegraph + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: coursegraph + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: coursegraph + spec: + containers: + - env: + - name: NEO4J_AUTH + value: neo4j/edx + image: neo4j:3.5.28 + name: edx.devstack.coursegraph + ports: + - containerPort: 7474 + hostPort: 7474 + protocol: TCP + - containerPort: 7687 + hostPort: 7687 + protocol: TCP + resources: {} + stdin: true + tty: true + volumeMounts: + - mountPath: /data + name: coursegraph-data + hostname: coursegraph.devstack.edx + restartPolicy: Always + volumes: + - name: coursegraph-data + persistentVolumeClaim: + claimName: coursegraph-data +status: {} diff --git a/coursegraph-service.yaml b/coursegraph-service.yaml new file mode 100644 index 0000000000..4b67b74d0d --- /dev/null +++ b/coursegraph-service.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: coursegraph + name: coursegraph + namespace: default +spec: + ports: + - name: "7474" + port: 7474 + targetPort: 7474 + - name: "7687" + port: 7687 + targetPort: 7687 + selector: + io.kompose.service: coursegraph +status: + loadBalancer: {} diff --git a/credentials-deployment.yaml b/credentials-deployment.yaml new file mode 100644 index 0000000000..b367a5db5c --- /dev/null +++ b/credentials-deployment.yaml @@ -0,0 +1,55 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: credentials + name: credentials + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: credentials + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: credentials + spec: + containers: + - args: + - bash + - -c + - source /edx/app/credentials/credentials_env && while true; do python /edx/app/credentials/credentials/manage.py runserver 0.0.0.0:18150; sleep 2; done + env: + - name: CACHE_LOCATION + value: edx.devstack.memcached:11211 + - name: DB_HOST + value: edx.devstack.mysql57 + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: ENABLE_DJANGO_TOOLBAR + value: "1" + - name: SOCIAL_AUTH_EDX_OIDC_URL_ROOT + value: http://edx.devstack.lms:18000/oauth2 + image: edxops/credentials:latest + name: edx.devstack.credentials + ports: + - containerPort: 18150 + hostPort: 18150 + protocol: TCP + resources: {} + stdin: true + tty: true + hostname: credentials.devstack.edx + restartPolicy: Always +status: {} diff --git a/credentials-service.yaml b/credentials-service.yaml new file mode 100644 index 0000000000..4844fca7e7 --- /dev/null +++ b/credentials-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: credentials + name: credentials + namespace: default +spec: + ports: + - name: "18150" + port: 18150 + targetPort: 18150 + selector: + io.kompose.service: credentials +status: + loadBalancer: {} diff --git a/devpi-data-persistentvolumeclaim.yaml b/devpi-data-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..e8f1c31157 --- /dev/null +++ b/devpi-data-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: devpi-data + name: devpi-data + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/devpi-deployment.yaml b/devpi-deployment.yaml new file mode 100644 index 0000000000..dfebc7586a --- /dev/null +++ b/devpi-deployment.yaml @@ -0,0 +1,46 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: devpi + name: devpi + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: devpi + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: devpi + spec: + containers: + - image: edxops/devpi:latest + name: edx.devstack.devpi + ports: + - containerPort: 3141 + hostPort: 3141 + protocol: TCP + resources: {} + volumeMounts: + - mountPath: /data + name: devpi-data + hostname: devpi.devstack.edx + restartPolicy: Always + volumes: + - name: devpi-data + persistentVolumeClaim: + claimName: devpi-data +status: {} diff --git a/devpi-service.yaml b/devpi-service.yaml new file mode 100644 index 0000000000..f233d4463c --- /dev/null +++ b/devpi-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: devpi + name: devpi + namespace: default +spec: + ports: + - name: "3141" + port: 3141 + targetPort: 3141 + selector: + io.kompose.service: devpi +status: + loadBalancer: {} diff --git a/discovery-assets-persistentvolumeclaim.yaml b/discovery-assets-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..85ce72409f --- /dev/null +++ b/discovery-assets-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: discovery-assets + name: discovery-assets + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/discovery-claim1-persistentvolumeclaim.yaml b/discovery-claim1-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..0c78329744 --- /dev/null +++ b/discovery-claim1-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: discovery-claim1 + name: discovery-claim1 + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/discovery-deployment.yaml b/discovery-deployment.yaml new file mode 100644 index 0000000000..baec18ea8e --- /dev/null +++ b/discovery-deployment.yaml @@ -0,0 +1,66 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: discovery + name: discovery + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: discovery + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: discovery + spec: + containers: + - args: + - bash + - -c + - source /edx/app/discovery/discovery_env && while true; do python /edx/app/discovery/discovery/manage.py runserver 0.0.0.0:18381; sleep 2; done + env: + - name: DB_MIGRATION_HOST + value: edx.devstack.mysql57 + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: ENABLE_DJANGO_TOOLBAR + value: "1" + - name: TEST_ELASTICSEARCH_URL + value: edx.devstack.elasticsearch710 + image: edxops/discovery-dev:latest + name: edx.devstack.discovery + ports: + - containerPort: 18381 + hostPort: 18381 + protocol: TCP + resources: {} + stdin: true + tty: true + volumeMounts: + - mountPath: /edx/var/discovery + name: discovery-assets + - mountPath: /edx/etc/discovery.yml + name: discovery-claim1 + hostname: discovery.devstack.edx + restartPolicy: Always + volumes: + - name: discovery-assets + persistentVolumeClaim: + claimName: discovery-assets + - name: discovery-claim1 + persistentVolumeClaim: + claimName: discovery-claim1 +status: {} diff --git a/discovery-service.yaml b/discovery-service.yaml new file mode 100644 index 0000000000..b618f6fda7 --- /dev/null +++ b/discovery-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: discovery + name: discovery + namespace: default +spec: + ports: + - name: "18381" + port: 18381 + targetPort: 18381 + selector: + io.kompose.service: discovery +status: + loadBalancer: {} diff --git a/ecommerce-claim0-persistentvolumeclaim.yaml b/ecommerce-claim0-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..f0c8e57122 --- /dev/null +++ b/ecommerce-claim0-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: ecommerce-claim0 + name: ecommerce-claim0 + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/ecommerce-deployment.yaml b/ecommerce-deployment.yaml new file mode 100644 index 0000000000..c0ad16116c --- /dev/null +++ b/ecommerce-deployment.yaml @@ -0,0 +1,57 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: ecommerce + name: ecommerce + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: ecommerce + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: ecommerce + spec: + containers: + - args: + - bash + - -c + - source /edx/app/ecommerce/ecommerce_env && while true; do python /edx/app/ecommerce/ecommerce/manage.py runserver 0.0.0.0:18130; sleep 2; done + env: + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: ENABLE_DJANGO_TOOLBAR + value: "1" + image: edxops/ecommerce-dev:latest + name: edx.devstack.ecommerce + ports: + - containerPort: 18130 + hostPort: 18130 + protocol: TCP + resources: {} + stdin: true + tty: true + volumeMounts: + - mountPath: /edx/etc/ecommerce.yml + name: ecommerce-claim0 + hostname: ecommerce.devstack.edx + restartPolicy: Always + volumes: + - name: ecommerce-claim0 + persistentVolumeClaim: + claimName: ecommerce-claim0 +status: {} diff --git a/ecommerce-service.yaml b/ecommerce-service.yaml new file mode 100644 index 0000000000..e6f1940185 --- /dev/null +++ b/ecommerce-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: ecommerce + name: ecommerce + namespace: default +spec: + ports: + - name: "18130" + port: 18130 + targetPort: 18130 + selector: + io.kompose.service: ecommerce +status: + loadBalancer: {} diff --git a/edx-notes-api-deployment.yaml b/edx-notes-api-deployment.yaml new file mode 100644 index 0000000000..b3bad700eb --- /dev/null +++ b/edx-notes-api-deployment.yaml @@ -0,0 +1,63 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: edx-notes-api + name: edx-notes-api + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: edx-notes-api + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: edx-notes-api + spec: + containers: + - args: + - bash + - -c + - while true; do python /edx/app/notes/manage.py runserver 0.0.0.0:18120 --settings notesserver.settings.devstack; sleep 4; done + env: + - name: DB_ENGINE + value: django.db.backends.mysql + - name: DB_HOST + value: edx.devstack.mysql57 + - name: DB_NAME + value: notes + - name: DB_PASSWORD + value: password + - name: DB_PORT + value: "3306" + - name: DB_USER + value: notes001 + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: ELASTICSEARCH_DSL + value: http://edx.devstack.elasticsearch710:9200 + - name: ELASTICSEARCH_URL + value: http://edx.devstack.elasticsearch710:9200 + - name: ENABLE_DJANGO_TOOLBAR + value: "1" + image: openedx/edx-notes-api-dev:latest + name: edx.devstack.edxnotesapi + ports: + - containerPort: 18120 + hostPort: 18120 + protocol: TCP + resources: {} + hostname: edx_notes_api.devstack.edx + restartPolicy: Always +status: {} diff --git a/edx_notes_api-service.yaml b/edx_notes_api-service.yaml new file mode 100644 index 0000000000..5f64b59acd --- /dev/null +++ b/edx_notes_api-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: edx-notes-api + name: edx_notes_api + namespace: default +spec: + ports: + - name: "18120" + port: 18120 + targetPort: 18120 + selector: + io.kompose.service: edx-notes-api +status: + loadBalancer: {} diff --git a/edxapp-cms-assets-persistentvolumeclaim.yaml b/edxapp-cms-assets-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..353f6d530f --- /dev/null +++ b/edxapp-cms-assets-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: edxapp-cms-assets + name: edxapp-cms-assets + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/edxapp-lms-assets-persistentvolumeclaim.yaml b/edxapp-lms-assets-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..62056b77cc --- /dev/null +++ b/edxapp-lms-assets-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: edxapp-lms-assets + name: edxapp-lms-assets + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/elasticsearch-data-persistentvolumeclaim.yaml b/elasticsearch-data-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..79fa0b2941 --- /dev/null +++ b/elasticsearch-data-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: elasticsearch-data + name: elasticsearch-data + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/elasticsearch-deployment.yaml b/elasticsearch-deployment.yaml new file mode 100644 index 0000000000..fa92ff6345 --- /dev/null +++ b/elasticsearch-deployment.yaml @@ -0,0 +1,47 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: elasticsearch + name: elasticsearch + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: elasticsearch + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: elasticsearch + spec: + containers: + - image: edxops/elasticsearch:devstack + name: edx.devstack.elasticsearch + resources: {} + volumeMounts: + - mountPath: /usr/share/elasticsearch/data + name: elasticsearch-data + - mountPath: /usr/share/elasticsearch/logs + name: elasticsearch-data + hostname: elasticsearch.devstack.edx + restartPolicy: Always + volumes: + - name: elasticsearch-data + persistentVolumeClaim: + claimName: elasticsearch-data + - name: elasticsearch-data + persistentVolumeClaim: + claimName: elasticsearch-data +status: {} diff --git a/elasticsearch7-data-persistentvolumeclaim.yaml b/elasticsearch7-data-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..3bab1becd2 --- /dev/null +++ b/elasticsearch7-data-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: elasticsearch7-data + name: elasticsearch7-data + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/elasticsearch7-deployment.yaml b/elasticsearch7-deployment.yaml new file mode 100644 index 0000000000..a5addd56bb --- /dev/null +++ b/elasticsearch7-deployment.yaml @@ -0,0 +1,56 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: elasticsearch7 + name: elasticsearch7 + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: elasticsearch7 + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: elasticsearch7 + spec: + containers: + - env: + - name: ES_JAVA_OPTS + value: -Xms512m -Xmx512m + - name: bootstrap.memory_lock + value: "true" + - name: discovery.type + value: single-node + image: elasticsearch:7.8.1 + name: edx.devstack.elasticsearch7 + ports: + - containerPort: 9200 + hostPort: 9200 + protocol: TCP + - containerPort: 9300 + hostPort: 9300 + protocol: TCP + resources: {} + volumeMounts: + - mountPath: /usr/share/elasticsearch/data + name: elasticsearch7-data + hostname: elasticsearch7.devstack.edx + restartPolicy: Always + volumes: + - name: elasticsearch7-data + persistentVolumeClaim: + claimName: elasticsearch7-data +status: {} diff --git a/elasticsearch7-service.yaml b/elasticsearch7-service.yaml new file mode 100644 index 0000000000..ab137777a8 --- /dev/null +++ b/elasticsearch7-service.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: elasticsearch7 + name: elasticsearch7 + namespace: default +spec: + ports: + - name: "9200" + port: 9200 + targetPort: 9200 + - name: "9300" + port: 9300 + targetPort: 9300 + selector: + io.kompose.service: elasticsearch7 +status: + loadBalancer: {} diff --git a/elasticsearch710-data-persistentvolumeclaim.yaml b/elasticsearch710-data-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..2ccd8ae879 --- /dev/null +++ b/elasticsearch710-data-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: elasticsearch710-data + name: elasticsearch710-data + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/elasticsearch710-deployment.yaml b/elasticsearch710-deployment.yaml new file mode 100644 index 0000000000..3821a1cc09 --- /dev/null +++ b/elasticsearch710-deployment.yaml @@ -0,0 +1,56 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: elasticsearch710 + name: elasticsearch710 + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: elasticsearch710 + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: elasticsearch710 + spec: + containers: + - env: + - name: ES_JAVA_OPTS + value: -Xms512m -Xmx512m + - name: bootstrap.memory_lock + value: "true" + - name: discovery.type + value: single-node + image: elasticsearch:7.10.1 + name: edx.devstack.elasticsearch710 + ports: + - containerPort: 9200 + hostPort: 9201 + protocol: TCP + - containerPort: 9300 + hostPort: 9301 + protocol: TCP + resources: {} + volumeMounts: + - mountPath: /usr/share/elasticsearch/data + name: elasticsearch710-data + hostname: elasticsearch710.devstack.edx + restartPolicy: Always + volumes: + - name: elasticsearch710-data + persistentVolumeClaim: + claimName: elasticsearch710-data +status: {} diff --git a/elasticsearch710-service.yaml b/elasticsearch710-service.yaml new file mode 100644 index 0000000000..8b5cbf1691 --- /dev/null +++ b/elasticsearch710-service.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: elasticsearch710 + name: elasticsearch710 + namespace: default +spec: + ports: + - name: "9201" + port: 9201 + targetPort: 9200 + - name: "9301" + port: 9301 + targetPort: 9300 + selector: + io.kompose.service: elasticsearch710 +status: + loadBalancer: {} diff --git a/firefox-claim0-persistentvolumeclaim.yaml b/firefox-claim0-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..d463ae227f --- /dev/null +++ b/firefox-claim0-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: firefox-claim0 + name: firefox-claim0 + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/firefox-deployment.yaml b/firefox-deployment.yaml new file mode 100644 index 0000000000..b99fd4e53b --- /dev/null +++ b/firefox-deployment.yaml @@ -0,0 +1,46 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: firefox + name: firefox + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: firefox + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: firefox + spec: + containers: + - image: edxops/firefox:latest + name: edx.devstack.firefox + ports: + - containerPort: 5900 + hostPort: 25900 + protocol: TCP + resources: {} + volumeMounts: + - mountPath: /edx/app/edxapp/edx-platform/common/test/data + name: firefox-claim0 + hostname: firefox.devstack.edx + restartPolicy: Always + volumes: + - name: firefox-claim0 + persistentVolumeClaim: + claimName: firefox-claim0 +status: {} diff --git a/firefox-service.yaml b/firefox-service.yaml new file mode 100644 index 0000000000..d3405b3f0a --- /dev/null +++ b/firefox-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: firefox + name: firefox + namespace: default +spec: + ports: + - name: "25900" + port: 25900 + targetPort: 5900 + selector: + io.kompose.service: firefox +status: + loadBalancer: {} diff --git a/forum-deployment.yaml b/forum-deployment.yaml new file mode 100644 index 0000000000..35c77096f5 --- /dev/null +++ b/forum-deployment.yaml @@ -0,0 +1,44 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: forum + name: forum + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: forum + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: forum + spec: + containers: + - args: + - bash + - -c + - source /edx/app/forum/ruby_env && source /edx/app/forum/devstack_forum_env && cd /edx/app/forum/cs_comments_service && bundle install && while true; do ./bin/unicorn -c config/unicorn_tcp.rb -I .; sleep 2; done + image: edxops/forum:latest + name: edx.devstack.forum + ports: + - containerPort: 4567 + hostPort: 44567 + protocol: TCP + resources: {} + stdin: true + tty: true + hostname: forum.devstack.edx + restartPolicy: Always +status: {} diff --git a/forum-service.yaml b/forum-service.yaml new file mode 100644 index 0000000000..48fae9494a --- /dev/null +++ b/forum-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: forum + name: forum + namespace: default +spec: + ports: + - name: "44567" + port: 44567 + targetPort: 4567 + selector: + io.kompose.service: forum +status: + loadBalancer: {} diff --git a/frontend-app-account-deployment.yaml b/frontend-app-account-deployment.yaml new file mode 100644 index 0000000000..86eae753af --- /dev/null +++ b/frontend-app-account-deployment.yaml @@ -0,0 +1,47 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-account + name: frontend-app-account + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: frontend-app-account + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: frontend-app-account + spec: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx.devstack.frontend-app-account + ports: + - containerPort: 1997 + hostPort: 1997 + protocol: TCP + resources: {} + stdin: true + tty: true + workingDir: /edx/app/frontend-app-account + restartPolicy: Always +status: {} diff --git a/frontend-app-account-service.yaml b/frontend-app-account-service.yaml new file mode 100644 index 0000000000..bec4cb61a0 --- /dev/null +++ b/frontend-app-account-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-account + name: frontend-app-account + namespace: default +spec: + ports: + - name: "1997" + port: 1997 + targetPort: 1997 + selector: + io.kompose.service: frontend-app-account +status: + loadBalancer: {} diff --git a/frontend-app-authn-deployment.yaml b/frontend-app-authn-deployment.yaml new file mode 100644 index 0000000000..aed215cdc2 --- /dev/null +++ b/frontend-app-authn-deployment.yaml @@ -0,0 +1,47 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-authn + name: frontend-app-authn + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: frontend-app-authn + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: frontend-app-authn + spec: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx.devstack.frontend-app-authn + ports: + - containerPort: 1999 + hostPort: 1999 + protocol: TCP + resources: {} + stdin: true + tty: true + workingDir: /edx/app/frontend-app-authn + restartPolicy: Always +status: {} diff --git a/frontend-app-authn-service.yaml b/frontend-app-authn-service.yaml new file mode 100644 index 0000000000..93cb6e3c02 --- /dev/null +++ b/frontend-app-authn-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-authn + name: frontend-app-authn + namespace: default +spec: + ports: + - name: "1999" + port: 1999 + targetPort: 1999 + selector: + io.kompose.service: frontend-app-authn +status: + loadBalancer: {} diff --git a/frontend-app-course-authoring-deployment.yaml b/frontend-app-course-authoring-deployment.yaml new file mode 100644 index 0000000000..780f26907e --- /dev/null +++ b/frontend-app-course-authoring-deployment.yaml @@ -0,0 +1,47 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-course-authoring + name: frontend-app-course-authoring + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: frontend-app-course-authoring + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: frontend-app-course-authoring + spec: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx.devstack.frontend-app-course-authoring + ports: + - containerPort: 2001 + hostPort: 2001 + protocol: TCP + resources: {} + stdin: true + tty: true + workingDir: /edx/app/frontend-app-course-authoring + restartPolicy: Always +status: {} diff --git a/frontend-app-course-authoring-service.yaml b/frontend-app-course-authoring-service.yaml new file mode 100644 index 0000000000..935d4fedd3 --- /dev/null +++ b/frontend-app-course-authoring-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-course-authoring + name: frontend-app-course-authoring + namespace: default +spec: + ports: + - name: "2001" + port: 2001 + targetPort: 2001 + selector: + io.kompose.service: frontend-app-course-authoring +status: + loadBalancer: {} diff --git a/frontend-app-gradebook-deployment.yaml b/frontend-app-gradebook-deployment.yaml new file mode 100644 index 0000000000..124ff8912f --- /dev/null +++ b/frontend-app-gradebook-deployment.yaml @@ -0,0 +1,47 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-gradebook + name: frontend-app-gradebook + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: frontend-app-gradebook + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: frontend-app-gradebook + spec: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx.devstack.frontend-app-gradebook + ports: + - containerPort: 1994 + hostPort: 1994 + protocol: TCP + resources: {} + stdin: true + tty: true + workingDir: /edx/app/frontend-app-gradebook + restartPolicy: Always +status: {} diff --git a/frontend-app-gradebook-service.yaml b/frontend-app-gradebook-service.yaml new file mode 100644 index 0000000000..e8a5b34bb7 --- /dev/null +++ b/frontend-app-gradebook-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-gradebook + name: frontend-app-gradebook + namespace: default +spec: + ports: + - name: "1994" + port: 1994 + targetPort: 1994 + selector: + io.kompose.service: frontend-app-gradebook +status: + loadBalancer: {} diff --git a/frontend-app-learning-deployment.yaml b/frontend-app-learning-deployment.yaml new file mode 100644 index 0000000000..e84dfaa227 --- /dev/null +++ b/frontend-app-learning-deployment.yaml @@ -0,0 +1,47 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-learning + name: frontend-app-learning + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: frontend-app-learning + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: frontend-app-learning + spec: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx.devstack.frontend-app-learning + ports: + - containerPort: 2000 + hostPort: 2000 + protocol: TCP + resources: {} + stdin: true + tty: true + workingDir: /edx/app/frontend-app-learning + restartPolicy: Always +status: {} diff --git a/frontend-app-learning-service.yaml b/frontend-app-learning-service.yaml new file mode 100644 index 0000000000..d8c2cea698 --- /dev/null +++ b/frontend-app-learning-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-learning + name: frontend-app-learning + namespace: default +spec: + ports: + - name: "2000" + port: 2000 + targetPort: 2000 + selector: + io.kompose.service: frontend-app-learning +status: + loadBalancer: {} diff --git a/frontend-app-library-authoring-deployment.yaml b/frontend-app-library-authoring-deployment.yaml new file mode 100644 index 0000000000..7e9312fb71 --- /dev/null +++ b/frontend-app-library-authoring-deployment.yaml @@ -0,0 +1,47 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-library-authoring + name: frontend-app-library-authoring + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: frontend-app-library-authoring + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: frontend-app-library-authoring + spec: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx.devstack.frontend-app-library-authoring + ports: + - containerPort: 3001 + hostPort: 3001 + protocol: TCP + resources: {} + stdin: true + tty: true + workingDir: /edx/app/frontend-app-library-authoring + restartPolicy: Always +status: {} diff --git a/frontend-app-library-authoring-service.yaml b/frontend-app-library-authoring-service.yaml new file mode 100644 index 0000000000..5ba05df8de --- /dev/null +++ b/frontend-app-library-authoring-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-library-authoring + name: frontend-app-library-authoring + namespace: default +spec: + ports: + - name: "3001" + port: 3001 + targetPort: 3001 + selector: + io.kompose.service: frontend-app-library-authoring +status: + loadBalancer: {} diff --git a/frontend-app-ora-grading-deployment.yaml b/frontend-app-ora-grading-deployment.yaml new file mode 100644 index 0000000000..7dbe5fd0e7 --- /dev/null +++ b/frontend-app-ora-grading-deployment.yaml @@ -0,0 +1,47 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-ora-grading + name: frontend-app-ora-grading + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: frontend-app-ora-grading + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: frontend-app-ora-grading + spec: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx.devstack.frontend-app-ora-grading + ports: + - containerPort: 1993 + hostPort: 1993 + protocol: TCP + resources: {} + stdin: true + tty: true + workingDir: /edx/app/frontend-app-ora-grading + restartPolicy: Always +status: {} diff --git a/frontend-app-ora-grading-service.yaml b/frontend-app-ora-grading-service.yaml new file mode 100644 index 0000000000..ee6c3fcffd --- /dev/null +++ b/frontend-app-ora-grading-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-ora-grading + name: frontend-app-ora-grading + namespace: default +spec: + ports: + - name: "1993" + port: 1993 + targetPort: 1993 + selector: + io.kompose.service: frontend-app-ora-grading +status: + loadBalancer: {} diff --git a/frontend-app-payment-deployment.yaml b/frontend-app-payment-deployment.yaml new file mode 100644 index 0000000000..a34c9d8f09 --- /dev/null +++ b/frontend-app-payment-deployment.yaml @@ -0,0 +1,47 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-payment + name: frontend-app-payment + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: frontend-app-payment + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: frontend-app-payment + spec: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx.devstack.frontend-app-payment + ports: + - containerPort: 1998 + hostPort: 1998 + protocol: TCP + resources: {} + stdin: true + tty: true + workingDir: /edx/app/frontend-app-payment + restartPolicy: Always +status: {} diff --git a/frontend-app-payment-service.yaml b/frontend-app-payment-service.yaml new file mode 100644 index 0000000000..3abab74ca8 --- /dev/null +++ b/frontend-app-payment-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-payment + name: frontend-app-payment + namespace: default +spec: + ports: + - name: "1998" + port: 1998 + targetPort: 1998 + selector: + io.kompose.service: frontend-app-payment +status: + loadBalancer: {} diff --git a/frontend-app-profile-deployment.yaml b/frontend-app-profile-deployment.yaml new file mode 100644 index 0000000000..b914d5f8f0 --- /dev/null +++ b/frontend-app-profile-deployment.yaml @@ -0,0 +1,47 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-profile + name: frontend-app-profile + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: frontend-app-profile + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: frontend-app-profile + spec: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx.devstack.frontend-app-profile + ports: + - containerPort: 1995 + hostPort: 1995 + protocol: TCP + resources: {} + stdin: true + tty: true + workingDir: /edx/app/frontend-app-profile + restartPolicy: Always +status: {} diff --git a/frontend-app-profile-service.yaml b/frontend-app-profile-service.yaml new file mode 100644 index 0000000000..862d873d2e --- /dev/null +++ b/frontend-app-profile-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-profile + name: frontend-app-profile + namespace: default +spec: + ports: + - name: "1995" + port: 1995 + targetPort: 1995 + selector: + io.kompose.service: frontend-app-profile +status: + loadBalancer: {} diff --git a/frontend-app-program-console-deployment.yaml b/frontend-app-program-console-deployment.yaml new file mode 100644 index 0000000000..e7f2ba0f6e --- /dev/null +++ b/frontend-app-program-console-deployment.yaml @@ -0,0 +1,47 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-program-console + name: frontend-app-program-console + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: frontend-app-program-console + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: frontend-app-program-console + spec: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx.devstack.frontend-app-program-console + ports: + - containerPort: 1976 + hostPort: 1976 + protocol: TCP + resources: {} + stdin: true + tty: true + workingDir: /edx/app/frontend-app-program-console + restartPolicy: Always +status: {} diff --git a/frontend-app-program-console-service.yaml b/frontend-app-program-console-service.yaml new file mode 100644 index 0000000000..40b09e7d96 --- /dev/null +++ b/frontend-app-program-console-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-program-console + name: frontend-app-program-console + namespace: default +spec: + ports: + - name: "1976" + port: 1976 + targetPort: 1976 + selector: + io.kompose.service: frontend-app-program-console +status: + loadBalancer: {} diff --git a/frontend-app-publisher-deployment.yaml b/frontend-app-publisher-deployment.yaml new file mode 100644 index 0000000000..4bc426ad5a --- /dev/null +++ b/frontend-app-publisher-deployment.yaml @@ -0,0 +1,47 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-publisher + name: frontend-app-publisher + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: frontend-app-publisher + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: frontend-app-publisher + spec: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx.devstack.frontend-app-publisher + ports: + - containerPort: 18400 + hostPort: 18400 + protocol: TCP + resources: {} + stdin: true + tty: true + workingDir: /edx/app/frontend-app-publisher + restartPolicy: Always +status: {} diff --git a/frontend-app-publisher-service.yaml b/frontend-app-publisher-service.yaml new file mode 100644 index 0000000000..7f317a91ef --- /dev/null +++ b/frontend-app-publisher-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: frontend-app-publisher + name: frontend-app-publisher + namespace: default +spec: + ports: + - name: "18400" + port: 18400 + targetPort: 18400 + selector: + io.kompose.service: frontend-app-publisher +status: + loadBalancer: {} diff --git a/insights-claim0-persistentvolumeclaim.yaml b/insights-claim0-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..950d2faee2 --- /dev/null +++ b/insights-claim0-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: insights-claim0 + name: insights-claim0 + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/insights-claim1-persistentvolumeclaim.yaml b/insights-claim1-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..03f7332b17 --- /dev/null +++ b/insights-claim1-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: insights-claim1 + name: insights-claim1 + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/insights-deployment.yaml b/insights-deployment.yaml new file mode 100644 index 0000000000..d1112f8e1e --- /dev/null +++ b/insights-deployment.yaml @@ -0,0 +1,75 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: insights + name: insights + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: insights + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: insights + spec: + containers: + - args: + - bash + - -c + - source /edx/app/insights/insights_env && while true; do python /edx/app/insights/insights/manage.py runserver 0.0.0.0:18110 --settings analytics_dashboard.settings.devstack; sleep 2; done + env: + - name: ANALYTICS_DASHBOARD_CFG + value: /edx/etc/insights.yml + - name: DB_HOST + value: edx.devstack.mysql57 + - name: DB_NAME + value: dashboard + - name: DB_PASSWORD + value: password + - name: DB_PORT + value: "3306" + - name: DB_USER + value: analytics001 + - name: DJANGO_SETTINGS_MODULE + value: analytics_dashboard.settings.devstack + - name: LMS_HOST + value: http://localhost:18000 + image: edxops/insights-dev:latest + name: edx.devstack.insights + ports: + - containerPort: 18110 + hostPort: 18110 + protocol: TCP + resources: {} + stdin: true + tty: true + volumeMounts: + - mountPath: /edx/var/insights + name: insights-claim0 + - mountPath: /edx/etc/insights.yml + name: insights-claim1 + workingDir: /edx/app/insights/insights + hostname: insights.devstack.edx + restartPolicy: Always + volumes: + - name: insights-claim0 + persistentVolumeClaim: + claimName: insights-claim0 + - name: insights-claim1 + persistentVolumeClaim: + claimName: insights-claim1 +status: {} diff --git a/insights-service.yaml b/insights-service.yaml new file mode 100644 index 0000000000..905691cbd7 --- /dev/null +++ b/insights-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: insights + name: insights + namespace: default +spec: + ports: + - name: "18110" + port: 18110 + targetPort: 18110 + selector: + io.kompose.service: insights +status: + loadBalancer: {} diff --git a/kafka-control-center-deployment.yaml b/kafka-control-center-deployment.yaml new file mode 100644 index 0000000000..408801d76f --- /dev/null +++ b/kafka-control-center-deployment.yaml @@ -0,0 +1,53 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: kafka-control-center + name: kafka-control-center + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: kafka-control-center + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: kafka-control-center + spec: + containers: + - env: + - name: CONFLUENT_METRICS_TOPIC_REPLICATION + value: "1" + - name: CONTROL_CENTER_BOOTSTRAP_SERVERS + value: edx.devstack.kafka:29092 + - name: CONTROL_CENTER_INTERNAL_TOPICS_PARTITIONS + value: "1" + - name: CONTROL_CENTER_MONITORING_INTERCEPTOR_TOPIC_PARTITIONS + value: "1" + - name: CONTROL_CENTER_REPLICATION_FACTOR + value: "1" + - name: CONTROL_CENTER_SCHEMA_REGISTRY_URL + value: http://edx.devstack.schema-registry:8081 + - name: PORT + value: "9021" + image: confluentinc/cp-enterprise-control-center:6.2.1 + name: edx.devstack.kafka-control-center + ports: + - containerPort: 9021 + hostPort: 9021 + protocol: TCP + resources: {} + hostname: kafka-control-center.devstack.edx + restartPolicy: Always +status: {} diff --git a/kafka-control-center-service.yaml b/kafka-control-center-service.yaml new file mode 100644 index 0000000000..8876671f09 --- /dev/null +++ b/kafka-control-center-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: kafka-control-center + name: kafka-control-center + namespace: default +spec: + ports: + - name: "9021" + port: 9021 + targetPort: 9021 + selector: + io.kompose.service: kafka-control-center +status: + loadBalancer: {} diff --git a/kafka-deployment.yaml b/kafka-deployment.yaml new file mode 100644 index 0000000000..2bc2b51961 --- /dev/null +++ b/kafka-deployment.yaml @@ -0,0 +1,78 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: kafka + name: kafka + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: kafka + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: kafka + spec: + containers: + - env: + - name: CONFLUENT_METRICS_ENABLE + value: "true" + - name: CONFLUENT_METRICS_REPORTER_BOOTSTRAP_SERVERS + value: edx.devstack.kafka:29092 + - name: CONFLUENT_METRICS_REPORTER_TOPIC_REPLICAS + value: "1" + - name: CONFLUENT_SUPPORT_CUSTOMER_ID + value: anonymous + - name: KAFKA_ADVERTISED_LISTENERS + value: PLAINTEXT://edx.devstack.kafka:29092,PLAINTEXT_HOST://localhost:9092 + - name: KAFKA_BROKER_ID + value: "1" + - name: KAFKA_CONFLUENT_BALANCER_TOPIC_REPLICATION_FACTOR + value: "1" + - name: KAFKA_CONFLUENT_LICENSE_TOPIC_REPLICATION_FACTOR + value: "1" + - name: KAFKA_CONFLUENT_SCHEMA_REGISTRY_URL + value: http://edx.devstack.schema-registry:8081 + - name: KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS + value: "0" + - name: KAFKA_JMX_HOSTNAME + value: localhost + - name: KAFKA_JMX_PORT + value: "9101" + - name: KAFKA_LISTENER_SECURITY_PROTOCOL_MAP + value: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT + - name: KAFKA_METRIC_REPORTERS + value: io.confluent.metrics.reporter.ConfluentMetricsReporter + - name: KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR + value: "1" + - name: KAFKA_TRANSACTION_STATE_LOG_MIN_ISR + value: "1" + - name: KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR + value: "1" + - name: KAFKA_ZOOKEEPER_CONNECT + value: edx.devstack.zookeeper:2181 + image: confluentinc/cp-server:6.2.1 + name: edx.devstack.kafka + ports: + - containerPort: 9092 + hostPort: 9092 + protocol: TCP + - containerPort: 9101 + hostPort: 9101 + protocol: TCP + resources: {} + hostname: kafka.devstack.edx + restartPolicy: Always +status: {} diff --git a/kafka-service.yaml b/kafka-service.yaml new file mode 100644 index 0000000000..a8dea4dbce --- /dev/null +++ b/kafka-service.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: kafka + name: kafka + namespace: default +spec: + ports: + - name: "9092" + port: 9092 + targetPort: 9092 + - name: "9101" + port: 9101 + targetPort: 9101 + selector: + io.kompose.service: kafka +status: + loadBalancer: {} diff --git a/lms-deployment.yaml b/lms-deployment.yaml new file mode 100644 index 0000000000..17011964a7 --- /dev/null +++ b/lms-deployment.yaml @@ -0,0 +1,78 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: lms + name: lms + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: lms + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: lms + spec: + containers: + - args: + - bash + - -c + - source /edx/app/edxapp/edxapp_env && while true; do python /edx/app/edxapp/edx-platform/manage.py lms runserver 0.0.0.0:18000 --settings devstack_docker; sleep 2; done + env: + - name: BOK_CHOY_CMS_PORT + value: "18031" + - name: BOK_CHOY_HOSTNAME + value: edx.devstack.lms + - name: BOK_CHOY_LMS_PORT + value: "18003" + - name: CMS_CFG + value: /edx/etc/studio.yml + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: EDXAPP_TEST_MONGO_HOST + value: edx.devstack.mongo + - name: LMS_CFG + value: /edx/etc/lms.yml + - name: NO_PYTHON_UNINSTALL + value: "1" + - name: PATH + value: /edx/app/edxapp/venvs/edxapp/bin:/edx/app/edxapp/nodeenv/bin:/edx/app/edxapp/edx-platform/node_modules/.bin:/edx/app/edxapp/edx-platform/bin:/Users/dianahuang/bin:/Users/dianahuang/bin:/Users/dianahuang/.orbstack/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin + - name: SERVICE_VARIANT + value: lms + - name: VIRTUAL_ENV + value: /edx/app/edxapp/venvs/edxapp + image: openedx/lms-dev:latest + name: edx.devstack.lms + ports: + - containerPort: 18000 + hostPort: 18000 + protocol: TCP + - containerPort: 19876 + hostPort: 19876 + protocol: TCP + resources: {} + stdin: true + tty: true + volumeMounts: + - mountPath: /edx/var/edxapp/staticfiles + name: edxapp-lms-assets + hostname: lms.devstack.edx + restartPolicy: Always + volumes: + - name: edxapp-lms-assets + persistentVolumeClaim: + claimName: edxapp-lms-assets +status: {} diff --git a/lms-service.yaml b/lms-service.yaml new file mode 100644 index 0000000000..009c51ab66 --- /dev/null +++ b/lms-service.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: lms + name: lms + namespace: default +spec: + ports: + - name: "18000" + port: 18000 + targetPort: 18000 + - name: "19876" + port: 19876 + targetPort: 19876 + selector: + io.kompose.service: lms +status: + loadBalancer: {} diff --git a/memcached-deployment.yaml b/memcached-deployment.yaml new file mode 100644 index 0000000000..15c5c016a9 --- /dev/null +++ b/memcached-deployment.yaml @@ -0,0 +1,34 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: memcached + name: memcached + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: memcached + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: memcached + spec: + containers: + - image: memcached:1.5.10-alpine + name: edx.devstack.memcached + resources: {} + hostname: memcached.devstack.edx + restartPolicy: Always +status: {} diff --git a/mongo-data-persistentvolumeclaim.yaml b/mongo-data-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..cff8564dae --- /dev/null +++ b/mongo-data-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: mongo-data + name: mongo-data + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/mongo-deployment.yaml b/mongo-deployment.yaml new file mode 100644 index 0000000000..ae7a4c8a61 --- /dev/null +++ b/mongo-deployment.yaml @@ -0,0 +1,51 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: mongo + name: mongo + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: mongo + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: mongo + spec: + containers: + - args: + - mongod + - --nojournal + - --storageEngine + - wiredTiger + image: mongo:4.4.18 + name: edx.devstack.mongo + ports: + - containerPort: 27017 + hostPort: 27017 + protocol: TCP + resources: {} + volumeMounts: + - mountPath: /data/db + name: mongo-data + hostname: mongo.devstack.edx + restartPolicy: Always + volumes: + - name: mongo-data + persistentVolumeClaim: + claimName: mongo-data +status: {} diff --git a/mongo-service.yaml b/mongo-service.yaml new file mode 100644 index 0000000000..0aa9245740 --- /dev/null +++ b/mongo-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: mongo + name: mongo + namespace: default +spec: + ports: + - name: "27017" + port: 27017 + targetPort: 27017 + selector: + io.kompose.service: mongo +status: + loadBalancer: {} diff --git a/mysql57-data-persistentvolumeclaim.yaml b/mysql57-data-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..b455bef945 --- /dev/null +++ b/mysql57-data-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: mysql57-data + name: mysql57-data + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/mysql57-deployment.yaml b/mysql57-deployment.yaml new file mode 100644 index 0000000000..7bfbf5b157 --- /dev/null +++ b/mysql57-deployment.yaml @@ -0,0 +1,54 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: mysql57 + name: mysql57 + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: mysql57 + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: mysql57 + spec: + containers: + - args: + - mysqld + - --character-set-server=utf8 + - --collation-server=utf8_general_ci + env: + - name: MYSQL_ALLOW_EMPTY_PASSWORD + value: "yes" + - name: MYSQL_ROOT_PASSWORD + image: edxops/mysql:5.7 + name: edx.devstack.mysql57 + ports: + - containerPort: 3306 + hostPort: 3506 + protocol: TCP + resources: {} + volumeMounts: + - mountPath: /var/lib/mysql + name: mysql57-data + hostname: mysql57.devstack.edx + restartPolicy: Always + volumes: + - name: mysql57-data + persistentVolumeClaim: + claimName: mysql57-data +status: {} diff --git a/mysql57-service.yaml b/mysql57-service.yaml new file mode 100644 index 0000000000..ccfc103c09 --- /dev/null +++ b/mysql57-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: mysql57 + name: mysql57 + namespace: default +spec: + ports: + - name: "3506" + port: 3506 + targetPort: 3306 + selector: + io.kompose.service: mysql57 +status: + loadBalancer: {} diff --git a/mysql80-data-persistentvolumeclaim.yaml b/mysql80-data-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..32b3bafe71 --- /dev/null +++ b/mysql80-data-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: mysql80-data + name: mysql80-data + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/mysql80-deployment.yaml b/mysql80-deployment.yaml new file mode 100644 index 0000000000..4a6d86ed1e --- /dev/null +++ b/mysql80-deployment.yaml @@ -0,0 +1,54 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: mysql80 + name: mysql80 + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: mysql80 + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: mysql80 + spec: + containers: + - args: + - mysqld + - --character-set-server=utf8 + - --collation-server=utf8_general_ci + env: + - name: MYSQL_ALLOW_EMPTY_PASSWORD + value: "yes" + - name: MYSQL_ROOT_PASSWORD + image: mysql:8.0.33-oracle + name: edx.devstack.mysql80 + ports: + - containerPort: 3306 + hostPort: 3406 + protocol: TCP + resources: {} + volumeMounts: + - mountPath: /var/lib/mysql + name: mysql80-data + hostname: mysql80.devstack.edx + restartPolicy: Always + volumes: + - name: mysql80-data + persistentVolumeClaim: + claimName: mysql80-data +status: {} diff --git a/mysql80-service.yaml b/mysql80-service.yaml new file mode 100644 index 0000000000..ff38d368e7 --- /dev/null +++ b/mysql80-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: mysql80 + name: mysql80 + namespace: default +spec: + ports: + - name: "3406" + port: 3406 + targetPort: 3306 + selector: + io.kompose.service: mysql80 +status: + loadBalancer: {} diff --git a/opensearch12-data-persistentvolumeclaim.yaml b/opensearch12-data-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..f1f108b1ef --- /dev/null +++ b/opensearch12-data-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: opensearch12-data + name: opensearch12-data + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/opensearch12-deployment.yaml b/opensearch12-deployment.yaml new file mode 100644 index 0000000000..ebe0e81b06 --- /dev/null +++ b/opensearch12-deployment.yaml @@ -0,0 +1,56 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: opensearch12 + name: opensearch12 + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: opensearch12 + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: opensearch12 + spec: + containers: + - env: + - name: ES_JAVA_OPTS + value: -Xms512m -Xmx512m + - name: bootstrap.memory_lock + value: "true" + - name: discovery.type + value: single-node + image: opensearchproject/opensearch:1.2.0 + name: edx.devstack.opensearch12 + ports: + - containerPort: 9200 + hostPort: 9202 + protocol: TCP + - containerPort: 9600 + hostPort: 9600 + protocol: TCP + resources: {} + volumeMounts: + - mountPath: /usr/share/opensearch/data + name: opensearch12-data + hostname: opensearch12.devstack.edx + restartPolicy: Always + volumes: + - name: opensearch12-data + persistentVolumeClaim: + claimName: opensearch12-data +status: {} diff --git a/opensearch12-service.yaml b/opensearch12-service.yaml new file mode 100644 index 0000000000..f4b112e312 --- /dev/null +++ b/opensearch12-service.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: opensearch12 + name: opensearch12 + namespace: default +spec: + ports: + - name: "9202" + port: 9202 + targetPort: 9200 + - name: "9600" + port: 9600 + targetPort: 9600 + selector: + io.kompose.service: opensearch12 +status: + loadBalancer: {} diff --git a/redis-deployment.yaml b/redis-deployment.yaml new file mode 100644 index 0000000000..328d55d5e5 --- /dev/null +++ b/redis-deployment.yaml @@ -0,0 +1,38 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: redis + name: redis + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: redis + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: redis + spec: + containers: + - args: + - redis-server + - --requirepass + - password + image: redis:6.2.12 + name: edx.devstack.redis + resources: {} + hostname: redis.devstack.edx + restartPolicy: Always +status: {} diff --git a/registrar-claim0-persistentvolumeclaim.yaml b/registrar-claim0-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..ddb27d6a04 --- /dev/null +++ b/registrar-claim0-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: registrar-claim0 + name: registrar-claim0 + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/registrar-claim1-persistentvolumeclaim.yaml b/registrar-claim1-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..7a3d625819 --- /dev/null +++ b/registrar-claim1-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: registrar-claim1 + name: registrar-claim1 + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/registrar-deployment.yaml b/registrar-deployment.yaml new file mode 100644 index 0000000000..6c5f75332b --- /dev/null +++ b/registrar-deployment.yaml @@ -0,0 +1,89 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: registrar + name: registrar + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: registrar + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: registrar + spec: + containers: + - args: + - bash + - -c + - while true; do python /edx/app/registrar/manage.py runserver 0.0.0.0:18734; sleep 2; done + env: + - name: ANALYTICS_DASHBOARD_CFG + value: /edx/etc/registrar.yml + - name: CELERY_ALWAYS_EAGER + value: "false" + - name: CELERY_BROKER_HOSTNAME + value: edx.devstack.redis:6379 + - name: CELERY_BROKER_PASSWORD + value: password + - name: CELERY_BROKER_TRANSPORT + value: redis + - name: CELERY_BROKER_VHOST + value: "10" + - name: DB_HOST + value: edx.devstack.mysql57 + - name: DB_NAME + value: registrar + - name: DB_PASSWORD + value: password + - name: DB_PORT + value: "3306" + - name: DB_USER + value: registrar001 + - name: DJANGO_SETTINGS_MODULE + value: registrar.settings.devstack + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: LMS_HOST + value: http://localhost:18000 + - name: MEMCACHE_HOST + value: edx.devstack.memcached + image: edxops/registrar-dev:latest + name: edx.devstack.registrar + ports: + - containerPort: 18734 + hostPort: 18734 + protocol: TCP + resources: {} + stdin: true + tty: true + volumeMounts: + - mountPath: /edx/var/registrar + name: registrar-claim0 + - mountPath: /edx/etc/registrar.yml + name: registrar-claim1 + workingDir: /edx/app/registrar + hostname: registrar.devstack.edx + restartPolicy: Always + volumes: + - name: registrar-claim0 + persistentVolumeClaim: + claimName: registrar-claim0 + - name: registrar-claim1 + persistentVolumeClaim: + claimName: registrar-claim1 +status: {} diff --git a/registrar-service.yaml b/registrar-service.yaml new file mode 100644 index 0000000000..4404f38461 --- /dev/null +++ b/registrar-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: registrar + name: registrar + namespace: default +spec: + ports: + - name: "18734" + port: 18734 + targetPort: 18734 + selector: + io.kompose.service: registrar +status: + loadBalancer: {} diff --git a/registrar-worker-claim0-persistentvolumeclaim.yaml b/registrar-worker-claim0-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..64af664aba --- /dev/null +++ b/registrar-worker-claim0-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: registrar-worker-claim0 + name: registrar-worker-claim0 + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/registrar-worker-deployment.yaml b/registrar-worker-deployment.yaml new file mode 100644 index 0000000000..6242723198 --- /dev/null +++ b/registrar-worker-deployment.yaml @@ -0,0 +1,79 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: registrar-worker + name: registrar-worker + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: registrar-worker + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: registrar-worker + spec: + containers: + - args: + - bash + - -c + - cd /edx/app/registrar && celery -A registrar worker -l debug -c 2 + env: + - name: CELERY_BROKER_HOSTNAME + value: edx.devstack.redis:6379 + - name: CELERY_BROKER_PASSWORD + value: password + - name: CELERY_BROKER_TRANSPORT + value: redis + - name: CELERY_BROKER_VHOST + value: "10" + - name: DB_HOST + value: edx.devstack.mysql57 + - name: DB_NAME + value: registrar + - name: DB_PASSWORD + value: password + - name: DB_PORT + value: "3306" + - name: DB_USER + value: registrar001 + - name: DJANGO_SETTINGS_MODULE + value: registrar.settings.devstack + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: LMS_HOST + value: http://localhost:18000 + - name: MEMCACHE_HOST + value: edx.devstack.memcached + image: edxops/registrar-dev:latest + name: edx.devstack.registrar-worker + ports: + - containerPort: 18735 + hostPort: 18735 + protocol: TCP + resources: {} + stdin: true + tty: true + volumeMounts: + - mountPath: /edx/var/registrar + name: registrar-worker-claim0 + hostname: registrar-worker.devstack.edx + restartPolicy: Always + volumes: + - name: registrar-worker-claim0 + persistentVolumeClaim: + claimName: registrar-worker-claim0 +status: {} diff --git a/registrar-worker-service.yaml b/registrar-worker-service.yaml new file mode 100644 index 0000000000..47ccce12dd --- /dev/null +++ b/registrar-worker-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: registrar-worker + name: registrar-worker + namespace: default +spec: + ports: + - name: "18735" + port: 18735 + targetPort: 18735 + selector: + io.kompose.service: registrar-worker +status: + loadBalancer: {} diff --git a/schema-registry-deployment.yaml b/schema-registry-deployment.yaml new file mode 100644 index 0000000000..0437483662 --- /dev/null +++ b/schema-registry-deployment.yaml @@ -0,0 +1,45 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: schema-registry + name: schema-registry + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: schema-registry + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: schema-registry + spec: + containers: + - env: + - name: SCHEMA_REGISTRY_HOST_NAME + value: schema-registry.devstack.edx + - name: SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS + value: edx.devstack.kafka:29092 + - name: SCHEMA_REGISTRY_LISTENERS + value: http://0.0.0.0:8081 + image: confluentinc/cp-schema-registry:6.2.1 + name: edx.devstack.schema-registry + ports: + - containerPort: 8081 + hostPort: 8081 + protocol: TCP + resources: {} + hostname: schema-registry.devstack.edx + restartPolicy: Always +status: {} diff --git a/schema-registry-service.yaml b/schema-registry-service.yaml new file mode 100644 index 0000000000..7961f0f704 --- /dev/null +++ b/schema-registry-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: schema-registry + name: schema-registry + namespace: default +spec: + ports: + - name: "8081" + port: 8081 + targetPort: 8081 + selector: + io.kompose.service: schema-registry +status: + loadBalancer: {} diff --git a/xqueue-claim0-persistentvolumeclaim.yaml b/xqueue-claim0-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..86bce7a992 --- /dev/null +++ b/xqueue-claim0-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: xqueue-claim0 + name: xqueue-claim0 + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/xqueue-claim1-persistentvolumeclaim.yaml b/xqueue-claim1-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..cb5847307a --- /dev/null +++ b/xqueue-claim1-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: xqueue-claim1 + name: xqueue-claim1 + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/xqueue-consumer-claim0-persistentvolumeclaim.yaml b/xqueue-consumer-claim0-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..44e7501690 --- /dev/null +++ b/xqueue-consumer-claim0-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: xqueue-consumer-claim0 + name: xqueue-consumer-claim0 + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/xqueue-consumer-claim1-persistentvolumeclaim.yaml b/xqueue-consumer-claim1-persistentvolumeclaim.yaml new file mode 100644 index 0000000000..a71e9a6675 --- /dev/null +++ b/xqueue-consumer-claim1-persistentvolumeclaim.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: xqueue-consumer-claim1 + name: xqueue-consumer-claim1 + namespace: default +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/xqueue-consumer-deployment.yaml b/xqueue-consumer-deployment.yaml new file mode 100644 index 0000000000..884d26aaed --- /dev/null +++ b/xqueue-consumer-deployment.yaml @@ -0,0 +1,51 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: xqueue-consumer + name: xqueue-consumer + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: xqueue-consumer + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: xqueue-consumer + spec: + containers: + - args: + - bash + - -c + - source /edx/app/xqueue/xqueue_env && while true; do python /edx/app/xqueue/xqueue/manage.py run_consumer ; sleep 2; done + image: edxops/xqueue-dev:latest + name: edx.devstack.xqueue-consumer + resources: {} + volumeMounts: + - mountPath: /edx/app/xqueue/xqueue + name: xqueue-consumer-claim0 + - mountPath: /edx/etc/xqueue.yml + name: xqueue-consumer-claim1 + workingDir: /edx/app/xqueue/xqueue + restartPolicy: Always + volumes: + - name: xqueue-consumer-claim0 + persistentVolumeClaim: + claimName: xqueue-consumer-claim0 + - name: xqueue-consumer-claim1 + persistentVolumeClaim: + claimName: xqueue-consumer-claim1 +status: {} diff --git a/xqueue-deployment.yaml b/xqueue-deployment.yaml new file mode 100644 index 0000000000..1963a5ee84 --- /dev/null +++ b/xqueue-deployment.yaml @@ -0,0 +1,58 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: xqueue + name: xqueue + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: xqueue + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: xqueue + spec: + containers: + - args: + - bash + - -c + - source /edx/app/xqueue/xqueue_env && while true; do python /edx/app/xqueue/xqueue/manage.py runserver 0.0.0.0:18040 ; sleep 2; done + env: + - name: XQUEUE_CFG + value: /edx/etc/xqueue.yml + image: edxops/xqueue-dev:latest + name: edx.devstack.xqueue + ports: + - containerPort: 18040 + hostPort: 18040 + protocol: TCP + resources: {} + volumeMounts: + - mountPath: /edx/app/xqueue/xqueue + name: xqueue-claim0 + - mountPath: /edx/etc/xqueue.yml + name: xqueue-claim1 + workingDir: /edx/app/xqueue/xqueue + restartPolicy: Always + volumes: + - name: xqueue-claim0 + persistentVolumeClaim: + claimName: xqueue-claim0 + - name: xqueue-claim1 + persistentVolumeClaim: + claimName: xqueue-claim1 +status: {} diff --git a/xqueue-service.yaml b/xqueue-service.yaml new file mode 100644 index 0000000000..5484763440 --- /dev/null +++ b/xqueue-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: xqueue + name: xqueue + namespace: default +spec: + ports: + - name: "18040" + port: 18040 + targetPort: 18040 + selector: + io.kompose.service: xqueue +status: + loadBalancer: {} diff --git a/zookeeper-deployment.yaml b/zookeeper-deployment.yaml new file mode 100644 index 0000000000..a9bfea2e04 --- /dev/null +++ b/zookeeper-deployment.yaml @@ -0,0 +1,43 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: zookeeper + name: zookeeper + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: zookeeper + strategy: {} + template: + metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.network/devstack-default: "true" + io.kompose.service: zookeeper + spec: + containers: + - env: + - name: ZOOKEEPER_CLIENT_PORT + value: "2181" + - name: ZOOKEEPER_TICK_TIME + value: "2000" + image: confluentinc/cp-zookeeper:6.2.1 + name: edx.devstack.zookeeper + ports: + - containerPort: 2181 + hostPort: 2181 + protocol: TCP + resources: {} + hostname: zookeeper.devstack.edx + restartPolicy: Always +status: {} diff --git a/zookeeper-service.yaml b/zookeeper-service.yaml new file mode 100644 index 0000000000..636dcd2e14 --- /dev/null +++ b/zookeeper-service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert + kompose.version: 1.30.0 (HEAD) + creationTimestamp: null + labels: + io.kompose.service: zookeeper + name: zookeeper + namespace: default +spec: + ports: + - name: "2181" + port: 2181 + targetPort: 2181 + selector: + io.kompose.service: zookeeper +status: + loadBalancer: {} From 538b59aa80b0138e59acb789fac293dda81d9415 Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Tue, 12 Dec 2023 11:41:23 -0500 Subject: [PATCH 2/3] temp: remove containerized services --- devpi-data-persistentvolumeclaim.yaml | 15 ---- devpi-deployment.yaml | 46 ---------- devpi-service.yaml | 20 ----- discovery-assets-persistentvolumeclaim.yaml | 15 ---- discovery-claim1-persistentvolumeclaim.yaml | 15 ---- discovery-deployment.yaml | 66 -------------- discovery-service.yaml | 20 ----- ecommerce-claim0-persistentvolumeclaim.yaml | 15 ---- ecommerce-deployment.yaml | 57 ------------ ecommerce-service.yaml | 20 ----- edx-notes-api-deployment.yaml | 63 ------------- edx_notes_api-service.yaml | 20 ----- elasticsearch-data-persistentvolumeclaim.yaml | 15 ---- elasticsearch-deployment.yaml | 47 ---------- forum-deployment.yaml | 44 --------- forum-service.yaml | 20 ----- frontend-app-account-deployment.yaml | 47 ---------- frontend-app-account-service.yaml | 20 ----- frontend-app-authn-deployment.yaml | 47 ---------- frontend-app-authn-service.yaml | 20 ----- frontend-app-course-authoring-deployment.yaml | 47 ---------- frontend-app-course-authoring-service.yaml | 20 ----- frontend-app-gradebook-deployment.yaml | 47 ---------- frontend-app-gradebook-service.yaml | 20 ----- frontend-app-learning-deployment.yaml | 47 ---------- frontend-app-learning-service.yaml | 20 ----- ...tend-app-library-authoring-deployment.yaml | 47 ---------- frontend-app-library-authoring-service.yaml | 20 ----- frontend-app-ora-grading-deployment.yaml | 47 ---------- frontend-app-ora-grading-service.yaml | 20 ----- frontend-app-payment-deployment.yaml | 47 ---------- frontend-app-payment-service.yaml | 20 ----- frontend-app-profile-deployment.yaml | 47 ---------- frontend-app-profile-service.yaml | 20 ----- frontend-app-program-console-deployment.yaml | 47 ---------- frontend-app-program-console-service.yaml | 20 ----- frontend-app-publisher-deployment.yaml | 47 ---------- frontend-app-publisher-service.yaml | 20 ----- insights-claim0-persistentvolumeclaim.yaml | 15 ---- insights-claim1-persistentvolumeclaim.yaml | 15 ---- insights-deployment.yaml | 75 ---------------- insights-service.yaml | 20 ----- registrar-claim0-persistentvolumeclaim.yaml | 15 ---- registrar-claim1-persistentvolumeclaim.yaml | 15 ---- registrar-deployment.yaml | 89 ------------------- registrar-service.yaml | 20 ----- ...r-worker-claim0-persistentvolumeclaim.yaml | 15 ---- registrar-worker-deployment.yaml | 79 ---------------- registrar-worker-service.yaml | 20 ----- 49 files changed, 1613 deletions(-) delete mode 100644 devpi-data-persistentvolumeclaim.yaml delete mode 100644 devpi-deployment.yaml delete mode 100644 devpi-service.yaml delete mode 100644 discovery-assets-persistentvolumeclaim.yaml delete mode 100644 discovery-claim1-persistentvolumeclaim.yaml delete mode 100644 discovery-deployment.yaml delete mode 100644 discovery-service.yaml delete mode 100644 ecommerce-claim0-persistentvolumeclaim.yaml delete mode 100644 ecommerce-deployment.yaml delete mode 100644 ecommerce-service.yaml delete mode 100644 edx-notes-api-deployment.yaml delete mode 100644 edx_notes_api-service.yaml delete mode 100644 elasticsearch-data-persistentvolumeclaim.yaml delete mode 100644 elasticsearch-deployment.yaml delete mode 100644 forum-deployment.yaml delete mode 100644 forum-service.yaml delete mode 100644 frontend-app-account-deployment.yaml delete mode 100644 frontend-app-account-service.yaml delete mode 100644 frontend-app-authn-deployment.yaml delete mode 100644 frontend-app-authn-service.yaml delete mode 100644 frontend-app-course-authoring-deployment.yaml delete mode 100644 frontend-app-course-authoring-service.yaml delete mode 100644 frontend-app-gradebook-deployment.yaml delete mode 100644 frontend-app-gradebook-service.yaml delete mode 100644 frontend-app-learning-deployment.yaml delete mode 100644 frontend-app-learning-service.yaml delete mode 100644 frontend-app-library-authoring-deployment.yaml delete mode 100644 frontend-app-library-authoring-service.yaml delete mode 100644 frontend-app-ora-grading-deployment.yaml delete mode 100644 frontend-app-ora-grading-service.yaml delete mode 100644 frontend-app-payment-deployment.yaml delete mode 100644 frontend-app-payment-service.yaml delete mode 100644 frontend-app-profile-deployment.yaml delete mode 100644 frontend-app-profile-service.yaml delete mode 100644 frontend-app-program-console-deployment.yaml delete mode 100644 frontend-app-program-console-service.yaml delete mode 100644 frontend-app-publisher-deployment.yaml delete mode 100644 frontend-app-publisher-service.yaml delete mode 100644 insights-claim0-persistentvolumeclaim.yaml delete mode 100644 insights-claim1-persistentvolumeclaim.yaml delete mode 100644 insights-deployment.yaml delete mode 100644 insights-service.yaml delete mode 100644 registrar-claim0-persistentvolumeclaim.yaml delete mode 100644 registrar-claim1-persistentvolumeclaim.yaml delete mode 100644 registrar-deployment.yaml delete mode 100644 registrar-service.yaml delete mode 100644 registrar-worker-claim0-persistentvolumeclaim.yaml delete mode 100644 registrar-worker-deployment.yaml delete mode 100644 registrar-worker-service.yaml diff --git a/devpi-data-persistentvolumeclaim.yaml b/devpi-data-persistentvolumeclaim.yaml deleted file mode 100644 index e8f1c31157..0000000000 --- a/devpi-data-persistentvolumeclaim.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: devpi-data - name: devpi-data - namespace: default -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Mi -status: {} diff --git a/devpi-deployment.yaml b/devpi-deployment.yaml deleted file mode 100644 index dfebc7586a..0000000000 --- a/devpi-deployment.yaml +++ /dev/null @@ -1,46 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: devpi - name: devpi - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: devpi - strategy: - type: Recreate - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: devpi - spec: - containers: - - image: edxops/devpi:latest - name: edx.devstack.devpi - ports: - - containerPort: 3141 - hostPort: 3141 - protocol: TCP - resources: {} - volumeMounts: - - mountPath: /data - name: devpi-data - hostname: devpi.devstack.edx - restartPolicy: Always - volumes: - - name: devpi-data - persistentVolumeClaim: - claimName: devpi-data -status: {} diff --git a/devpi-service.yaml b/devpi-service.yaml deleted file mode 100644 index f233d4463c..0000000000 --- a/devpi-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: devpi - name: devpi - namespace: default -spec: - ports: - - name: "3141" - port: 3141 - targetPort: 3141 - selector: - io.kompose.service: devpi -status: - loadBalancer: {} diff --git a/discovery-assets-persistentvolumeclaim.yaml b/discovery-assets-persistentvolumeclaim.yaml deleted file mode 100644 index 85ce72409f..0000000000 --- a/discovery-assets-persistentvolumeclaim.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: discovery-assets - name: discovery-assets - namespace: default -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Mi -status: {} diff --git a/discovery-claim1-persistentvolumeclaim.yaml b/discovery-claim1-persistentvolumeclaim.yaml deleted file mode 100644 index 0c78329744..0000000000 --- a/discovery-claim1-persistentvolumeclaim.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: discovery-claim1 - name: discovery-claim1 - namespace: default -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Mi -status: {} diff --git a/discovery-deployment.yaml b/discovery-deployment.yaml deleted file mode 100644 index baec18ea8e..0000000000 --- a/discovery-deployment.yaml +++ /dev/null @@ -1,66 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: discovery - name: discovery - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: discovery - strategy: - type: Recreate - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: discovery - spec: - containers: - - args: - - bash - - -c - - source /edx/app/discovery/discovery_env && while true; do python /edx/app/discovery/discovery/manage.py runserver 0.0.0.0:18381; sleep 2; done - env: - - name: DB_MIGRATION_HOST - value: edx.devstack.mysql57 - - name: DJANGO_WATCHMAN_TIMEOUT - value: "30" - - name: ENABLE_DJANGO_TOOLBAR - value: "1" - - name: TEST_ELASTICSEARCH_URL - value: edx.devstack.elasticsearch710 - image: edxops/discovery-dev:latest - name: edx.devstack.discovery - ports: - - containerPort: 18381 - hostPort: 18381 - protocol: TCP - resources: {} - stdin: true - tty: true - volumeMounts: - - mountPath: /edx/var/discovery - name: discovery-assets - - mountPath: /edx/etc/discovery.yml - name: discovery-claim1 - hostname: discovery.devstack.edx - restartPolicy: Always - volumes: - - name: discovery-assets - persistentVolumeClaim: - claimName: discovery-assets - - name: discovery-claim1 - persistentVolumeClaim: - claimName: discovery-claim1 -status: {} diff --git a/discovery-service.yaml b/discovery-service.yaml deleted file mode 100644 index b618f6fda7..0000000000 --- a/discovery-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: discovery - name: discovery - namespace: default -spec: - ports: - - name: "18381" - port: 18381 - targetPort: 18381 - selector: - io.kompose.service: discovery -status: - loadBalancer: {} diff --git a/ecommerce-claim0-persistentvolumeclaim.yaml b/ecommerce-claim0-persistentvolumeclaim.yaml deleted file mode 100644 index f0c8e57122..0000000000 --- a/ecommerce-claim0-persistentvolumeclaim.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: ecommerce-claim0 - name: ecommerce-claim0 - namespace: default -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Mi -status: {} diff --git a/ecommerce-deployment.yaml b/ecommerce-deployment.yaml deleted file mode 100644 index c0ad16116c..0000000000 --- a/ecommerce-deployment.yaml +++ /dev/null @@ -1,57 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: ecommerce - name: ecommerce - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: ecommerce - strategy: - type: Recreate - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: ecommerce - spec: - containers: - - args: - - bash - - -c - - source /edx/app/ecommerce/ecommerce_env && while true; do python /edx/app/ecommerce/ecommerce/manage.py runserver 0.0.0.0:18130; sleep 2; done - env: - - name: DJANGO_WATCHMAN_TIMEOUT - value: "30" - - name: ENABLE_DJANGO_TOOLBAR - value: "1" - image: edxops/ecommerce-dev:latest - name: edx.devstack.ecommerce - ports: - - containerPort: 18130 - hostPort: 18130 - protocol: TCP - resources: {} - stdin: true - tty: true - volumeMounts: - - mountPath: /edx/etc/ecommerce.yml - name: ecommerce-claim0 - hostname: ecommerce.devstack.edx - restartPolicy: Always - volumes: - - name: ecommerce-claim0 - persistentVolumeClaim: - claimName: ecommerce-claim0 -status: {} diff --git a/ecommerce-service.yaml b/ecommerce-service.yaml deleted file mode 100644 index e6f1940185..0000000000 --- a/ecommerce-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: ecommerce - name: ecommerce - namespace: default -spec: - ports: - - name: "18130" - port: 18130 - targetPort: 18130 - selector: - io.kompose.service: ecommerce -status: - loadBalancer: {} diff --git a/edx-notes-api-deployment.yaml b/edx-notes-api-deployment.yaml deleted file mode 100644 index b3bad700eb..0000000000 --- a/edx-notes-api-deployment.yaml +++ /dev/null @@ -1,63 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: edx-notes-api - name: edx-notes-api - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: edx-notes-api - strategy: {} - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: edx-notes-api - spec: - containers: - - args: - - bash - - -c - - while true; do python /edx/app/notes/manage.py runserver 0.0.0.0:18120 --settings notesserver.settings.devstack; sleep 4; done - env: - - name: DB_ENGINE - value: django.db.backends.mysql - - name: DB_HOST - value: edx.devstack.mysql57 - - name: DB_NAME - value: notes - - name: DB_PASSWORD - value: password - - name: DB_PORT - value: "3306" - - name: DB_USER - value: notes001 - - name: DJANGO_WATCHMAN_TIMEOUT - value: "30" - - name: ELASTICSEARCH_DSL - value: http://edx.devstack.elasticsearch710:9200 - - name: ELASTICSEARCH_URL - value: http://edx.devstack.elasticsearch710:9200 - - name: ENABLE_DJANGO_TOOLBAR - value: "1" - image: openedx/edx-notes-api-dev:latest - name: edx.devstack.edxnotesapi - ports: - - containerPort: 18120 - hostPort: 18120 - protocol: TCP - resources: {} - hostname: edx_notes_api.devstack.edx - restartPolicy: Always -status: {} diff --git a/edx_notes_api-service.yaml b/edx_notes_api-service.yaml deleted file mode 100644 index 5f64b59acd..0000000000 --- a/edx_notes_api-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: edx-notes-api - name: edx_notes_api - namespace: default -spec: - ports: - - name: "18120" - port: 18120 - targetPort: 18120 - selector: - io.kompose.service: edx-notes-api -status: - loadBalancer: {} diff --git a/elasticsearch-data-persistentvolumeclaim.yaml b/elasticsearch-data-persistentvolumeclaim.yaml deleted file mode 100644 index 79fa0b2941..0000000000 --- a/elasticsearch-data-persistentvolumeclaim.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: elasticsearch-data - name: elasticsearch-data - namespace: default -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Mi -status: {} diff --git a/elasticsearch-deployment.yaml b/elasticsearch-deployment.yaml deleted file mode 100644 index fa92ff6345..0000000000 --- a/elasticsearch-deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: elasticsearch - name: elasticsearch - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: elasticsearch - strategy: - type: Recreate - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: elasticsearch - spec: - containers: - - image: edxops/elasticsearch:devstack - name: edx.devstack.elasticsearch - resources: {} - volumeMounts: - - mountPath: /usr/share/elasticsearch/data - name: elasticsearch-data - - mountPath: /usr/share/elasticsearch/logs - name: elasticsearch-data - hostname: elasticsearch.devstack.edx - restartPolicy: Always - volumes: - - name: elasticsearch-data - persistentVolumeClaim: - claimName: elasticsearch-data - - name: elasticsearch-data - persistentVolumeClaim: - claimName: elasticsearch-data -status: {} diff --git a/forum-deployment.yaml b/forum-deployment.yaml deleted file mode 100644 index 35c77096f5..0000000000 --- a/forum-deployment.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: forum - name: forum - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: forum - strategy: {} - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: forum - spec: - containers: - - args: - - bash - - -c - - source /edx/app/forum/ruby_env && source /edx/app/forum/devstack_forum_env && cd /edx/app/forum/cs_comments_service && bundle install && while true; do ./bin/unicorn -c config/unicorn_tcp.rb -I .; sleep 2; done - image: edxops/forum:latest - name: edx.devstack.forum - ports: - - containerPort: 4567 - hostPort: 44567 - protocol: TCP - resources: {} - stdin: true - tty: true - hostname: forum.devstack.edx - restartPolicy: Always -status: {} diff --git a/forum-service.yaml b/forum-service.yaml deleted file mode 100644 index 48fae9494a..0000000000 --- a/forum-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: forum - name: forum - namespace: default -spec: - ports: - - name: "44567" - port: 44567 - targetPort: 4567 - selector: - io.kompose.service: forum -status: - loadBalancer: {} diff --git a/frontend-app-account-deployment.yaml b/frontend-app-account-deployment.yaml deleted file mode 100644 index 86eae753af..0000000000 --- a/frontend-app-account-deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-account - name: frontend-app-account - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: frontend-app-account - strategy: {} - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: frontend-app-account - spec: - containers: - - args: - - bash - - -c - - npm ci || exit 1; while true; do npm start; sleep 2; done - env: - - name: NODE_ENV - value: development - image: node:16 - name: edx.devstack.frontend-app-account - ports: - - containerPort: 1997 - hostPort: 1997 - protocol: TCP - resources: {} - stdin: true - tty: true - workingDir: /edx/app/frontend-app-account - restartPolicy: Always -status: {} diff --git a/frontend-app-account-service.yaml b/frontend-app-account-service.yaml deleted file mode 100644 index bec4cb61a0..0000000000 --- a/frontend-app-account-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-account - name: frontend-app-account - namespace: default -spec: - ports: - - name: "1997" - port: 1997 - targetPort: 1997 - selector: - io.kompose.service: frontend-app-account -status: - loadBalancer: {} diff --git a/frontend-app-authn-deployment.yaml b/frontend-app-authn-deployment.yaml deleted file mode 100644 index aed215cdc2..0000000000 --- a/frontend-app-authn-deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-authn - name: frontend-app-authn - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: frontend-app-authn - strategy: {} - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: frontend-app-authn - spec: - containers: - - args: - - bash - - -c - - npm ci || exit 1; while true; do npm start; sleep 2; done - env: - - name: NODE_ENV - value: development - image: node:16 - name: edx.devstack.frontend-app-authn - ports: - - containerPort: 1999 - hostPort: 1999 - protocol: TCP - resources: {} - stdin: true - tty: true - workingDir: /edx/app/frontend-app-authn - restartPolicy: Always -status: {} diff --git a/frontend-app-authn-service.yaml b/frontend-app-authn-service.yaml deleted file mode 100644 index 93cb6e3c02..0000000000 --- a/frontend-app-authn-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-authn - name: frontend-app-authn - namespace: default -spec: - ports: - - name: "1999" - port: 1999 - targetPort: 1999 - selector: - io.kompose.service: frontend-app-authn -status: - loadBalancer: {} diff --git a/frontend-app-course-authoring-deployment.yaml b/frontend-app-course-authoring-deployment.yaml deleted file mode 100644 index 780f26907e..0000000000 --- a/frontend-app-course-authoring-deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-course-authoring - name: frontend-app-course-authoring - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: frontend-app-course-authoring - strategy: {} - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: frontend-app-course-authoring - spec: - containers: - - args: - - bash - - -c - - npm ci || exit 1; while true; do npm start; sleep 2; done - env: - - name: NODE_ENV - value: development - image: node:16 - name: edx.devstack.frontend-app-course-authoring - ports: - - containerPort: 2001 - hostPort: 2001 - protocol: TCP - resources: {} - stdin: true - tty: true - workingDir: /edx/app/frontend-app-course-authoring - restartPolicy: Always -status: {} diff --git a/frontend-app-course-authoring-service.yaml b/frontend-app-course-authoring-service.yaml deleted file mode 100644 index 935d4fedd3..0000000000 --- a/frontend-app-course-authoring-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-course-authoring - name: frontend-app-course-authoring - namespace: default -spec: - ports: - - name: "2001" - port: 2001 - targetPort: 2001 - selector: - io.kompose.service: frontend-app-course-authoring -status: - loadBalancer: {} diff --git a/frontend-app-gradebook-deployment.yaml b/frontend-app-gradebook-deployment.yaml deleted file mode 100644 index 124ff8912f..0000000000 --- a/frontend-app-gradebook-deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-gradebook - name: frontend-app-gradebook - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: frontend-app-gradebook - strategy: {} - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: frontend-app-gradebook - spec: - containers: - - args: - - bash - - -c - - npm ci || exit 1; while true; do npm start; sleep 2; done - env: - - name: NODE_ENV - value: development - image: node:16 - name: edx.devstack.frontend-app-gradebook - ports: - - containerPort: 1994 - hostPort: 1994 - protocol: TCP - resources: {} - stdin: true - tty: true - workingDir: /edx/app/frontend-app-gradebook - restartPolicy: Always -status: {} diff --git a/frontend-app-gradebook-service.yaml b/frontend-app-gradebook-service.yaml deleted file mode 100644 index e8a5b34bb7..0000000000 --- a/frontend-app-gradebook-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-gradebook - name: frontend-app-gradebook - namespace: default -spec: - ports: - - name: "1994" - port: 1994 - targetPort: 1994 - selector: - io.kompose.service: frontend-app-gradebook -status: - loadBalancer: {} diff --git a/frontend-app-learning-deployment.yaml b/frontend-app-learning-deployment.yaml deleted file mode 100644 index e84dfaa227..0000000000 --- a/frontend-app-learning-deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-learning - name: frontend-app-learning - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: frontend-app-learning - strategy: {} - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: frontend-app-learning - spec: - containers: - - args: - - bash - - -c - - npm ci || exit 1; while true; do npm start; sleep 2; done - env: - - name: NODE_ENV - value: development - image: node:16 - name: edx.devstack.frontend-app-learning - ports: - - containerPort: 2000 - hostPort: 2000 - protocol: TCP - resources: {} - stdin: true - tty: true - workingDir: /edx/app/frontend-app-learning - restartPolicy: Always -status: {} diff --git a/frontend-app-learning-service.yaml b/frontend-app-learning-service.yaml deleted file mode 100644 index d8c2cea698..0000000000 --- a/frontend-app-learning-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-learning - name: frontend-app-learning - namespace: default -spec: - ports: - - name: "2000" - port: 2000 - targetPort: 2000 - selector: - io.kompose.service: frontend-app-learning -status: - loadBalancer: {} diff --git a/frontend-app-library-authoring-deployment.yaml b/frontend-app-library-authoring-deployment.yaml deleted file mode 100644 index 7e9312fb71..0000000000 --- a/frontend-app-library-authoring-deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-library-authoring - name: frontend-app-library-authoring - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: frontend-app-library-authoring - strategy: {} - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: frontend-app-library-authoring - spec: - containers: - - args: - - bash - - -c - - npm ci || exit 1; while true; do npm start; sleep 2; done - env: - - name: NODE_ENV - value: development - image: node:16 - name: edx.devstack.frontend-app-library-authoring - ports: - - containerPort: 3001 - hostPort: 3001 - protocol: TCP - resources: {} - stdin: true - tty: true - workingDir: /edx/app/frontend-app-library-authoring - restartPolicy: Always -status: {} diff --git a/frontend-app-library-authoring-service.yaml b/frontend-app-library-authoring-service.yaml deleted file mode 100644 index 5ba05df8de..0000000000 --- a/frontend-app-library-authoring-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-library-authoring - name: frontend-app-library-authoring - namespace: default -spec: - ports: - - name: "3001" - port: 3001 - targetPort: 3001 - selector: - io.kompose.service: frontend-app-library-authoring -status: - loadBalancer: {} diff --git a/frontend-app-ora-grading-deployment.yaml b/frontend-app-ora-grading-deployment.yaml deleted file mode 100644 index 7dbe5fd0e7..0000000000 --- a/frontend-app-ora-grading-deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-ora-grading - name: frontend-app-ora-grading - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: frontend-app-ora-grading - strategy: {} - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: frontend-app-ora-grading - spec: - containers: - - args: - - bash - - -c - - npm ci || exit 1; while true; do npm start; sleep 2; done - env: - - name: NODE_ENV - value: development - image: node:16 - name: edx.devstack.frontend-app-ora-grading - ports: - - containerPort: 1993 - hostPort: 1993 - protocol: TCP - resources: {} - stdin: true - tty: true - workingDir: /edx/app/frontend-app-ora-grading - restartPolicy: Always -status: {} diff --git a/frontend-app-ora-grading-service.yaml b/frontend-app-ora-grading-service.yaml deleted file mode 100644 index ee6c3fcffd..0000000000 --- a/frontend-app-ora-grading-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-ora-grading - name: frontend-app-ora-grading - namespace: default -spec: - ports: - - name: "1993" - port: 1993 - targetPort: 1993 - selector: - io.kompose.service: frontend-app-ora-grading -status: - loadBalancer: {} diff --git a/frontend-app-payment-deployment.yaml b/frontend-app-payment-deployment.yaml deleted file mode 100644 index a34c9d8f09..0000000000 --- a/frontend-app-payment-deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-payment - name: frontend-app-payment - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: frontend-app-payment - strategy: {} - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: frontend-app-payment - spec: - containers: - - args: - - bash - - -c - - npm ci || exit 1; while true; do npm start; sleep 2; done - env: - - name: NODE_ENV - value: development - image: node:16 - name: edx.devstack.frontend-app-payment - ports: - - containerPort: 1998 - hostPort: 1998 - protocol: TCP - resources: {} - stdin: true - tty: true - workingDir: /edx/app/frontend-app-payment - restartPolicy: Always -status: {} diff --git a/frontend-app-payment-service.yaml b/frontend-app-payment-service.yaml deleted file mode 100644 index 3abab74ca8..0000000000 --- a/frontend-app-payment-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-payment - name: frontend-app-payment - namespace: default -spec: - ports: - - name: "1998" - port: 1998 - targetPort: 1998 - selector: - io.kompose.service: frontend-app-payment -status: - loadBalancer: {} diff --git a/frontend-app-profile-deployment.yaml b/frontend-app-profile-deployment.yaml deleted file mode 100644 index b914d5f8f0..0000000000 --- a/frontend-app-profile-deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-profile - name: frontend-app-profile - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: frontend-app-profile - strategy: {} - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: frontend-app-profile - spec: - containers: - - args: - - bash - - -c - - npm ci || exit 1; while true; do npm start; sleep 2; done - env: - - name: NODE_ENV - value: development - image: node:16 - name: edx.devstack.frontend-app-profile - ports: - - containerPort: 1995 - hostPort: 1995 - protocol: TCP - resources: {} - stdin: true - tty: true - workingDir: /edx/app/frontend-app-profile - restartPolicy: Always -status: {} diff --git a/frontend-app-profile-service.yaml b/frontend-app-profile-service.yaml deleted file mode 100644 index 862d873d2e..0000000000 --- a/frontend-app-profile-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-profile - name: frontend-app-profile - namespace: default -spec: - ports: - - name: "1995" - port: 1995 - targetPort: 1995 - selector: - io.kompose.service: frontend-app-profile -status: - loadBalancer: {} diff --git a/frontend-app-program-console-deployment.yaml b/frontend-app-program-console-deployment.yaml deleted file mode 100644 index e7f2ba0f6e..0000000000 --- a/frontend-app-program-console-deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-program-console - name: frontend-app-program-console - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: frontend-app-program-console - strategy: {} - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: frontend-app-program-console - spec: - containers: - - args: - - bash - - -c - - npm ci || exit 1; while true; do npm start; sleep 2; done - env: - - name: NODE_ENV - value: development - image: node:16 - name: edx.devstack.frontend-app-program-console - ports: - - containerPort: 1976 - hostPort: 1976 - protocol: TCP - resources: {} - stdin: true - tty: true - workingDir: /edx/app/frontend-app-program-console - restartPolicy: Always -status: {} diff --git a/frontend-app-program-console-service.yaml b/frontend-app-program-console-service.yaml deleted file mode 100644 index 40b09e7d96..0000000000 --- a/frontend-app-program-console-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-program-console - name: frontend-app-program-console - namespace: default -spec: - ports: - - name: "1976" - port: 1976 - targetPort: 1976 - selector: - io.kompose.service: frontend-app-program-console -status: - loadBalancer: {} diff --git a/frontend-app-publisher-deployment.yaml b/frontend-app-publisher-deployment.yaml deleted file mode 100644 index 4bc426ad5a..0000000000 --- a/frontend-app-publisher-deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-publisher - name: frontend-app-publisher - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: frontend-app-publisher - strategy: {} - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: frontend-app-publisher - spec: - containers: - - args: - - bash - - -c - - npm ci || exit 1; while true; do npm start; sleep 2; done - env: - - name: NODE_ENV - value: development - image: node:16 - name: edx.devstack.frontend-app-publisher - ports: - - containerPort: 18400 - hostPort: 18400 - protocol: TCP - resources: {} - stdin: true - tty: true - workingDir: /edx/app/frontend-app-publisher - restartPolicy: Always -status: {} diff --git a/frontend-app-publisher-service.yaml b/frontend-app-publisher-service.yaml deleted file mode 100644 index 7f317a91ef..0000000000 --- a/frontend-app-publisher-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: frontend-app-publisher - name: frontend-app-publisher - namespace: default -spec: - ports: - - name: "18400" - port: 18400 - targetPort: 18400 - selector: - io.kompose.service: frontend-app-publisher -status: - loadBalancer: {} diff --git a/insights-claim0-persistentvolumeclaim.yaml b/insights-claim0-persistentvolumeclaim.yaml deleted file mode 100644 index 950d2faee2..0000000000 --- a/insights-claim0-persistentvolumeclaim.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: insights-claim0 - name: insights-claim0 - namespace: default -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Mi -status: {} diff --git a/insights-claim1-persistentvolumeclaim.yaml b/insights-claim1-persistentvolumeclaim.yaml deleted file mode 100644 index 03f7332b17..0000000000 --- a/insights-claim1-persistentvolumeclaim.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: insights-claim1 - name: insights-claim1 - namespace: default -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Mi -status: {} diff --git a/insights-deployment.yaml b/insights-deployment.yaml deleted file mode 100644 index d1112f8e1e..0000000000 --- a/insights-deployment.yaml +++ /dev/null @@ -1,75 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: insights - name: insights - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: insights - strategy: - type: Recreate - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: insights - spec: - containers: - - args: - - bash - - -c - - source /edx/app/insights/insights_env && while true; do python /edx/app/insights/insights/manage.py runserver 0.0.0.0:18110 --settings analytics_dashboard.settings.devstack; sleep 2; done - env: - - name: ANALYTICS_DASHBOARD_CFG - value: /edx/etc/insights.yml - - name: DB_HOST - value: edx.devstack.mysql57 - - name: DB_NAME - value: dashboard - - name: DB_PASSWORD - value: password - - name: DB_PORT - value: "3306" - - name: DB_USER - value: analytics001 - - name: DJANGO_SETTINGS_MODULE - value: analytics_dashboard.settings.devstack - - name: LMS_HOST - value: http://localhost:18000 - image: edxops/insights-dev:latest - name: edx.devstack.insights - ports: - - containerPort: 18110 - hostPort: 18110 - protocol: TCP - resources: {} - stdin: true - tty: true - volumeMounts: - - mountPath: /edx/var/insights - name: insights-claim0 - - mountPath: /edx/etc/insights.yml - name: insights-claim1 - workingDir: /edx/app/insights/insights - hostname: insights.devstack.edx - restartPolicy: Always - volumes: - - name: insights-claim0 - persistentVolumeClaim: - claimName: insights-claim0 - - name: insights-claim1 - persistentVolumeClaim: - claimName: insights-claim1 -status: {} diff --git a/insights-service.yaml b/insights-service.yaml deleted file mode 100644 index 905691cbd7..0000000000 --- a/insights-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: insights - name: insights - namespace: default -spec: - ports: - - name: "18110" - port: 18110 - targetPort: 18110 - selector: - io.kompose.service: insights -status: - loadBalancer: {} diff --git a/registrar-claim0-persistentvolumeclaim.yaml b/registrar-claim0-persistentvolumeclaim.yaml deleted file mode 100644 index ddb27d6a04..0000000000 --- a/registrar-claim0-persistentvolumeclaim.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: registrar-claim0 - name: registrar-claim0 - namespace: default -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Mi -status: {} diff --git a/registrar-claim1-persistentvolumeclaim.yaml b/registrar-claim1-persistentvolumeclaim.yaml deleted file mode 100644 index 7a3d625819..0000000000 --- a/registrar-claim1-persistentvolumeclaim.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: registrar-claim1 - name: registrar-claim1 - namespace: default -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Mi -status: {} diff --git a/registrar-deployment.yaml b/registrar-deployment.yaml deleted file mode 100644 index 6c5f75332b..0000000000 --- a/registrar-deployment.yaml +++ /dev/null @@ -1,89 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: registrar - name: registrar - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: registrar - strategy: - type: Recreate - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: registrar - spec: - containers: - - args: - - bash - - -c - - while true; do python /edx/app/registrar/manage.py runserver 0.0.0.0:18734; sleep 2; done - env: - - name: ANALYTICS_DASHBOARD_CFG - value: /edx/etc/registrar.yml - - name: CELERY_ALWAYS_EAGER - value: "false" - - name: CELERY_BROKER_HOSTNAME - value: edx.devstack.redis:6379 - - name: CELERY_BROKER_PASSWORD - value: password - - name: CELERY_BROKER_TRANSPORT - value: redis - - name: CELERY_BROKER_VHOST - value: "10" - - name: DB_HOST - value: edx.devstack.mysql57 - - name: DB_NAME - value: registrar - - name: DB_PASSWORD - value: password - - name: DB_PORT - value: "3306" - - name: DB_USER - value: registrar001 - - name: DJANGO_SETTINGS_MODULE - value: registrar.settings.devstack - - name: DJANGO_WATCHMAN_TIMEOUT - value: "30" - - name: LMS_HOST - value: http://localhost:18000 - - name: MEMCACHE_HOST - value: edx.devstack.memcached - image: edxops/registrar-dev:latest - name: edx.devstack.registrar - ports: - - containerPort: 18734 - hostPort: 18734 - protocol: TCP - resources: {} - stdin: true - tty: true - volumeMounts: - - mountPath: /edx/var/registrar - name: registrar-claim0 - - mountPath: /edx/etc/registrar.yml - name: registrar-claim1 - workingDir: /edx/app/registrar - hostname: registrar.devstack.edx - restartPolicy: Always - volumes: - - name: registrar-claim0 - persistentVolumeClaim: - claimName: registrar-claim0 - - name: registrar-claim1 - persistentVolumeClaim: - claimName: registrar-claim1 -status: {} diff --git a/registrar-service.yaml b/registrar-service.yaml deleted file mode 100644 index 4404f38461..0000000000 --- a/registrar-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: registrar - name: registrar - namespace: default -spec: - ports: - - name: "18734" - port: 18734 - targetPort: 18734 - selector: - io.kompose.service: registrar -status: - loadBalancer: {} diff --git a/registrar-worker-claim0-persistentvolumeclaim.yaml b/registrar-worker-claim0-persistentvolumeclaim.yaml deleted file mode 100644 index 64af664aba..0000000000 --- a/registrar-worker-claim0-persistentvolumeclaim.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: registrar-worker-claim0 - name: registrar-worker-claim0 - namespace: default -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Mi -status: {} diff --git a/registrar-worker-deployment.yaml b/registrar-worker-deployment.yaml deleted file mode 100644 index 6242723198..0000000000 --- a/registrar-worker-deployment.yaml +++ /dev/null @@ -1,79 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: registrar-worker - name: registrar-worker - namespace: default -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: registrar-worker - strategy: - type: Recreate - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.network/devstack-default: "true" - io.kompose.service: registrar-worker - spec: - containers: - - args: - - bash - - -c - - cd /edx/app/registrar && celery -A registrar worker -l debug -c 2 - env: - - name: CELERY_BROKER_HOSTNAME - value: edx.devstack.redis:6379 - - name: CELERY_BROKER_PASSWORD - value: password - - name: CELERY_BROKER_TRANSPORT - value: redis - - name: CELERY_BROKER_VHOST - value: "10" - - name: DB_HOST - value: edx.devstack.mysql57 - - name: DB_NAME - value: registrar - - name: DB_PASSWORD - value: password - - name: DB_PORT - value: "3306" - - name: DB_USER - value: registrar001 - - name: DJANGO_SETTINGS_MODULE - value: registrar.settings.devstack - - name: DJANGO_WATCHMAN_TIMEOUT - value: "30" - - name: LMS_HOST - value: http://localhost:18000 - - name: MEMCACHE_HOST - value: edx.devstack.memcached - image: edxops/registrar-dev:latest - name: edx.devstack.registrar-worker - ports: - - containerPort: 18735 - hostPort: 18735 - protocol: TCP - resources: {} - stdin: true - tty: true - volumeMounts: - - mountPath: /edx/var/registrar - name: registrar-worker-claim0 - hostname: registrar-worker.devstack.edx - restartPolicy: Always - volumes: - - name: registrar-worker-claim0 - persistentVolumeClaim: - claimName: registrar-worker-claim0 -status: {} diff --git a/registrar-worker-service.yaml b/registrar-worker-service.yaml deleted file mode 100644 index 47ccce12dd..0000000000 --- a/registrar-worker-service.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.30.0 (HEAD) - creationTimestamp: null - labels: - io.kompose.service: registrar-worker - name: registrar-worker - namespace: default -spec: - ports: - - name: "18735" - port: 18735 - targetPort: 18735 - selector: - io.kompose.service: registrar-worker -status: - loadBalancer: {} From a51c7f0397b7e614c5feb85c437a1980876d25e7 Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Tue, 16 Jan 2024 15:00:43 -0500 Subject: [PATCH 3/3] temp: add auto-generated devspace configs. --- devspace-analyticsapi.yaml | 80 ++++ devspace-cms.yaml | 90 +++++ devspace-complete.yaml | 716 +++++++++++++++++++++++++++++++++ devspace-discovery.yaml | 84 ++++ devspace-ecommerce.yaml | 72 ++++ devspace-elasticsearch710.yaml | 57 +++ devspace-forum.yaml | 49 +++ devspace-kafka.yaml | 80 ++++ devspace-lms.yaml | 92 +++++ devspace-memcached.yaml | 22 + devspace-mongo.yaml | 58 +++ devspace-mysql57.yaml | 55 +++ devspace-mysql80.yaml | 55 +++ devspace-opensearch12.yaml | 59 +++ devspace-redis.yaml | 36 ++ devspace-registrar-worker.yaml | 86 ++++ devspace-registrar.yaml | 108 +++++ devspace-schema-registry.yaml | 46 +++ devspace-zookeeper.yaml | 41 ++ devspace.yaml | 714 ++++++++++++++++++++++++++++++++ devspace_start.sh | 36 ++ 21 files changed, 2636 insertions(+) create mode 100755 devspace-analyticsapi.yaml create mode 100755 devspace-cms.yaml create mode 100755 devspace-complete.yaml create mode 100755 devspace-discovery.yaml create mode 100755 devspace-ecommerce.yaml create mode 100755 devspace-elasticsearch710.yaml create mode 100755 devspace-forum.yaml create mode 100755 devspace-kafka.yaml create mode 100755 devspace-lms.yaml create mode 100755 devspace-memcached.yaml create mode 100755 devspace-mongo.yaml create mode 100755 devspace-mysql57.yaml create mode 100755 devspace-mysql80.yaml create mode 100755 devspace-opensearch12.yaml create mode 100755 devspace-redis.yaml create mode 100755 devspace-registrar-worker.yaml create mode 100755 devspace-registrar.yaml create mode 100755 devspace-schema-registry.yaml create mode 100755 devspace-zookeeper.yaml create mode 100755 devspace.yaml create mode 100755 devspace_start.sh diff --git a/devspace-analyticsapi.yaml b/devspace-analyticsapi.yaml new file mode 100755 index 0000000000..dafcd6a29b --- /dev/null +++ b/devspace-analyticsapi.yaml @@ -0,0 +1,80 @@ +version: v2beta1 +name: analyticsapi + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + analyticsapi: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - source /edx/app/analytics_api/analytics_api_env && while true; do python /edx/app/analytics_api/analytics_api/manage.py runserver 0.0.0.0:19001 --settings analyticsdataserver.settings.devstack; sleep 2; done + command: + - "" + env: + - name: DB_HOST + value: edx.devstack.mysql80 + - name: DB_PASSWORD + value: password + - name: DB_PORT + value: "3306" + - name: DB_USER + value: analytics001 + - name: ELASTICSEARCH_LEARNERS_HOST + value: edx.devstack.elasticsearch710 + image: edxops/analytics-api-dev:latest + name: edx-devstack-analyticsapi + volumeMounts: + - containerPath: /edx/var/analyticsapi + volume: + name: analyticsapi-1 + shared: true + - containerPath: /edx/etc/analytics_api.yml + volume: + name: volume-1 + readOnly: false + service: + ports: + - containerPort: 19001 + port: 19001 + protocol: TCP + volumes: + - name: analyticsapi-1 + size: 5Gi + - emptyDir: {} + name: volume-1 + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + analyticsapi: + labelSelector: + app.kubernetes.io/component: analyticsapi + command: + - "" + # Sync files between the local filesystem and the development container + sync: + - path: /configuration_files/analytics_api.yml:/edx/etc/analytics_api.yml + startContainer: true + # Forward the following ports to be able access your application via localhost + ports: + - port: "19001" +dependencies: + elasticsearch710: + path: devspace-elasticsearch710.yaml + mysql57: + path: devspace-mysql57.yaml + mysql80: + path: devspace-mysql80.yaml + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-cms.yaml b/devspace-cms.yaml new file mode 100755 index 0000000000..4b9af4ba13 --- /dev/null +++ b/devspace-cms.yaml @@ -0,0 +1,90 @@ +version: v2beta1 +name: cms + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + cms: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - source /edx/app/edxapp/edxapp_env && while true; do python /edx/app/edxapp/edx-platform/manage.py cms runserver 0.0.0.0:18010 --settings devstack_docker; sleep 2; done + command: + - "" + env: + - name: CMS_CFG + value: /edx/etc/studio.yml + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: EDXAPP_TEST_MONGO_HOST + value: edx.devstack.mongo + - name: FRONTEND_TEST_SERVER_CMS_PORT + value: "18131" + - name: FRONTEND_TEST_SERVER_HOSTNAME + value: edx.devstack.cms + - name: FRONTEND_TEST_SERVER_LMS_PORT + value: "18103" + - name: LMS_CFG + value: /edx/etc/lms.yml + - name: NO_PYTHON_UNINSTALL + value: "1" + - name: PATH + value: '/edx/app/edxapp/venvs/edxapp/bin:/edx/app/edxapp/nodeenv/bin:/edx/app/edxapp/edx-platform/node_modules/.bin:/edx/app/edxapp/edx-platform/bin:' + - name: SERVICE_VARIANT + value: cms + - name: VIRTUAL_ENV + value: /edx/app/edxapp/venvs/edxapp + image: openedx/lms-dev:latest + name: edx-devstack-cms + volumeMounts: + - containerPath: /edx/var/edxapp/staticfiles + volume: + name: edxapp_cms_assets + shared: true + service: + ports: + - containerPort: 18010 + port: 18010 + protocol: TCP + - containerPort: 19877 + port: 19877 + protocol: TCP + volumes: + - name: edxapp_cms_assets + size: 5Gi + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + cms: + labelSelector: + app.kubernetes.io/component: cms + # Forward the following ports to be able access your application via localhost + ports: + - port: "18010" + - port: "19877" +dependencies: + elasticsearch710: + path: devspace-elasticsearch710.yaml + lms: + path: devspace-lms.yaml + memcached: + path: devspace-memcached.yaml + mongo: + path: devspace-mongo.yaml + mysql57: + path: devspace-mysql57.yaml + mysql80: + path: devspace-mysql80.yaml + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-complete.yaml b/devspace-complete.yaml new file mode 100755 index 0000000000..8b80342175 --- /dev/null +++ b/devspace-complete.yaml @@ -0,0 +1,716 @@ +version: v2beta1 +name: docker-compose + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + chrome: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - command: + - ./manage.py + - runserver + image: edxops/chrome:latest + name: edx-devstack-chrome + volumeMounts: + - containerPath: /edx/app/edxapp/edx-platform/common/test/data + volume: + name: volume-1 + readOnly: false + service: + ports: + - containerPort: 5900 + port: 15900 + protocol: TCP + volumes: + - emptyDir: {} + name: volume-1 + coursegraph: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - command: + - "" + env: + - name: NEO4J_AUTH + value: neo4j/edx + image: neo4j:3.5.28 + name: edx-devstack-coursegraph + volumeMounts: + - containerPath: /data + volume: + name: coursegraph_data + shared: true + service: + ports: + - containerPort: 7474 + port: 7474 + protocol: TCP + - containerPort: 7687 + port: 7687 + protocol: TCP + volumes: + - name: coursegraph_data + size: 5Gi + credentials: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - source /edx/app/credentials/credentials_env && while true; do python /edx/app/credentials/credentials/manage.py runserver 0.0.0.0:18150; sleep 2; done + env: + - name: CACHE_LOCATION + value: edx.devstack.memcached:11211 + - name: DB_HOST + value: edx.devstack.mysql80 + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: ENABLE_DJANGO_TOOLBAR + value: "1" + - name: SOCIAL_AUTH_EDX_OIDC_URL_ROOT + value: http://edx.devstack.lms:18000/oauth2 + image: edxops/credentials:latest + name: edx-devstack-credentials + service: + ports: + - containerPort: 18150 + port: 18150 + protocol: TCP + edx-notes-api: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - while true; do python /edx/app/notes/manage.py runserver 0.0.0.0:18120 --settings notesserver.settings.devstack; sleep 4; done + env: + - name: DB_ENGINE + value: django.db.backends.mysql + - name: DB_HOST + value: edx.devstack.mysql80 + - name: DB_NAME + value: notes + - name: DB_PASSWORD + value: password + - name: DB_PORT + value: "3306" + - name: DB_USER + value: notes001 + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: ELASTICSEARCH_DSL + value: http://edx.devstack.elasticsearch710:9200 + - name: ELASTICSEARCH_URL + value: http://edx.devstack.elasticsearch710:9200 + - name: ENABLE_DJANGO_TOOLBAR + value: "1" + image: openedx/edx-notes-api-dev:latest + name: edx-devstack-edxnotesapi + service: + ports: + - containerPort: 18120 + port: 18120 + protocol: TCP + firefox: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - command: + - "" + image: edxops/firefox:latest + name: edx-devstack-firefox + volumeMounts: + - containerPath: /edx/app/edxapp/edx-platform/common/test/data + volume: + name: volume-1 + readOnly: false + service: + ports: + - containerPort: 5900 + port: 25900 + protocol: TCP + volumes: + - emptyDir: {} + name: volume-1 + frontend-app-account: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-account + service: + ports: + - containerPort: 1997 + port: 1997 + protocol: TCP + frontend-app-authn: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-authn + service: + ports: + - containerPort: 1999 + port: 1999 + protocol: TCP + frontend-app-course-authoring: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-course-authoring + service: + ports: + - containerPort: 2001 + port: 2001 + protocol: TCP + frontend-app-gradebook: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-gradebook + service: + ports: + - containerPort: 1994 + port: 1994 + protocol: TCP + frontend-app-learning: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-learning + service: + ports: + - containerPort: 2000 + port: 2000 + protocol: TCP + frontend-app-library-authoring: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-library-authoring + service: + ports: + - containerPort: 3001 + port: 3001 + protocol: TCP + frontend-app-ora-grading: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-ora-grading + service: + ports: + - containerPort: 1993 + port: 1993 + protocol: TCP + frontend-app-payment: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-payment + service: + ports: + - containerPort: 1998 + port: 1998 + protocol: TCP + frontend-app-profile: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-profile + service: + ports: + - containerPort: 1995 + port: 1995 + protocol: TCP + frontend-app-program-console: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-program-console + service: + ports: + - containerPort: 1976 + port: 1976 + protocol: TCP + frontend-app-publisher: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-publisher + service: + ports: + - containerPort: 18400 + port: 18400 + protocol: TCP + insights: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - source /edx/app/insights/insights_env && while true; do python /edx/app/insights/insights/manage.py runserver 0.0.0.0:18110 --settings analytics_dashboard.settings.devstack; sleep 2; done + command: + - "" + env: + - name: ANALYTICS_DASHBOARD_CFG + value: /edx/etc/insights.yml + - name: DB_HOST + value: edx.devstack.mysql80 + - name: DB_NAME + value: dashboard + - name: DB_PASSWORD + value: password + - name: DB_PORT + value: "3306" + - name: DB_USER + value: analytics001 + - name: DJANGO_SETTINGS_MODULE + value: analytics_dashboard.settings.devstack + - name: LMS_HOST + value: http://localhost:18000 + image: edxops/insights-dev:latest + name: edx-devstack-insights + volumeMounts: + - containerPath: /edx/var/insights + volume: + name: insights-1 + shared: true + - containerPath: /edx/etc/insights.yml + volume: + name: volume-1 + readOnly: false + service: + ports: + - containerPort: 18110 + port: 18110 + protocol: TCP + volumes: + - name: insights-1 + size: 5Gi + - emptyDir: {} + name: volume-1 + kafka-control-center: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - env: + - name: CONFLUENT_METRICS_TOPIC_REPLICATION + value: "1" + - name: CONTROL_CENTER_BOOTSTRAP_SERVERS + value: edx.devstack.kafka:29092 + - name: CONTROL_CENTER_INTERNAL_TOPICS_PARTITIONS + value: "1" + - name: CONTROL_CENTER_MONITORING_INTERCEPTOR_TOPIC_PARTITIONS + value: "1" + - name: CONTROL_CENTER_REPLICATION_FACTOR + value: "1" + - name: CONTROL_CENTER_SCHEMA_REGISTRY_URL + value: http://edx.devstack.schema-registry:8081 + - name: PORT + value: "9021" + image: confluentinc/cp-enterprise-control-center:6.2.1 + name: edx-devstack-kafka-control-center + service: + ports: + - containerPort: 9021 + port: 9021 + protocol: TCP + xqueue: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - source /edx/app/xqueue/xqueue_env && while true; do python /edx/app/xqueue/xqueue/manage.py runserver 0.0.0.0:18040 ; sleep 2; done + command: + - "" + env: + - name: XQUEUE_CFG + value: /edx/etc/xqueue.yml + image: edxops/xqueue-dev:latest + name: edx-devstack-xqueue + volumeMounts: + - containerPath: /edx/app/xqueue/xqueue + volume: + name: volume-1 + readOnly: false + - containerPath: /edx/etc/xqueue.yml + volume: + name: volume-2 + readOnly: false + service: + ports: + - containerPort: 18040 + port: 18040 + protocol: TCP + volumes: + - emptyDir: {} + name: volume-1 + - emptyDir: {} + name: volume-2 + xqueue-consumer: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - source /edx/app/xqueue/xqueue_env && while true; do python /edx/app/xqueue/xqueue/manage.py run_consumer ; sleep 2; done + command: + - "" + image: edxops/xqueue-dev:latest + name: edx-devstack-xqueue-consumer + volumeMounts: + - containerPath: /edx/app/xqueue/xqueue + volume: + name: volume-1 + readOnly: false + - containerPath: /edx/etc/xqueue.yml + volume: + name: volume-2 + readOnly: false + volumes: + - emptyDir: {} + name: volume-1 + - emptyDir: {} + name: volume-2 + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + chrome: + labelSelector: + app.kubernetes.io/component: chrome + command: + - ./manage.py + - runserver + # Sync files between the local filesystem and the development container + sync: + - path: ../edx-platform/common/test/data:/edx/app/edxapp/edx-platform/common/test/data + startContainer: true + # Forward the following ports to be able access your application via localhost + ports: + - port: 15900:5900 + coursegraph: + labelSelector: + app.kubernetes.io/component: coursegraph + # Forward the following ports to be able access your application via localhost + ports: + - port: "7474" + - port: "7687" + credentials: + labelSelector: + app.kubernetes.io/component: credentials + # Forward the following ports to be able access your application via localhost + ports: + - port: "18150" + edx-notes-api: + labelSelector: + app.kubernetes.io/component: edx_notes_api + # Forward the following ports to be able access your application via localhost + ports: + - port: "18120" + firefox: + labelSelector: + app.kubernetes.io/component: firefox + command: + - "" + # Sync files between the local filesystem and the development container + sync: + - path: ../edx-platform/common/test/data:/edx/app/edxapp/edx-platform/common/test/data + startContainer: true + # Forward the following ports to be able access your application via localhost + ports: + - port: 25900:5900 + frontend-app-account: + labelSelector: + app.kubernetes.io/component: frontend-app-account + # Forward the following ports to be able access your application via localhost + ports: + - port: "1997" + frontend-app-authn: + labelSelector: + app.kubernetes.io/component: frontend-app-authn + # Forward the following ports to be able access your application via localhost + ports: + - port: "1999" + frontend-app-course-authoring: + labelSelector: + app.kubernetes.io/component: frontend-app-course-authoring + # Forward the following ports to be able access your application via localhost + ports: + - port: "2001" + frontend-app-gradebook: + labelSelector: + app.kubernetes.io/component: frontend-app-gradebook + # Forward the following ports to be able access your application via localhost + ports: + - port: "1994" + frontend-app-learning: + labelSelector: + app.kubernetes.io/component: frontend-app-learning + # Forward the following ports to be able access your application via localhost + ports: + - port: "2000" + frontend-app-library-authoring: + labelSelector: + app.kubernetes.io/component: frontend-app-library-authoring + # Forward the following ports to be able access your application via localhost + ports: + - port: "3001" + frontend-app-ora-grading: + labelSelector: + app.kubernetes.io/component: frontend-app-ora-grading + # Forward the following ports to be able access your application via localhost + ports: + - port: "1993" + frontend-app-payment: + labelSelector: + app.kubernetes.io/component: frontend-app-payment + # Forward the following ports to be able access your application via localhost + ports: + - port: "1998" + frontend-app-profile: + labelSelector: + app.kubernetes.io/component: frontend-app-profile + # Forward the following ports to be able access your application via localhost + ports: + - port: "1995" + frontend-app-program-console: + labelSelector: + app.kubernetes.io/component: frontend-app-program-console + # Forward the following ports to be able access your application via localhost + ports: + - port: "1976" + frontend-app-publisher: + labelSelector: + app.kubernetes.io/component: frontend-app-publisher + # Forward the following ports to be able access your application via localhost + ports: + - port: "18400" + insights: + labelSelector: + app.kubernetes.io/component: insights + command: + - "" + # Sync files between the local filesystem and the development container + sync: + - path: /configuration_files/insights.yml:/edx/etc/insights.yml + startContainer: true + # Forward the following ports to be able access your application via localhost + ports: + - port: "18110" + kafka-control-center: + labelSelector: + app.kubernetes.io/component: kafka-control-center + # Forward the following ports to be able access your application via localhost + ports: + - port: "9021" + xqueue: + labelSelector: + app.kubernetes.io/component: xqueue + command: + - "" + # Sync files between the local filesystem and the development container + sync: + - path: /xqueue:/edx/app/xqueue/xqueue + startContainer: true + - path: /configuration_files/xqueue.yml:/edx/etc/xqueue.yml + startContainer: true + # Forward the following ports to be able access your application via localhost + ports: + - port: "18040" + xqueue-consumer: + labelSelector: + app.kubernetes.io/component: xqueue_consumer + command: + - "" + # Sync files between the local filesystem and the development container + sync: + - path: /xqueue:/edx/app/xqueue/xqueue + startContainer: true + - path: /configuration_files/xqueue.yml:/edx/etc/xqueue.yml + startContainer: true +dependencies: + analyticsapi: + path: devspace-analyticsapi.yaml + cms: + path: devspace-cms.yaml + ecommerce: + path: devspace-ecommerce.yaml + elasticsearch710: + path: devspace-elasticsearch710.yaml + kafka: + path: devspace-kafka.yaml + lms: + path: devspace-lms.yaml + memcached: + path: devspace-memcached.yaml + mysql57: + path: devspace-mysql57.yaml + mysql80: + path: devspace-mysql80.yaml + registrar: + path: devspace-registrar.yaml + schema-registry: + path: devspace-schema-registry.yaml + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-discovery.yaml b/devspace-discovery.yaml new file mode 100755 index 0000000000..fcbf78c1aa --- /dev/null +++ b/devspace-discovery.yaml @@ -0,0 +1,84 @@ +version: v2beta1 +name: discovery + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + discovery: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - source /edx/app/discovery/discovery_env && while true; do python /edx/app/discovery/discovery/manage.py runserver 0.0.0.0:18381; sleep 2; done + command: + - "" + env: + - name: DB_MIGRATION_HOST + value: edx.devstack.mysql80 + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: ENABLE_DJANGO_TOOLBAR + value: "1" + - name: TEST_ELASTICSEARCH_URL + value: edx.devstack.elasticsearch710 + image: edxops/discovery-dev:latest + name: edx-devstack-discovery + volumeMounts: + - containerPath: /edx/var/discovery + volume: + name: discovery_assets + shared: true + - containerPath: /edx/etc/discovery.yml + volume: + name: volume-1 + readOnly: false + service: + ports: + - containerPort: 18381 + port: 18381 + protocol: TCP + volumes: + - name: discovery_assets + size: 5Gi + - emptyDir: {} + name: volume-1 + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + discovery: + labelSelector: + app.kubernetes.io/component: discovery + command: + - "" + # Sync files between the local filesystem and the development container + sync: + - path: /configuration_files/discovery.yml:/edx/etc/discovery.yml + startContainer: true + # Forward the following ports to be able access your application via localhost + ports: + - port: "18381" +dependencies: + elasticsearch710: + path: devspace-elasticsearch710.yaml + memcached: + path: devspace-memcached.yaml + mysql57: + path: devspace-mysql57.yaml + mysql80: + path: devspace-mysql80.yaml + opensearch12: + path: devspace-opensearch12.yaml + redis: + path: devspace-redis.yaml + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-ecommerce.yaml b/devspace-ecommerce.yaml new file mode 100755 index 0000000000..a9e90c6766 --- /dev/null +++ b/devspace-ecommerce.yaml @@ -0,0 +1,72 @@ +version: v2beta1 +name: ecommerce + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + ecommerce: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - source /edx/app/ecommerce/ecommerce_env && while true; do python /edx/app/ecommerce/ecommerce/manage.py runserver 0.0.0.0:18130; sleep 2; done + command: + - "" + env: + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: ENABLE_DJANGO_TOOLBAR + value: "1" + image: edxops/ecommerce-dev:latest + name: edx-devstack-ecommerce + volumeMounts: + - containerPath: /edx/etc/ecommerce.yml + volume: + name: volume-1 + readOnly: false + service: + ports: + - containerPort: 18130 + port: 18130 + protocol: TCP + volumes: + - emptyDir: {} + name: volume-1 + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + ecommerce: + labelSelector: + app.kubernetes.io/component: ecommerce + command: + - "" + # Sync files between the local filesystem and the development container + sync: + - path: /configuration_files/ecommerce.yml:/edx/etc/ecommerce.yml + startContainer: true + # Forward the following ports to be able access your application via localhost + ports: + - port: "18130" +dependencies: + discovery: + path: devspace-discovery.yaml + lms: + path: devspace-lms.yaml + memcached: + path: devspace-memcached.yaml + mysql57: + path: devspace-mysql57.yaml + mysql80: + path: devspace-mysql80.yaml + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-elasticsearch710.yaml b/devspace-elasticsearch710.yaml new file mode 100755 index 0000000000..04c816fdd8 --- /dev/null +++ b/devspace-elasticsearch710.yaml @@ -0,0 +1,57 @@ +version: v2beta1 +name: elasticsearch710 + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + elasticsearch710: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - command: + - "" + env: + - name: ES_JAVA_OPTS + value: -Xms512m -Xmx512m + - name: bootstrap.memory_lock + value: "true" + - name: discovery.type + value: single-node + image: elasticsearch:7.10.1 + name: edx-devstack-elasticsearch710 + volumeMounts: + - containerPath: /usr/share/elasticsearch/data + volume: + name: elasticsearch710_data + shared: true + service: + ports: + - containerPort: 9200 + port: 9201 + protocol: TCP + - containerPort: 9300 + port: 9301 + protocol: TCP + volumes: + - name: elasticsearch710_data + size: 5Gi + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + elasticsearch710: + labelSelector: + app.kubernetes.io/component: elasticsearch710 + # Forward the following ports to be able access your application via localhost + ports: + - port: 9201:9200 + - port: 9301:9300 + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-forum.yaml b/devspace-forum.yaml new file mode 100755 index 0000000000..b710ab2eca --- /dev/null +++ b/devspace-forum.yaml @@ -0,0 +1,49 @@ +version: v2beta1 +name: forum + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + forum: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - source /edx/app/forum/ruby_env && source /edx/app/forum/devstack_forum_env && cd /edx/app/forum/cs_comments_service && bundle install && while true; do ./bin/unicorn -c config/unicorn_tcp.rb -I .; sleep 2; done + image: edxops/forum:latest + name: edx-devstack-forum + service: + ports: + - containerPort: 4567 + port: 44567 + protocol: TCP + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + forum: + labelSelector: + app.kubernetes.io/component: forum + # Forward the following ports to be able access your application via localhost + ports: + - port: 44567:4567 +dependencies: + elasticsearch710: + path: devspace-elasticsearch710.yaml + memcached: + path: devspace-memcached.yaml + mongo: + path: devspace-mongo.yaml + opensearch12: + path: devspace-opensearch12.yaml + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-kafka.yaml b/devspace-kafka.yaml new file mode 100755 index 0000000000..55c9ee3459 --- /dev/null +++ b/devspace-kafka.yaml @@ -0,0 +1,80 @@ +version: v2beta1 +name: kafka + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + kafka: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - env: + - name: CONFLUENT_METRICS_ENABLE + value: "true" + - name: CONFLUENT_METRICS_REPORTER_BOOTSTRAP_SERVERS + value: edx.devstack.kafka:29092 + - name: CONFLUENT_METRICS_REPORTER_TOPIC_REPLICAS + value: "1" + - name: CONFLUENT_SUPPORT_CUSTOMER_ID + value: anonymous + - name: KAFKA_ADVERTISED_LISTENERS + value: PLAINTEXT://edx.devstack.kafka:29092,PLAINTEXT_HOST://localhost:9092 + - name: KAFKA_BROKER_ID + value: "1" + - name: KAFKA_CONFLUENT_BALANCER_TOPIC_REPLICATION_FACTOR + value: "1" + - name: KAFKA_CONFLUENT_LICENSE_TOPIC_REPLICATION_FACTOR + value: "1" + - name: KAFKA_CONFLUENT_SCHEMA_REGISTRY_URL + value: http://edx.devstack.schema-registry:8081 + - name: KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS + value: "0" + - name: KAFKA_JMX_HOSTNAME + value: localhost + - name: KAFKA_JMX_PORT + value: "9101" + - name: KAFKA_LISTENER_SECURITY_PROTOCOL_MAP + value: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT + - name: KAFKA_METRIC_REPORTERS + value: io.confluent.metrics.reporter.ConfluentMetricsReporter + - name: KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR + value: "1" + - name: KAFKA_TRANSACTION_STATE_LOG_MIN_ISR + value: "1" + - name: KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR + value: "1" + - name: KAFKA_ZOOKEEPER_CONNECT + value: edx.devstack.zookeeper:2181 + image: confluentinc/cp-server:6.2.1 + name: edx-devstack-kafka + service: + ports: + - containerPort: 9092 + port: 9092 + protocol: TCP + - containerPort: 9101 + port: 9101 + protocol: TCP + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + kafka: + labelSelector: + app.kubernetes.io/component: kafka + # Forward the following ports to be able access your application via localhost + ports: + - port: "9092" + - port: "9101" +dependencies: + zookeeper: + path: devspace-zookeeper.yaml + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-lms.yaml b/devspace-lms.yaml new file mode 100755 index 0000000000..56748feb77 --- /dev/null +++ b/devspace-lms.yaml @@ -0,0 +1,92 @@ +version: v2beta1 +name: lms + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + lms: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - source /edx/app/edxapp/edxapp_env && while true; do python /edx/app/edxapp/edx-platform/manage.py lms runserver 0.0.0.0:18000 --settings devstack_docker; sleep 2; done + command: + - "" + env: + - name: CMS_CFG + value: /edx/etc/studio.yml + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: EDXAPP_TEST_MONGO_HOST + value: edx.devstack.mongo + - name: FRONTEND_TEST_SERVER_CMS_PORT + value: "18031" + - name: FRONTEND_TEST_SERVER_HOSTNAME + value: edx.devstack.lms + - name: FRONTEND_TEST_SERVER_LMS_PORT + value: "18003" + - name: LMS_CFG + value: /edx/etc/lms.yml + - name: NO_PYTHON_UNINSTALL + value: "1" + - name: PATH + value: '/edx/app/edxapp/venvs/edxapp/bin:/edx/app/edxapp/nodeenv/bin:/edx/app/edxapp/edx-platform/node_modules/.bin:/edx/app/edxapp/edx-platform/bin:' + - name: SERVICE_VARIANT + value: lms + - name: VIRTUAL_ENV + value: /edx/app/edxapp/venvs/edxapp + image: openedx/lms-dev:latest + name: edx-devstack-lms + volumeMounts: + - containerPath: /edx/var/edxapp/staticfiles + volume: + name: edxapp_lms_assets + shared: true + service: + ports: + - containerPort: 18000 + port: 18000 + protocol: TCP + - containerPort: 19876 + port: 19876 + protocol: TCP + volumes: + - name: edxapp_lms_assets + size: 5Gi + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + lms: + labelSelector: + app.kubernetes.io/component: lms + # Forward the following ports to be able access your application via localhost + ports: + - port: "18000" + - port: "19876" +dependencies: + discovery: + path: devspace-discovery.yaml + elasticsearch710: + path: devspace-elasticsearch710.yaml + forum: + path: devspace-forum.yaml + memcached: + path: devspace-memcached.yaml + mongo: + path: devspace-mongo.yaml + mysql57: + path: devspace-mysql57.yaml + mysql80: + path: devspace-mysql80.yaml + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-memcached.yaml b/devspace-memcached.yaml new file mode 100755 index 0000000000..a52db91a17 --- /dev/null +++ b/devspace-memcached.yaml @@ -0,0 +1,22 @@ +version: v2beta1 +name: memcached + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + memcached: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - image: memcached:1.5.10-alpine + name: edx-devstack-memcached + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-mongo.yaml b/devspace-mongo.yaml new file mode 100755 index 0000000000..d9535f11a6 --- /dev/null +++ b/devspace-mongo.yaml @@ -0,0 +1,58 @@ +version: v2beta1 +name: mongo + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + mongo: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - mongod + - --nojournal + - --storageEngine + - wiredTiger + command: + - ./manage.py + - runserver + image: mongo:4.4.18 + name: edx-devstack-mongo + volumeMounts: + - containerPath: /data/db + volume: + name: mongo_data + shared: true + - containerPath: /data/configdb + volume: + name: mongo_config_data + shared: true + service: + ports: + - containerPort: 27017 + port: 27017 + protocol: TCP + volumes: + - name: mongo_data + size: 5Gi + - name: mongo_config_data + size: 5Gi + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + mongo: + labelSelector: + app.kubernetes.io/component: mongo + # Forward the following ports to be able access your application via localhost + ports: + - port: "27017" + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-mysql57.yaml b/devspace-mysql57.yaml new file mode 100755 index 0000000000..50eb8b7307 --- /dev/null +++ b/devspace-mysql57.yaml @@ -0,0 +1,55 @@ +version: v2beta1 +name: mysql57 + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + mysql57: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - mysqld + - --character-set-server=utf8 + - --collation-server=utf8_general_ci + command: + - "" + env: + - name: MYSQL_ALLOW_EMPTY_PASSWORD + value: "yes" + - name: MYSQL_ROOT_PASSWORD + value: "" + image: edxops/mysql:5.7 + name: edx-devstack-mysql57 + volumeMounts: + - containerPath: /var/lib/mysql + volume: + name: mysql57_data + shared: true + service: + ports: + - containerPort: 3306 + port: 3506 + protocol: TCP + volumes: + - name: mysql57_data + size: 5Gi + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + mysql57: + labelSelector: + app.kubernetes.io/component: mysql57 + # Forward the following ports to be able access your application via localhost + ports: + - port: 3506:3306 + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-mysql80.yaml b/devspace-mysql80.yaml new file mode 100755 index 0000000000..f77e1de382 --- /dev/null +++ b/devspace-mysql80.yaml @@ -0,0 +1,55 @@ +version: v2beta1 +name: mysql80 + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + mysql80: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - mysqld + - --character-set-server=utf8 + - --collation-server=utf8_general_ci + command: + - "" + env: + - name: MYSQL_ALLOW_EMPTY_PASSWORD + value: "yes" + - name: MYSQL_ROOT_PASSWORD + value: "" + image: mysql:8.0.33-oracle + name: edx-devstack-mysql80 + volumeMounts: + - containerPath: /var/lib/mysql + volume: + name: mysql80data + shared: true + service: + ports: + - containerPort: 3306 + port: 3406 + protocol: TCP + volumes: + - name: mysql80data + size: 5Gi + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + mysql80: + labelSelector: + app.kubernetes.io/component: mysql80 + # Forward the following ports to be able access your application via localhost + ports: + - port: 3406:3306 + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-opensearch12.yaml b/devspace-opensearch12.yaml new file mode 100755 index 0000000000..7bd5c842f9 --- /dev/null +++ b/devspace-opensearch12.yaml @@ -0,0 +1,59 @@ +version: v2beta1 +name: opensearch12 + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + opensearch12: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - command: + - "" + env: + - name: ES_JAVA_OPTS + value: -Xms512m -Xmx512m + - name: bootstrap.memory_lock + value: "true" + - name: discovery.type + value: single-node + - name: plugins.security.disabled + value: "true" + image: opensearchproject/opensearch:1.2.0 + name: edx-devstack-opensearch12 + volumeMounts: + - containerPath: /usr/share/opensearch/data + volume: + name: opensearch12_data + shared: true + service: + ports: + - containerPort: 9200 + port: 9202 + protocol: TCP + - containerPort: 9600 + port: 9600 + protocol: TCP + volumes: + - name: opensearch12_data + size: 5Gi + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + opensearch12: + labelSelector: + app.kubernetes.io/component: opensearch12 + # Forward the following ports to be able access your application via localhost + ports: + - port: 9202:9200 + - port: "9600" + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-redis.yaml b/devspace-redis.yaml new file mode 100755 index 0000000000..89ca652ebe --- /dev/null +++ b/devspace-redis.yaml @@ -0,0 +1,36 @@ +version: v2beta1 +name: redis + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + redis: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - redis-server + - --requirepass + - password + command: + - "" + image: redis:7.2 + name: edx-devstack-redis + volumeMounts: + - containerPath: /data + volume: + name: redis_data + shared: true + volumes: + - name: redis_data + size: 5Gi + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-registrar-worker.yaml b/devspace-registrar-worker.yaml new file mode 100755 index 0000000000..4160829654 --- /dev/null +++ b/devspace-registrar-worker.yaml @@ -0,0 +1,86 @@ +version: v2beta1 +name: registrar-worker + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + registrar-worker: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - cd /edx/app/registrar && celery -A registrar worker -l debug -c 2 + command: + - "" + env: + - name: CELERY_BROKER_HOSTNAME + value: edx.devstack.redis:6379 + - name: CELERY_BROKER_PASSWORD + value: password + - name: CELERY_BROKER_TRANSPORT + value: redis + - name: CELERY_BROKER_VHOST + value: "10" + - name: DB_HOST + value: edx.devstack.mysql80 + - name: DB_NAME + value: registrar + - name: DB_PASSWORD + value: password + - name: DB_PORT + value: "3306" + - name: DB_USER + value: registrar001 + - name: DJANGO_SETTINGS_MODULE + value: registrar.settings.devstack + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: LMS_HOST + value: http://localhost:18000 + - name: MEMCACHE_HOST + value: edx.devstack.memcached + image: edxops/registrar-dev:latest + name: edx-devstack-registrar-worker + volumeMounts: + - containerPath: /edx/var/registrar + volume: + name: registrar-worker-1 + shared: true + service: + ports: + - containerPort: 18735 + port: 18735 + protocol: TCP + volumes: + - name: registrar-worker-1 + size: 5Gi + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + registrar-worker: + labelSelector: + app.kubernetes.io/component: registrar-worker + # Forward the following ports to be able access your application via localhost + ports: + - port: "18735" +dependencies: + lms: + path: devspace-lms.yaml + mysql57: + path: devspace-mysql57.yaml + mysql80: + path: devspace-mysql80.yaml + redis: + path: devspace-redis.yaml + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-registrar.yaml b/devspace-registrar.yaml new file mode 100755 index 0000000000..f5928072db --- /dev/null +++ b/devspace-registrar.yaml @@ -0,0 +1,108 @@ +version: v2beta1 +name: registrar + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + registrar: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - while true; do python /edx/app/registrar/manage.py runserver 0.0.0.0:18734; sleep 2; done + command: + - "" + env: + - name: ANALYTICS_DASHBOARD_CFG + value: /edx/etc/registrar.yml + - name: CELERY_ALWAYS_EAGER + value: "false" + - name: CELERY_BROKER_HOSTNAME + value: edx.devstack.redis:6379 + - name: CELERY_BROKER_PASSWORD + value: password + - name: CELERY_BROKER_TRANSPORT + value: redis + - name: CELERY_BROKER_VHOST + value: "10" + - name: DB_HOST + value: edx.devstack.mysql80 + - name: DB_NAME + value: registrar + - name: DB_PASSWORD + value: password + - name: DB_PORT + value: "3306" + - name: DB_USER + value: registrar001 + - name: DJANGO_SETTINGS_MODULE + value: registrar.settings.devstack + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: LMS_HOST + value: http://localhost:18000 + - name: MEMCACHE_HOST + value: edx.devstack.memcached + image: edxops/registrar-dev:latest + name: edx-devstack-registrar + volumeMounts: + - containerPath: /edx/var/registrar + volume: + name: registrar-1 + shared: true + - containerPath: /edx/etc/registrar.yml + volume: + name: volume-1 + readOnly: false + service: + ports: + - containerPort: 18734 + port: 18734 + protocol: TCP + volumes: + - name: registrar-1 + size: 5Gi + - emptyDir: {} + name: volume-1 + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + registrar: + labelSelector: + app.kubernetes.io/component: registrar + command: + - "" + # Sync files between the local filesystem and the development container + sync: + - path: /configuration_files/registrar.yml:/edx/etc/registrar.yml + startContainer: true + # Forward the following ports to be able access your application via localhost + ports: + - port: "18734" +dependencies: + discovery: + path: devspace-discovery.yaml + lms: + path: devspace-lms.yaml + memcached: + path: devspace-memcached.yaml + mysql57: + path: devspace-mysql57.yaml + mysql80: + path: devspace-mysql80.yaml + redis: + path: devspace-redis.yaml + registrar-worker: + path: devspace-registrar-worker.yaml + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-schema-registry.yaml b/devspace-schema-registry.yaml new file mode 100755 index 0000000000..9c1ef53e38 --- /dev/null +++ b/devspace-schema-registry.yaml @@ -0,0 +1,46 @@ +version: v2beta1 +name: schema-registry + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + schema-registry: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - env: + - name: SCHEMA_REGISTRY_HOST_NAME + value: schema-registry.devstack.edx + - name: SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS + value: edx.devstack.kafka:29092 + - name: SCHEMA_REGISTRY_LISTENERS + value: http://0.0.0.0:8081 + image: confluentinc/cp-schema-registry:6.2.1 + name: edx-devstack-schema-registry + service: + ports: + - containerPort: 8081 + port: 8081 + protocol: TCP + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + schema-registry: + labelSelector: + app.kubernetes.io/component: schema-registry + # Forward the following ports to be able access your application via localhost + ports: + - port: "8081" +dependencies: + kafka: + path: devspace-kafka.yaml + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace-zookeeper.yaml b/devspace-zookeeper.yaml new file mode 100755 index 0000000000..8b76256752 --- /dev/null +++ b/devspace-zookeeper.yaml @@ -0,0 +1,41 @@ +version: v2beta1 +name: zookeeper + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + zookeeper: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - env: + - name: ZOOKEEPER_CLIENT_PORT + value: "2181" + - name: ZOOKEEPER_TICK_TIME + value: "2000" + image: confluentinc/cp-zookeeper:6.2.1 + name: edx-devstack-zookeeper + service: + ports: + - containerPort: 2181 + port: 2181 + protocol: TCP + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + zookeeper: + labelSelector: + app.kubernetes.io/component: zookeeper + # Forward the following ports to be able access your application via localhost + ports: + - port: "2181" + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace.yaml b/devspace.yaml new file mode 100755 index 0000000000..af61060a76 --- /dev/null +++ b/devspace.yaml @@ -0,0 +1,714 @@ +version: v2beta1 +name: docker-compose + +# This is a list of `deployments` that DevSpace can create for this project +deployments: + chrome: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - command: + - "" + image: edxops/chrome:latest + name: edx-devstack-chrome + volumeMounts: + - containerPath: /edx/app/edxapp/edx-platform/common/test/data + volume: + name: volume-1 + readOnly: false + service: + ports: + - containerPort: 5900 + port: 15900 + protocol: TCP + volumes: + - emptyDir: {} + name: volume-1 + coursegraph: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - command: + - "" + env: + - name: NEO4J_AUTH + value: neo4j/edx + image: neo4j:3.5.28 + name: edx-devstack-coursegraph + volumeMounts: + - containerPath: /data + volume: + name: coursegraph_data + shared: true + service: + ports: + - containerPort: 7474 + port: 7474 + protocol: TCP + - containerPort: 7687 + port: 7687 + protocol: TCP + volumes: + - name: coursegraph_data + size: 5Gi + credentials: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - source /edx/app/credentials/credentials_env && while true; do python /edx/app/credentials/credentials/manage.py runserver 0.0.0.0:18150; sleep 2; done + env: + - name: CACHE_LOCATION + value: edx.devstack.memcached:11211 + - name: DB_HOST + value: edx.devstack.mysql80 + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: ENABLE_DJANGO_TOOLBAR + value: "1" + - name: SOCIAL_AUTH_EDX_OIDC_URL_ROOT + value: http://edx.devstack.lms:18000/oauth2 + image: edxops/credentials:latest + name: edx-devstack-credentials + service: + ports: + - containerPort: 18150 + port: 18150 + protocol: TCP + edx-notes-api: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - while true; do python /edx/app/notes/manage.py runserver 0.0.0.0:18120 --settings notesserver.settings.devstack; sleep 4; done + env: + - name: DB_ENGINE + value: django.db.backends.mysql + - name: DB_HOST + value: edx.devstack.mysql80 + - name: DB_NAME + value: notes + - name: DB_PASSWORD + value: password + - name: DB_PORT + value: "3306" + - name: DB_USER + value: notes001 + - name: DJANGO_WATCHMAN_TIMEOUT + value: "30" + - name: ELASTICSEARCH_DSL + value: http://edx.devstack.elasticsearch710:9200 + - name: ELASTICSEARCH_URL + value: http://edx.devstack.elasticsearch710:9200 + - name: ENABLE_DJANGO_TOOLBAR + value: "1" + image: openedx/edx-notes-api-dev:latest + name: edx-devstack-edxnotesapi + service: + ports: + - containerPort: 18120 + port: 18120 + protocol: TCP + firefox: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - command: + - "" + image: edxops/firefox:latest + name: edx-devstack-firefox + volumeMounts: + - containerPath: /edx/app/edxapp/edx-platform/common/test/data + volume: + name: volume-1 + readOnly: false + service: + ports: + - containerPort: 5900 + port: 25900 + protocol: TCP + volumes: + - emptyDir: {} + name: volume-1 + frontend-app-account: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-account + service: + ports: + - containerPort: 1997 + port: 1997 + protocol: TCP + frontend-app-authn: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-authn + service: + ports: + - containerPort: 1999 + port: 1999 + protocol: TCP + frontend-app-course-authoring: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-course-authoring + service: + ports: + - containerPort: 2001 + port: 2001 + protocol: TCP + frontend-app-gradebook: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-gradebook + service: + ports: + - containerPort: 1994 + port: 1994 + protocol: TCP + frontend-app-learning: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-learning + service: + ports: + - containerPort: 2000 + port: 2000 + protocol: TCP + frontend-app-library-authoring: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-library-authoring + service: + ports: + - containerPort: 3001 + port: 3001 + protocol: TCP + frontend-app-ora-grading: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-ora-grading + service: + ports: + - containerPort: 1993 + port: 1993 + protocol: TCP + frontend-app-payment: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-payment + service: + ports: + - containerPort: 1998 + port: 1998 + protocol: TCP + frontend-app-profile: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-profile + service: + ports: + - containerPort: 1995 + port: 1995 + protocol: TCP + frontend-app-program-console: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-program-console + service: + ports: + - containerPort: 1976 + port: 1976 + protocol: TCP + frontend-app-publisher: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - npm ci || exit 1; while true; do npm start; sleep 2; done + env: + - name: NODE_ENV + value: development + image: node:16 + name: edx-devstack-frontend-app-publisher + service: + ports: + - containerPort: 18400 + port: 18400 + protocol: TCP + insights: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - source /edx/app/insights/insights_env && while true; do python /edx/app/insights/insights/manage.py runserver 0.0.0.0:18110 --settings analytics_dashboard.settings.devstack; sleep 2; done + command: + - "" + env: + - name: ANALYTICS_DASHBOARD_CFG + value: /edx/etc/insights.yml + - name: DB_HOST + value: edx.devstack.mysql80 + - name: DB_NAME + value: dashboard + - name: DB_PASSWORD + value: password + - name: DB_PORT + value: "3306" + - name: DB_USER + value: analytics001 + - name: DJANGO_SETTINGS_MODULE + value: analytics_dashboard.settings.devstack + - name: LMS_HOST + value: http://localhost:18000 + image: edxops/insights-dev:latest + name: edx-devstack-insights + volumeMounts: + - containerPath: /edx/var/insights + volume: + name: insights-1 + shared: true + - containerPath: /edx/etc/insights.yml + volume: + name: volume-1 + readOnly: false + service: + ports: + - containerPort: 18110 + port: 18110 + protocol: TCP + volumes: + - name: insights-1 + size: 5Gi + - emptyDir: {} + name: volume-1 + kafka-control-center: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - env: + - name: CONFLUENT_METRICS_TOPIC_REPLICATION + value: "1" + - name: CONTROL_CENTER_BOOTSTRAP_SERVERS + value: edx.devstack.kafka:29092 + - name: CONTROL_CENTER_INTERNAL_TOPICS_PARTITIONS + value: "1" + - name: CONTROL_CENTER_MONITORING_INTERCEPTOR_TOPIC_PARTITIONS + value: "1" + - name: CONTROL_CENTER_REPLICATION_FACTOR + value: "1" + - name: CONTROL_CENTER_SCHEMA_REGISTRY_URL + value: http://edx.devstack.schema-registry:8081 + - name: PORT + value: "9021" + image: confluentinc/cp-enterprise-control-center:6.2.1 + name: edx-devstack-kafka-control-center + service: + ports: + - containerPort: 9021 + port: 9021 + protocol: TCP + xqueue: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - source /edx/app/xqueue/xqueue_env && while true; do python /edx/app/xqueue/xqueue/manage.py runserver 0.0.0.0:18040 ; sleep 2; done + command: + - "" + env: + - name: XQUEUE_CFG + value: /edx/etc/xqueue.yml + image: edxops/xqueue-dev:latest + name: edx-devstack-xqueue + volumeMounts: + - containerPath: /edx/app/xqueue/xqueue + volume: + name: volume-1 + readOnly: false + - containerPath: /edx/etc/xqueue.yml + volume: + name: volume-2 + readOnly: false + service: + ports: + - containerPort: 18040 + port: 18040 + protocol: TCP + volumes: + - emptyDir: {} + name: volume-1 + - emptyDir: {} + name: volume-2 + xqueue-consumer: + # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations + helm: + # Under `values` we can define the values for this Helm chart used during `helm install/upgrade` + # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"] + values: + containers: + - args: + - bash + - -c + - source /edx/app/xqueue/xqueue_env && while true; do python /edx/app/xqueue/xqueue/manage.py run_consumer ; sleep 2; done + command: + - "" + image: edxops/xqueue-dev:latest + name: edx-devstack-xqueue-consumer + volumeMounts: + - containerPath: /edx/app/xqueue/xqueue + volume: + name: volume-1 + readOnly: false + - containerPath: /edx/etc/xqueue.yml + volume: + name: volume-2 + readOnly: false + volumes: + - emptyDir: {} + name: volume-1 + - emptyDir: {} + name: volume-2 + +# This is a list of `dev` containers that are based on the containers created by your deployments +dev: + chrome: + labelSelector: + app.kubernetes.io/component: chrome + command: + - "" + # Sync files between the local filesystem and the development container + sync: + - path: ../edx-platform/common/test/data:/edx/app/edxapp/edx-platform/common/test/data + startContainer: true + # Forward the following ports to be able access your application via localhost + ports: + - port: 15900:5900 + coursegraph: + labelSelector: + app.kubernetes.io/component: coursegraph + # Forward the following ports to be able access your application via localhost + ports: + - port: "7474" + - port: "7687" + credentials: + labelSelector: + app.kubernetes.io/component: credentials + # Forward the following ports to be able access your application via localhost + ports: + - port: "18150" + edx-notes-api: + labelSelector: + app.kubernetes.io/component: edx_notes_api + # Forward the following ports to be able access your application via localhost + ports: + - port: "18120" + firefox: + labelSelector: + app.kubernetes.io/component: firefox + command: + - "" + # Sync files between the local filesystem and the development container + sync: + - path: ../edx-platform/common/test/data:/edx/app/edxapp/edx-platform/common/test/data + startContainer: true + # Forward the following ports to be able access your application via localhost + ports: + - port: 25900:5900 + frontend-app-account: + labelSelector: + app.kubernetes.io/component: frontend-app-account + # Forward the following ports to be able access your application via localhost + ports: + - port: "1997" + frontend-app-authn: + labelSelector: + app.kubernetes.io/component: frontend-app-authn + # Forward the following ports to be able access your application via localhost + ports: + - port: "1999" + frontend-app-course-authoring: + labelSelector: + app.kubernetes.io/component: frontend-app-course-authoring + # Forward the following ports to be able access your application via localhost + ports: + - port: "2001" + frontend-app-gradebook: + labelSelector: + app.kubernetes.io/component: frontend-app-gradebook + # Forward the following ports to be able access your application via localhost + ports: + - port: "1994" + frontend-app-learning: + labelSelector: + app.kubernetes.io/component: frontend-app-learning + # Forward the following ports to be able access your application via localhost + ports: + - port: "2000" + frontend-app-library-authoring: + labelSelector: + app.kubernetes.io/component: frontend-app-library-authoring + # Forward the following ports to be able access your application via localhost + ports: + - port: "3001" + frontend-app-ora-grading: + labelSelector: + app.kubernetes.io/component: frontend-app-ora-grading + # Forward the following ports to be able access your application via localhost + ports: + - port: "1993" + frontend-app-payment: + labelSelector: + app.kubernetes.io/component: frontend-app-payment + # Forward the following ports to be able access your application via localhost + ports: + - port: "1998" + frontend-app-profile: + labelSelector: + app.kubernetes.io/component: frontend-app-profile + # Forward the following ports to be able access your application via localhost + ports: + - port: "1995" + frontend-app-program-console: + labelSelector: + app.kubernetes.io/component: frontend-app-program-console + # Forward the following ports to be able access your application via localhost + ports: + - port: "1976" + frontend-app-publisher: + labelSelector: + app.kubernetes.io/component: frontend-app-publisher + # Forward the following ports to be able access your application via localhost + ports: + - port: "18400" + insights: + labelSelector: + app.kubernetes.io/component: insights + command: + - "" + # Sync files between the local filesystem and the development container + sync: + - path: /configuration_files/insights.yml:/edx/etc/insights.yml + startContainer: true + # Forward the following ports to be able access your application via localhost + ports: + - port: "18110" + kafka-control-center: + labelSelector: + app.kubernetes.io/component: kafka-control-center + # Forward the following ports to be able access your application via localhost + ports: + - port: "9021" + xqueue: + labelSelector: + app.kubernetes.io/component: xqueue + command: + - "" + # Sync files between the local filesystem and the development container + sync: + - path: /xqueue:/edx/app/xqueue/xqueue + startContainer: true + - path: /configuration_files/xqueue.yml:/edx/etc/xqueue.yml + startContainer: true + # Forward the following ports to be able access your application via localhost + ports: + - port: "18040" + xqueue-consumer: + labelSelector: + app.kubernetes.io/component: xqueue_consumer + command: + - "" + # Sync files between the local filesystem and the development container + sync: + - path: /xqueue:/edx/app/xqueue/xqueue + startContainer: true + - path: /configuration_files/xqueue.yml:/edx/etc/xqueue.yml + startContainer: true +dependencies: + analyticsapi: + path: devspace-analyticsapi.yaml + cms: + path: devspace-cms.yaml + ecommerce: + path: devspace-ecommerce.yaml + elasticsearch710: + path: devspace-elasticsearch710.yaml + kafka: + path: devspace-kafka.yaml + lms: + path: devspace-lms.yaml + memcached: + path: devspace-memcached.yaml + mysql57: + path: devspace-mysql57.yaml + mysql80: + path: devspace-mysql80.yaml + registrar: + path: devspace-registrar.yaml + schema-registry: + path: devspace-schema-registry.yaml + +# Define dependencies to other projects with a devspace.yaml +# dependencies: +# api: +# git: https://... # Git-based dependencies +# tag: v1.0.0 +# ui: +# path: ./ui # Path-based dependencies (for monorepos) diff --git a/devspace_start.sh b/devspace_start.sh new file mode 100755 index 0000000000..d681506bcc --- /dev/null +++ b/devspace_start.sh @@ -0,0 +1,36 @@ +#!/bin/bash +set +e # Continue on errors + +COLOR_BLUE="\033[0;94m" +COLOR_GREEN="\033[0;92m" +COLOR_RESET="\033[0m" + +# Print useful output for user +echo -e "${COLOR_BLUE} + %########% + %###########% ____ _____ + %#########% | _ \ ___ __ __ / ___/ ____ ____ ____ ___ + %#########% | | | | / _ \\\\\ \ / / \___ \ | _ \ / _ | / __// _ \\ + %#############% | |_| |( __/ \ V / ____) )| |_) )( (_| |( (__( __/ + %#############% |____/ \___| \_/ \____/ | __/ \__,_| \___\\\\\___| + %###############% |_| + %###########%${COLOR_RESET} + + +Welcome to your development container! + +This is how you can work with it: +- Files will be synchronized between your local machine and this container +- Some ports will be forwarded, so you can access this container via localhost +- Run \`${COLOR_GREEN}python main.py${COLOR_RESET}\` to start the application +" + +# Set terminal prompt +export PS1="\[${COLOR_BLUE}\]devspace\[${COLOR_RESET}\] ./\W \[${COLOR_BLUE}\]\\$\[${COLOR_RESET}\] " +if [ -z "$BASH" ]; then export PS1="$ "; fi + +# Include project's bin/ folder in PATH +export PATH="./bin:$PATH" + +# Open shell +bash --norc