You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we want it to become thread-safe. That's the only sane contract for a high-level library...
Do you know details on problems you saw?
Should discovery take a mutex, or would that risk one slow request blocking everything?
Should we let multiple parallel discovery requests to "race", but make sure the results are "committed atomically"? (I'd rather not, premature buggization...)
having an instance-mutex around discoveries should be cheap and make it threadsafe
alternative would be to initialize it with 'threadsafe: true' and then just eager-discover
Would be nice to have a "Not threadsafe, use one kubeclient per Thread" or the opposite in the docs somewhere.
The text was updated successfully, but these errors were encountered: