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

Reconcile RouteAdvertisements in cluster manager #4691

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Define route advertisements annotation
This annotation will be set by a future cluster manager controller on
the NADs and will list the names of route advertisements that apply to
the given NAD. This will ease processing time of other zone/node
controllers that need to track which route advertisements apply to a
network avoiding them from processing all route advertisements on each
of their reconciliation loops.

Note that this will happen for the default network as well. For that
probably a dummy NAD on ovn-kubernetes namespace is the best option.

Signed-off-by: Jaime Caamaño Ruiz <jcaamano@redhat.com>
  • Loading branch information
jcaamano committed Sep 17, 2024
commit 26be58cd6e8e84377df980da1101a780fb8b1f9c
5 changes: 3 additions & 2 deletions go-controller/pkg/types/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,9 @@ const (
// OVN-K8S annotation & taint constants
OvnK8sPrefix = "k8s.ovn.org"
// Deprecated: we used to set topology version as an annotation on the node. We don't do this anymore.
OvnK8sTopoAnno = OvnK8sPrefix + "/" + "topology-version"
OvnK8sSmallMTUTaintKey = OvnK8sPrefix + "/" + "mtu-too-small"
OvnK8sTopoAnno = OvnK8sPrefix + "/" + "topology-version"
OvnK8sSmallMTUTaintKey = OvnK8sPrefix + "/" + "mtu-too-small"
OvnRouteAdvertisementsKey = OvnK8sPrefix + "/route-advertisements"

// name of the configmap used to synchronize status (e.g. watch for topology changes)
OvnK8sStatusCMName = "control-plane-status"
Expand Down