2c9120944f
Created with: kompose convert
59 lines
1.6 KiB
YAML
59 lines
1.6 KiB
YAML
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
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: messages
|
|
strategy:
|
|
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:
|
|
containers:
|
|
- env:
|
|
- name: STARTUP_COMMAND_1
|
|
value: yarn install
|
|
- name: STARTUP_COMMAND_2
|
|
value: yarn run proto:watch
|
|
image: thecodingmachine/workadventure-back-base:latest
|
|
name: messages
|
|
resources: {}
|
|
volumeMounts:
|
|
- mountPath: /usr/src/app
|
|
name: messages-claim0
|
|
- mountPath: /usr/src/back
|
|
name: messages-claim1
|
|
- mountPath: /usr/src/front
|
|
name: messages-claim2
|
|
- mountPath: /usr/src/pusher
|
|
name: messages-claim3
|
|
restartPolicy: Always
|
|
volumes:
|
|
- name: messages-claim0
|
|
persistentVolumeClaim:
|
|
claimName: messages-claim0
|
|
- name: messages-claim1
|
|
persistentVolumeClaim:
|
|
claimName: messages-claim1
|
|
- name: messages-claim2
|
|
persistentVolumeClaim:
|
|
claimName: messages-claim2
|
|
- name: messages-claim3
|
|
persistentVolumeClaim:
|
|
claimName: messages-claim3
|
|
status: {}
|