From 749cab2f50399453be275eb99ce8b600311ce1e1 Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Fri, 29 Sep 2023 10:48:58 -0400 Subject: [PATCH] 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: {}