mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-24 22:08:24 +00:00
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
|