hongming 我进入容器更改了默认密码,仍然不行
/ # packet='PUT /kapis/iam.kubesphere.io/v1alpha2/users/admin HTTP/1.1\r\nHost: ks-account.kubesphere-system.svc:9090\r\nUser-Agent: curl/7.54.0\r\nAccept: /\r\nContent-Type: application/json\r\
nContent-Length: 105\r\n\r\n{“username”: “admin”,“email”:“admin@kubesphere.io”,“cluster_role”: “cluster-admin”,“password”:“P@88w0rd”}'; echo -ne $packet | nc ks-account.kubesphere-system.svc 80
HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 03 Aug 2020 08:45:54 GMT
Content-Length: 287
{
“username”: “admin”,
“email”: “admin@kubesphere.io”,
“lang”: “zh”,
“description”: “Administrator account that was always created by default.”,
“create_time”: “2020-07-13T15:42:19Z”,
“avatar_url”: "",
“last_login_time”: “2020-08-03T02:38:12Z”,
“status”: 0,
“cluster_role”: ""
}/ #
现在定位不到为什么会用户密码认证失败
今天早晨集群node1节点出现notready的状态,导致很多Pod 状态pending,然后mysql 和ldap都是pending,我将node1重启后,所有pod恢复正常,但是就出现了目前的无法登陆的情况,密码已经修改成默认了,jwt_secret没有改过,确认一致了,但是仍然无法解决,我并不想重新重装-,-