ungleich-k8s/apps/workadventure/v2/uploader-deployment.yaml

41 lines
912 B
YAML
Raw Normal View History

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:
- command:
- yarn
- run
- runprod
env:
- name: DEBUG
value: '*'
- name: STARTUP_COMMAND_1
value: yarn install
image: thecodingmachine/workadventure-uploader:v1.6.4
name: uploader
resources: {}
volumeMounts:
- mountPath: /usr/src/app
name: uploader-claim0
restartPolicy: Always
volumes:
- name: uploader-claim0
persistentVolumeClaim:
claimName: uploader-claim0
status: {}