diff --git a/pkg/k8sapi/k8sutils.go b/pkg/k8sapi/k8sutils.go index 6d4c9dcc07..4ebac0ab69 100644 --- a/pkg/k8sapi/k8sutils.go +++ b/pkg/k8sapi/k8sutils.go @@ -37,7 +37,11 @@ func getIPAMDCacheFilters() map[client.Object]cache.ByObject { return map[client.Object]cache.ByObject{ &corev1.Pod{}: { Field: fields.Set{"spec.nodeName": nodeName}.AsSelector(), - }} + }, + &corev1.Node{}: { + Field: fields.Set{"metadata.name": nodeName}.AsSelector(), + }, + } } return nil }