redhat-cop / keepalived-operator

An operator to manage VIPs backed by keepalived
Apache License 2.0
117 stars 36 forks source link

Clarify how KeepalivedGroup work in a different Namespace then the Services using it #92

Open tux-o-matic opened 2 years ago

tux-o-matic commented 2 years ago

All examples given in the doc show a KeepalivedGroup CR being created in the same Namespace as the Service referencing and needing it yet the KeepalivedGroup CR seems to have a central role that is more on cluster and admin level. What's the actual limitation?

tux-o-matic commented 2 years ago

I see a suggestion to not put KeepalivedGroup CRs in the same Namespace as the operator but that doesn't clarify any of the questions above. And yet the README gives an example where they live in the same Namespace.

tux-o-matic commented 2 years ago

Better documentation would also prevent running in this situation flagged in https://github.com/redhat-cop/keepalived-operator/issues/59

tux-o-matic commented 2 years ago

So trying different scenarios: a KeepalivedGroup can used by a Service in a different Namespace. kube-proxy handles traffic from the NodePort without need for a NetworkPolicy. One remaining question: how are router id conflict avoided when running multiple KeepalivedGroup with the same default multicast address?