redhat-cop / keepalived-operator

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

Add flag to enable Unicast support #94

Closed cedricmckinnie closed 1 year ago

cedricmckinnie commented 1 year ago
  1. adds a boolean flag to the KeepalivedGroupSpec called UnicastEnabled.
  2. if UnicastEnabled == true render KeepalivedPods[].Status.HostIP under unicast_peers {} config in keepalived-template.yaml

This allows VRRP instances to only communicate with each other through direct unicast communication. This will isolate keepalived pods to their own cluster. This suits the use case where end users may have separate unrelated clusters with nodes that happen to live in the same multicast-enabled network.

raffaelespazzoli commented 1 year ago

LGTM