# KubeSphere忘记密码解决办法
Update information about the specified user.
使用方法参考下面或官方地址
官方Api地址:https://v2-0.docs.kubesphere.io/docs/api/kubesphere#operation/UpdateUser
查看ks-account集群内IP
# kubectl get svc -nkubesphere-system
ks-account ClusterIP 10.99.14.139 <none> 80/TCP 25d
然后通过调用kubesphere接口来重新设置密码
curl -XPUT http://10.99.14.139/kapis/iam.kubesphere.io/v1alpha2/users/admin -H 'Content-Type:application/json' -d '{"username":"admin","email":"xxxxxx@xxx.com","password":"xxxxxxx"}'
本文来自博客园,作者:Jerry·,转载请注明原文链接:https://www.cnblogs.com/jerry-0910/p/16435416.html
分类:
kubernetes
标签:
kubernetes