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

40 lines
867 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:
- args:
- yarn
- dev
env:
- name: DEBUG
value: '*'
- name: STARTUP_COMMAND_1
value: yarn install
image: thecodingmachine/nodejs:12
name: uploader
resources: {}
volumeMounts:
- mountPath: /usr/src/app
name: uploader-claim0
restartPolicy: Always
volumes:
- name: uploader-claim0
persistentVolumeClaim:
claimName: uploader-claim0
status: {}