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
We've seen a few reports on kubectl-login not terminating properly and causing high CPU usage after long time of running in the background. Since the program is meant to exit immediately after login, having it remain in the background is clearly a bug, and we should just terminate after a fixed timout of, say 10 minutes.
The text was updated successfully, but these errors were encountered:
- Force exit after 10 minutes of (in)activity in order to avoid staying in the background forever on idle as some people reported.
- Add a sleep on the main loop to avoid hogging CPU while waiting for token.
- Fix linter warnings about the use of fmt.Print(fmt.Sprint(..))
Closes#6.
We've seen a few reports on kubectl-login not terminating properly and causing high CPU usage after long time of running in the background. Since the program is meant to exit immediately after login, having it remain in the background is clearly a bug, and we should just terminate after a fixed timout of, say 10 minutes.
The text was updated successfully, but these errors were encountered: