Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

temp: results from running kompose on devstack #1192

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions analyticsapi-claim0-persistentvolumeclaim.yaml
Original file line number Diff line number Diff line change
@@ -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: {}
15 changes: 15 additions & 0 deletions analyticsapi-claim1-persistentvolumeclaim.yaml
Original file line number Diff line number Diff line change
@@ -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: {}
69 changes: 69 additions & 0 deletions analyticsapi-deployment.yaml
Original file line number Diff line number Diff line change
@@ -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: {}
20 changes: 20 additions & 0 deletions analyticsapi-service.yaml
Original file line number Diff line number Diff line change
@@ -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: {}
15 changes: 15 additions & 0 deletions chrome-claim0-persistentvolumeclaim.yaml
Original file line number Diff line number Diff line change
@@ -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: {}
46 changes: 46 additions & 0 deletions chrome-deployment.yaml
Original file line number Diff line number Diff line change
@@ -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: {}
20 changes: 20 additions & 0 deletions chrome-service.yaml
Original file line number Diff line number Diff line change
@@ -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: {}
78 changes: 78 additions & 0 deletions cms-deployment.yaml
Original file line number Diff line number Diff line change
@@ -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: {}
23 changes: 23 additions & 0 deletions cms-service.yaml
Original file line number Diff line number Diff line change
@@ -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: {}
15 changes: 15 additions & 0 deletions coursegraph-data-persistentvolumeclaim.yaml
Original file line number Diff line number Diff line change
@@ -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: {}
54 changes: 54 additions & 0 deletions coursegraph-deployment.yaml
Original file line number Diff line number Diff line change
@@ -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: {}
Loading