apiVersion: v1
kind: Service
metadata:
  name: HOSTNAME-headless-service
  namespace: NAMESPACE
  ownerReferences:
    - apiVersion: v1
      kind: Pod
      name: HOSTNAME
      uid: UID
spec:
  clusterIP: None
  publishNotReadyAddresses: true
  selector:
    user: USERNAME
  sessionAffinity: None
  type: ClusterIP