kubectl scale deployment -n kubesphere-system ks-console –replicas=3
kubectl scale deployment -n kubesphere-system ks-apiserver –replicas=3
kubectl scale deployment -n kubesphere-system ks-controller-manager –replicas=3
我在3.4.1版本的kubesphere的多主节点集群中会执行这几个命令做高可用
但是在4.1.2版本中执行后会导致无法登录,会在登录界面上一直跳转(点击登录后还会跳转至登录界面)
查看登录日志
apiVersion: 'v1',
metadata: {},
status: 'Failure',
message: 'token not found in cache',
reason: 'Unauthorized',
statusText: 'Unauthorized' }
--> GET /consolev3/dashboard 302 26ms 43b 2024/10/08T00:42:33.765
<-- GET /login 2024/10/08T00:42:33.784
--> GET /login 200 12ms 20.33kb 2024/10/08T00:42:33.796
新版本是否有类似的高可用功能可以选择呢?