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

Use ManagedKubernetesClient immediate=false #4146

Closed
joshiste opened this issue May 14, 2022 · 0 comments · Fixed by #4147
Closed

Use ManagedKubernetesClient immediate=false #4146

joshiste opened this issue May 14, 2022 · 0 comments · Fixed by #4147
Assignees
Milestone

Comments

@joshiste
Copy link
Contributor

Is your enhancement related to a problem? Please describe

We do use the KubernetesClient in an OSGI application. We do instantiate the KubernetesClient ourself, to be in full control.

Currently the ManagedKubernetesClient has immediate=true (since ever). So the service is instantiated, but never being used, which means wasted memory of us.

Describe the solution you'd like

Remove immediate=true from the ManagedKubernetesClient, so that the service is only instantiated when needed.

Describe alternatives you've considered

No response

Additional context

No response

joshiste added a commit to joshiste/kubernetes-client that referenced this issue May 14, 2022
manusa pushed a commit to joshiste/kubernetes-client that referenced this issue May 18, 2022
@manusa manusa added this to the 6.0.0 milestone May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants