apiVersion: v1
kind: Service
metadata:
  labels:
    app: rabbit-stream-monitoring
    environment: Development
  name: rabbit-stream-monitoring
  namespace: common
spec:
  ports:
  - name: http
    port: 8080
    protocol: TCP
    targetPort: 5000
  - name: grpc
    port: 80
    protocol: TCP
    targetPort: 5001
  selector:
    app: rabbit-stream-monitoring
  sessionAffinity: None
  type: ClusterIP
