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
Currently it takes 500ms to get a locally cached token when --login azurecli is used:
$ time kubelogin get-token --login azurecli --server-id _val_ 1> /dev/null
real 0m0.508s
user 0m0.223s
sys 0m0.122s
This is likely caused by the token cache being disabled for azurecli in #142 (to address #137). Instead of disabling caching altogether, I propose a middle ground - cache azurecli tokens for 10s (which the same length as the Kube API server's internal token cache). This will keep the majority of kubectl calls from being slow.
The text was updated successfully, but these errors were encountered:
Currently it takes
500ms
to get a locally cached token when--login azurecli
is used:This is likely caused by the token cache being disabled for
azurecli
in #142 (to address #137). Instead of disabling caching altogether, I propose a middle ground - cacheazurecli
tokens for10s
(which the same length as the Kube API server's internal token cache). This will keep the majority ofkubectl
calls from being slow.The text was updated successfully, but these errors were encountered: