samba-in-kubernetes / samba-operator

An operator for a Samba as a service on PVCs in kubernetes
Apache License 2.0
117 stars 24 forks source link

[ctdb/ss] Implement a headless service for stateful set based instances #116

Open phlogistonjohn opened 3 years ago

phlogistonjohn commented 3 years ago

(Possibly optional)

A headless service will create a DNS record with all the IPs for pods in the stateful set.

phlogistonjohn commented 2 years ago

After working with things a while I don't think this is strictly needed. However, I'm not willing to simply close this yet as there could be advantages to having a headless service. Currently, we've been focusing on accessing shares from outside the k8s cluster and thus this change will have no impact there. However, if we start putting more effort into serving shares to in-cluster systems (windows worker nodes, windows vms, etc) it would make more sense to revisit this item.