mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-09 16:36:29 +00:00
f8a401cab9
Close #124.
27 lines
525 B
YAML
27 lines
525 B
YAML
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
|