external-dns icon indicating copy to clipboard operation
external-dns copied to clipboard

feat(service): optionally create DNS entry for each pod

Open redbaron opened this issue 6 months ago • 11 comments
trafficstars

Description

headless service already supported mode where DNS entry is created for each pod when spec.hostName is present. Not all controllers populate that field, but it is sometimes desireable to create DNS entry per pod nevertheless.

This commit adds new annotation service-pod-endpoints , which when set on a headless service makes external-dns to create endpoint per pod using pod name as a prefix.

Checklist

  • [x] Unit tests updated
  • [x] End user documentation updated

redbaron avatar May 12 '25 11:05 redbaron