apiVersion: v1
kind: Service
metadata:
  labels:
    component: postgres
  name: postgres
  namespace: default
  selfLink: /api/v1/namespaces/default/services/postgres
  namespace: default
spec:
  clusterIP: 10.101.54.34
  externalTrafficPolicy: Cluster
  ports:
  - nodePort: 32761
    port: 5432
    protocol: TCP
    targetPort: 5432
  selector:
    component: postgres
  sessionAffinity: None
  type: LoadBalancer
status:
  loadBalancer:
    ingress:
    - ip: 172.17.255.4
