sonatype / nxrm3-ha-repository

Repository for YAML configuration files for Nexus Repository Manager High Availability Feature
16 stars 17 forks source link

Add headless service for StatefulSet #60

Closed renesch-de closed 3 months ago

renesch-de commented 5 months ago

In a Kubernetes StatefulSet, the serviceName field specifies the Headless Service associated with the StatefulSet. This service is responsible for network identity, including network routing and DNS naming, for the pods based on their ordinal index.

Also removed the redundant 'statefulset.name' and 'statefulset.serviceName' from README and values file as they're not used or required anymore.

renesch-de commented 4 months ago

@bobotimi On top of making publishNotReadyAddresses configurable, I added the option to define additional annotations for the headless service alone. The annotations are merged with the common service annotations already configurable via service.annotations