You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
946 B
45 lines
946 B
7 years ago
|
---
|
||
7 years ago
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: rabbitmq
|
||
|
labels:
|
||
|
name: rabbitmq
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
name: rabbitmq
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
name: rabbitmq
|
||
7 years ago
|
annotations:
|
||
|
prometheus.io/scrape: "false"
|
||
7 years ago
|
spec:
|
||
|
containers:
|
||
|
- name: rabbitmq
|
||
7 years ago
|
image: rabbitmq:3.6.8-management
|
||
7 years ago
|
ports:
|
||
7 years ago
|
- containerPort: 15672
|
||
|
name: management
|
||
7 years ago
|
- containerPort: 5672
|
||
7 years ago
|
name: rabbitmq
|
||
7 years ago
|
securityContext:
|
||
|
capabilities:
|
||
|
drop:
|
||
|
- all
|
||
|
add:
|
||
|
- CHOWN
|
||
|
- SETGID
|
||
|
- SETUID
|
||
|
- DAC_OVERRIDE
|
||
|
readOnlyRootFilesystem: true
|
||
7 years ago
|
- name: rabbitmq-exporter
|
||
|
image: kbudde/rabbitmq-exporter
|
||
|
ports:
|
||
|
- containerPort: 9090
|
||
|
name: exporter
|
||
7 years ago
|
nodeSelector:
|
||
|
beta.kubernetes.io/os: linux
|