apiVersion: v1
kind: Service
metadata:
  name: redis-tradingdb
  labels:
    app: redis-tradingdb
spec:
  type: ClusterIP
  ports:
    - port: 5672
      targetPort: 5672
      protocol: TCP
      name: "rpc"
    - port: 15672
      targetPort: 15672
      protocol: TCP
      name: "api"
  selector:
    app: redis-tradingdb
