# 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"}'
posted @   Jerry·  阅读(1359)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!

阅读目录(Content)

此页目录为空

点击右上角即可分享
微信分享提示