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

46 lines
1.1 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: rabbitmq
name: rabbitmq
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: rabbitmq
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yml
kompose.version: 1.36.0 (ae2a39403)
labels:
io.kompose.service: rabbitmq
spec:
containers:
- env:
- name: RABBITMQ_DEFAULT_PASS
value: password
- name: RABBITMQ_DEFAULT_USER
value: user
image: rabbitmq:3-management
name: rabbitmq
ports:
- containerPort: 5672
protocol: TCP
- containerPort: 15672
protocol: TCP
volumeMounts:
- mountPath: /var/lib/rabbitmq
name: rabbitmq-data
restartPolicy: Always
volumes:
- name: rabbitmq-data
persistentVolumeClaim:
claimName: rabbitmq-data