Hello.
I started using Percona MongoDB operator for k8s. I deployed replicaset of 3 nodes and now I am trying to expose it with services of type Loadbalancer. But I don’t see any option in Helm chart that can apply external-dns annotation to each service. replsets.rs0.expose.annotations
will annotate all services with single value while I need personal DNS name for each service.
Is it possible within Helm chart now?
Hi @pawell,
Currently, it’s not possible to add separate annotations for each rs0-X
service. I’m thinking about how we could implement this, but I see some challenges, especially with cluster scale up/down. You’d either need to update the annotations manually each time, or we’d need to introduce a pool (array) to manage them dynamically, something like:
replsets.rs0.expose.annotations
replsets.rs0.expose.rs0-0.annotations
replsets.rs0.expose.rs0-1.annotations
replsets.rs0.expose.rs0-2.annotations
replsets.rs0.expose.rs0-3.annotations
replsets.rs0.expose.rs0-4.annotations
and the operator should use it if such a service is created