apiVersion: v1
kind: Service
metadata:
  name: inventory-database
spec:
  ports:
    - protocol: TCP
      port: 5432
      targetPort: 5432
  selector:
    deploymentconfig: inventory-database
  type: LoadBalancer
