apiVersion: v1
kind: Service
metadata:
  labels:
    name: account-mongodb
  name: account-mongodb
  namespace: springcloud
spec:
  type: ClusterIP
  ports:
  - port: 27017
    protocol: TCP
    targetPort: 27017
  selector:
    name: account-mongodb