-
Notifications
You must be signed in to change notification settings - Fork 705
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
pinniped-proxy should cache credentials for lifetime of credential request #2875
Comments
Continuing the discussion we had in #2363, I have one more observation which might help. From what I could see, it seem that requests to /api/clusters/default/api/v1 and /api/clusters/default/api/v1/namespaces/ always run into the 60s timeout. Aside from that, the response time of the other api calls is pretty inconsistant. If I directly hit one of the apis via the browser I get in extreme cases an instant response but am also as likely to run into the 60s timeout. Aside from that, is there a combination of Kubeapps and Pinniped versions which you could recommend? I'd try a fresh install and check if the problem still persists there. |
Thanks for your comments. It is something we have to investigate. wrt your question: Apart from that, there are no extra requirements on the versions. |
Description:
When initially creating the pinniped-proxy service, we had planned to cache the response of the token credential request and re-use it for subsequent requests.
As it is, it worked OK without this initially, but it is still overkill to be doing so for every request, and may be too slow in the future when pinniped tries to use the certificate signing requests API.
The text was updated successfully, but these errors were encountered: