2021-12-19 09:07:12 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
io.kompose.service: uploader
|
|
|
|
name: uploader
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
io.kompose.service: uploader
|
|
|
|
strategy:
|
|
|
|
type: Recreate
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
io.kompose.service: uploader
|
|
|
|
spec:
|
|
|
|
containers:
|
2021-12-19 09:48:44 +00:00
|
|
|
- command:
|
2021-12-19 09:07:12 +00:00
|
|
|
- yarn
|
2021-12-19 09:48:44 +00:00
|
|
|
- run
|
|
|
|
- runprod
|
2021-12-19 09:07:12 +00:00
|
|
|
env:
|
|
|
|
- name: DEBUG
|
|
|
|
value: '*'
|
|
|
|
- name: STARTUP_COMMAND_1
|
|
|
|
value: yarn install
|
2021-12-19 09:48:44 +00:00
|
|
|
image: thecodingmachine/workadventure-uploader:v1.6.4
|
2021-12-19 09:07:12 +00:00
|
|
|
name: uploader
|
|
|
|
resources: {}
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /usr/src/app
|
|
|
|
name: uploader-claim0
|
|
|
|
restartPolicy: Always
|
|
|
|
volumes:
|
|
|
|
- name: uploader-claim0
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: uploader-claim0
|
|
|
|
status: {}
|