A stateful client needs DNS discovery of individual backend Pod addresses rather than a virtual Service IP. Which Service configuration provides headless discovery?

Published
  1. Set sessionAffinity: ClientIP only
  2. Set clusterIP: None and select the backend Pods
  3. Give every Pod the same hostPort
  4. Set externalTrafficPolicy: Local on an ordinary ClusterIP Service

Comments — 0