Skip to content
Open
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,22 @@ func NewUniversalPathologicalEventMatchers(kubeConfig *rest.Config, finalInterva
neverAllow: true,
})

// Ignore repeated TopologyAwareHintsDisabled events from the endpoint
// slice controller's topology cache. The controller emits these events
// if a service (such as the cluster DNS service) enables topology-aware
// hints but certain "safeguards" (such as having sufficient service
// endpoints and sufficient nodes with allocatable CPU in each zone) are
// not met, in which case the default non-topology-aware behavior is
// used. This means that the service remains reachable even if these
// events are emitted. Note also that ovn-kubernetes does not implement
// topology-aware hints; the feature is enabled only for the benefit of
// third-party CNI plugins, such as Calico.
registry.AddPathologicalEventMatcherOrDie(&SimplePathologicalEventMatcher{
name: "TopologyAwareHintsDisabled",
messageReasonRegex: regexp.MustCompile(`^TopologyAwareHintsDisabled$`),
jira: "https://issues.redhat.com/browse/OCPBUGS-69400",
})

registry.AddPathologicalEventMatcherOrDie(AllowBackOffRestartingFailedContainer)

registry.AddPathologicalEventMatcherOrDie(AllowOVNReadiness)
Expand Down