Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tux-o-matic opened this issue Jul 7, 2022 · 3 comments

Comments

@tux-o-matic
Copy link

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?

  • KeepalivedGroup CR must be in the same Namespace as the Service needing it?
  • If KeepalivedGroup must be in the same Namespace, how is router id conflict avoided between multiple KeepalivedGroup?
  • One KeepalivedGroup CR can be used from multiple Namespaces?
  • If a KeepalivedGroup can be shared from different Namespaces, is a NetworkPolicy needed when running multi-tenant SDN?
@tux-o-matic
Copy link
Author

tux-o-matic commented Jul 7, 2022

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
Copy link
Author

Better documentation would also prevent running in this situation flagged in #59

@tux-o-matic
Copy link
Author

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?

@tux-o-matic tux-o-matic changed the title Clarify if KeepalivedGroup must be in the same Namespace as the Service using it Clarify how KeepalivedGroup work in a different Namespace then the Services using it Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant