KubeSphere 镜像构建器(S2I)服务证书过期(x509)问题
WwanjunleiK零S
最简单的办法就是重新安装notification,因为证书对应的cabundle存在 validate 里面,
或者你自己根据 https://github.com/kubesphere/ks-installer/blob/master/roles/ks-monitor/files/notification-manager/templates/validating.yaml 这个代码生成证书
您说的重新安装notification,是否可以理解为执行下面的三条命令
kubectl get deploy notification-manager-operator -n kubesphere-monitoring-system -o yaml > notification-manager-operator.yaml
kubectl delete -f notification-manager-operator.yaml
kubectl create -f notification-manager-operator.yaml
根据代码生成证书,我k8s新手 每太看懂那个helm如何使用,所以还是想使用重新安装notification的方法。
WwanjunleiK零S
是通过 installer 重装
首先用 helm 卸载 notification-manager
然后编辑 cc
kubectl edit cc -n kubesphere-system
删除 status 中的 monitor 部分
然后重启 installer
谢谢 已经可以正常登陆了,请教下 如何查看这个证书到期时间呢,我想确认下当前证书时间是否正常
10 天 后
这个方法赞,已解决我遇到的问题 :
1 个月 后
faweizhao26 取消置顶
1 个月 后
跪谢!解决了我的问题!