apecloud / kubeblocks

KubeBlocks is an open-source control plane software that runs and manages databases, message queues and other stateful applications on K8s.
https://kubeblocks.io
GNU Affero General Public License v3.0
2.1k stars 170 forks source link

[Improvement] Override Headless-Service Default Behavior #4884

Closed shanshanying closed 9 months ago

shanshanying commented 1 year ago

When a component is created, it's associated headless service's publishNotReadyAddresses is false by default. For some database, like StarRocks, its' FE module expectes to set it to true to publish the DNS before the pod is ready.
But there is no way for a provider to set the default behavior in KubeBlocks.

shanshanying commented 1 year ago

This is a feature request origins from StarRocks.

shanshanying commented 1 year ago

PolarDB-X has exactly the same issue.