de-jcup / ekube

An eclipse plugin for kubernetes
https://marketplace.eclipse.org/content/ekube
Apache License 2.0
3 stars 2 forks source link

Potential connection leaks #45

Open de-jcup opened 5 years ago

de-jcup commented 5 years ago

In #44 a pontential memory leak was found.

Would have locked null Nodes
Failure executing: GET at: https://xxxxxx.xxx.xxxx/apis/networking.k8s.io/v1/namespaces/xxx-yyy-1/networkpolicies. Message: Forbidden! User xxx-yyy-1 doesn't have permission. networkpolicies.networking.k8s.io is forbidden: User "system:serviceaccount:xxx-yyy-1:xxx-yyy-1" cannot list networkpolicies.networking.k8s.io in the namespace "xxx-yyy-1".
Would have locked xxx-yyy-1 xxx-yyy-1
Feb 11, 2019 9:10:43 AM okhttp3.internal.platform.Platform log
WARNING: A connection to https://xxxxxx.xxx.xxxx/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);

Related links

This problems is discussed at https://github.com/fabric8io/kubernetes-client/issues/1013

de-jcup commented 4 years ago

I thinks this is related to #55 #53