Files
transcripcion-whisper/whisper-distributed/unifier-deployment.yaml

44 lines
1.0 KiB
YAML
Raw Normal View History

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yml
kompose.version: 1.36.0 (ae2a39403)
labels:
io.kompose.service: unifier
name: unifier
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: unifier
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yml
kompose.version: 1.36.0 (ae2a39403)
labels:
io.kompose.service: unifier
spec:
containers:
- image: unifier
name: unifier
ports:
- containerPort: 8000
protocol: TCP
volumeMounts:
- mountPath: /app/shared
name: unifier-cm0
- mountPath: /app/output
name: unifier-cm1
restartPolicy: Always
volumes:
- configMap:
name: unifier-cm0
name: unifier-cm0
- configMap:
name: unifier-cm1
name: unifier-cm1