workadventure: Cleanup 80% of the manifests

This commit is contained in:
Nico Schottelius 2021-12-19 10:48:44 +01:00
parent a2dd05410f
commit 5131b32a3f
10 changed files with 91 additions and 130 deletions

View File

@ -0,0 +1,13 @@
## Workedvanture
## Components
### Back
### Front
### Pusher
### Uploader
### Messages

View File

@ -1,69 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: /home/nico/Downloads/kompose convert
kompose.version: 1.26.0 (40646f47)
traefik.enable: "true"
traefik.http.routers.maps-ssl.entryPoints: websecure
traefik.http.routers.maps-ssl.rule: Host(`maps.workadventure.localhost`)
traefik.http.routers.maps-ssl.service: maps
traefik.http.routers.maps-ssl.tls: "true"
traefik.http.routers.maps.entryPoints: web,traefik
traefik.http.routers.maps.rule: Host(`maps.workadventure.localhost`)
traefik.http.services.maps.loadbalancer.server.port: "80"
creationTimestamp: null
labels:
io.kompose.service: maps
name: maps
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: maps
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: /home/nico/Downloads/kompose convert
kompose.version: 1.26.0 (40646f47)
traefik.enable: "true"
traefik.http.routers.maps-ssl.entryPoints: websecure
traefik.http.routers.maps-ssl.rule: Host(`maps.workadventure.localhost`)
traefik.http.routers.maps-ssl.service: maps
traefik.http.routers.maps-ssl.tls: "true"
traefik.http.routers.maps.entryPoints: web,traefik
traefik.http.routers.maps.rule: Host(`maps.workadventure.localhost`)
traefik.http.services.maps.loadbalancer.server.port: "80"
creationTimestamp: null
labels:
io.kompose.service: maps
spec:
containers:
- env:
- name: DEBUG_MODE
- name: FRONT_URL
value: http://play.workadventure.localhost
- name: HOST
value: 0.0.0.0
- name: NODE_ENV
value: development
- name: STARTUP_COMMAND_0
value: sudo a2enmod headers
- name: STARTUP_COMMAND_1
value: yarn install
- name: STARTUP_COMMAND_2
value: yarn run dev &
image: thecodingmachine/php:8.1-v4-apache-node12
name: maps
resources: {}
volumeMounts:
- mountPath: /var/www/html
name: maps-claim0
restartPolicy: Always
volumes:
- name: maps-claim0
persistentVolumeClaim:
claimName: maps-claim0
status: {}

View File

@ -1,47 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: /home/nico/Downloads/kompose convert
kompose.version: 1.26.0 (40646f47)
traefik.enable: "true"
traefik.http.routers.redisinsight-ssl.entryPoints: websecure
traefik.http.routers.redisinsight-ssl.rule: Host(`redis.workadventure.localhost`)
traefik.http.routers.redisinsight-ssl.service: redisinsight
traefik.http.routers.redisinsight-ssl.tls: "true"
traefik.http.routers.redisinsight.entryPoints: web
traefik.http.routers.redisinsight.rule: Host(`redis.workadventure.localhost`)
traefik.http.services.redisinsight.loadbalancer.server.port: "8001"
creationTimestamp: null
labels:
io.kompose.service: redisinsight
name: redisinsight
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: redisinsight
strategy: {}
template:
metadata:
annotations:
kompose.cmd: /home/nico/Downloads/kompose convert
kompose.version: 1.26.0 (40646f47)
traefik.enable: "true"
traefik.http.routers.redisinsight-ssl.entryPoints: websecure
traefik.http.routers.redisinsight-ssl.rule: Host(`redis.workadventure.localhost`)
traefik.http.routers.redisinsight-ssl.service: redisinsight
traefik.http.routers.redisinsight-ssl.tls: "true"
traefik.http.routers.redisinsight.entryPoints: web
traefik.http.routers.redisinsight.rule: Host(`redis.workadventure.localhost`)
traefik.http.services.redisinsight.loadbalancer.server.port: "8001"
creationTimestamp: null
labels:
io.kompose.service: redisinsight
spec:
containers:
- image: redislabs/redisinsight:latest
name: redisinsight
resources: {}
restartPolicy: Always
status: {}

View File

@ -0,0 +1,24 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
labels:
io.kompose.service: redisinsight
name: redisinsight
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: redisinsight
strategy: {}
template:
metadata:
labels:
io.kompose.service: redisinsight
spec:
containers:
- image: redislabs/redisinsight:latest
name: redisinsight
resources: {}
restartPolicy: Always
status: {}

View File

@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
labels:
io.kompose.service: maps
name: maps
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: maps
strategy:
type: Recreate
template:
metadata:
labels:
io.kompose.service: maps
spec:
containers:
- env:
- name: DEBUG_MODE
- name: FRONT_URL
value: http://play.workadventure.localhost
- name: HOST
value: 0.0.0.0
- name: NODE_ENV
value: development
- name: STARTUP_COMMAND_0
value: sudo a2enmod headers
- name: STARTUP_COMMAND_1
value: yarn install
- name: STARTUP_COMMAND_2
value: yarn run dev &
image: thecodingmachine/php:8.1-v4-apache-node12
name: maps
resources: {}
volumeMounts:
- mountPath: /var/www/html
name: maps-claim0
restartPolicy: Always
volumes:
- name: maps-claim0
persistentVolumeClaim:
claimName: maps-claim0
status: {}

View File

@ -1,10 +1,6 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: /home/nico/Downloads/kompose convert
kompose.version: 1.26.0 (40646f47)
creationTimestamp: null
labels:
io.kompose.service: messages
name: messages
@ -17,10 +13,6 @@ spec:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: /home/nico/Downloads/kompose convert
kompose.version: 1.26.0 (40646f47)
creationTimestamp: null
labels:
io.kompose.service: messages
spec:

View File

@ -18,9 +18,10 @@ spec:
io.kompose.service: pusher
spec:
containers:
- args:
- command:
- yarn
- dev
- run
- runprod
env:
- name: ADMIN_API_TOKEN
- name: API_URL
@ -44,7 +45,7 @@ spec:
value: yarn install
- name: STARTUP_COMMAND_2
value: while [ ! -f /usr/src/app/src/Messages/generated/messages_pb.js ]; do sleep 1; done
image: thecodingmachine/nodejs:14
image: thecodingmachine/workadventure-pusher:v1.6.4
name: pusher
resources: {}
volumeMounts:

View File

@ -17,15 +17,16 @@ spec:
io.kompose.service: uploader
spec:
containers:
- args:
- command:
- yarn
- dev
- run
- runprod
env:
- name: DEBUG
value: '*'
- name: STARTUP_COMMAND_1
value: yarn install
image: thecodingmachine/nodejs:12
image: thecodingmachine/workadventure-uploader:v1.6.4
name: uploader
resources: {}
volumeMounts: