Skip to content

Conversation

@wind57
Copy link
Contributor

@wind57 wind57 commented Jan 16, 2026

No description provided.

Signed-off-by: wind57 <eugen.rabii@gmail.com>
Signed-off-by: wind57 <eugen.rabii@gmail.com>
}

@Bean
@ConditionalOnMissingBean(value = SharedInformerFactory.class, parameterizedContainer = List.class)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what we were doing until now:

for each namespace:

  • create a SharedInformerFactory
  • create a GenericKubernetesApi
  • create a SharedIndexInformer
  • create a Lister

This is an overkill, and can be simplified to :

  • create a single SharedInformerFactory
  • create a single GenericKubernetesApi
  • create a SharedIndexInformer per namespace
  • create a Lister per namespace

That is the only change I am proposing here.

Signed-off-by: wind57 <eugen.rabii@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants