Skip to content
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

ERROR: INVALID TOKEN while connecting to Webkubectl #20

Open
NinjaCloud opened this issue Apr 28, 2021 · 1 comment
Open

ERROR: INVALID TOKEN while connecting to Webkubectl #20

NinjaCloud opened this issue Apr 28, 2021 · 1 comment
Labels
resolved resolved

Comments

@NinjaCloud
Copy link

This error happens many times

we are using 5 replicas of webkubectl
kubernete server version : 1.20.6
webkubectl : latest version
WhatsApp Image 2021-04-28 at 6 03 45 PM

@liqiang-fit2cloud
Copy link
Member

Hi there,
The token is temporarily stored in the memory of webkubectl server by default, so for multiple replicas you have two solutions.

  1. Use ip_hash or any other sticky session algorithm in your load balance proxy.
  2. Use a redis to share token among all of the replicas, please refer to 使用redis缓存token不生效 #18

@fit2cloudrd fit2cloudrd added the resolved resolved label Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolved resolved
Projects
None yet
Development

No branches or pull requests

3 participants