argocd-example-apps/sock-shop/base/rabbitmq-dep.yaml

45 lines
946 B
YAML
Raw Permalink Normal View History

2018-06-29 08:44:33 +00:00
---
2018-06-29 08:11:51 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: rabbitmq
labels:
name: rabbitmq
spec:
replicas: 1
selector:
matchLabels:
name: rabbitmq
template:
metadata:
labels:
name: rabbitmq
2018-06-29 08:44:33 +00:00
annotations:
prometheus.io/scrape: "false"
2018-06-29 08:11:51 +00:00
spec:
containers:
- name: rabbitmq
2018-06-29 08:44:33 +00:00
image: rabbitmq:3.6.8-management
2018-06-29 08:11:51 +00:00
ports:
2018-06-29 08:44:33 +00:00
- containerPort: 15672
name: management
2018-06-29 08:11:51 +00:00
- containerPort: 5672
2018-06-29 08:44:33 +00:00
name: rabbitmq
2018-06-29 08:11:51 +00:00
securityContext:
capabilities:
drop:
- all
add:
- CHOWN
- SETGID
- SETUID
- DAC_OVERRIDE
readOnlyRootFilesystem: true
2018-06-29 08:44:33 +00:00
- name: rabbitmq-exporter
image: kbudde/rabbitmq-exporter
ports:
- containerPort: 9090
name: exporter
2018-06-29 08:11:51 +00:00
nodeSelector:
beta.kubernetes.io/os: linux