12345678910111213141516171819 |
- ---
- apiVersion: v1
- kind: Service
- metadata:
- name: rabbitmq
- labels:
- name: rabbitmq
- spec:
- ports:
- # the port that this service should serve on
- - port: 5672
- name: rabbitmq
- targetPort: 5672
- - port: 9090
- name: exporter
- targetPort: exporter
- protocol: TCP
- selector:
- name: rabbitmq
|