6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-01-24 22:08:24 +00:00
tutor/deploy/k8s/deployments/rabbitmq.yml

27 lines
525 B
YAML
Raw Normal View History

2019-01-14 09:16:44 +01:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: rabbitmq
spec:
replicas: 1
selector:
matchLabels:
app: rabbitmq
template:
metadata:
labels:
app: rabbitmq
spec:
containers:
- name: rabbitmq
image: rabbitmq:3.6.10
ports:
- containerPort: 5672
volumeMounts:
- mountPath: /var/lib/rabbitmq
name: data
volumes:
- name: data
persistentVolumeClaim:
claimName: rabbitmq