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.
prometheus/documentation/examples/kubernetes-rabbitmq/svc.yml

18 lines
294 B

apiVersion: v1
kind: Service
metadata:
name: rabbitmq
labels:
name: rabbitmq
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "9090"
spec:
ports:
- port: 9090
name: exporter
targetPort: exporter
protocol: TCP
selector:
app: rabbitmq