-
I'm using a global client in my application. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes
It's sort of a false positive. |
Beta Was this translation helpful? Give feedback.
-
I'm using a global client in my application. |
Beta Was this translation helpful? Give feedback.
-
Yes
It's sort of a false positive. |
Beta Was this translation helpful? Give feedback.
Yes
It's sort of a false positive.
All clients are derived from your original client. You should close the "original" client once you've completed all the work that requires the client.
For example, in a Spring Boot, Quarkus, or Jakarta application, you'd normally declare a KubernetesClient bean that'd be reused throughout the lifecycle of the application.
You'd then close the client once the application shuts down.