charles1503 创建部署问题时,请参考下面模板: 操作系统信息,虚拟机,Centos7.5 ,4C/16G Kubernetes版本信息,v1.20.4。3节点。 KubeSphere版本信息,v3.0.0。离线安装。已有K8s安装。 问题是什么,控制台无法访问。
charles1503 在ks-controller-manager容器控制台找到如下日志 2021/05/21 18:12:36 http: TLS handshake error from 10.244.0.1:36598: remote error: tls: bad certificate 2021/05/21 18:12:36 http: TLS handshake error from 10.244.0.1:21077: remote error: tls: bad certificate E0521 18:12:36.052934 1 user_controller.go:332] Internal error occurred: failed calling webhook “validating-user.kubesphere.io”: Post “https://ks-controller-manager.kubesphere-system.svc:443/validate-email-iam-kubesphere-io-v1alpha2-user?timeout=30s”: x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0 E0521 18:12:36.053000 1 user_controller.go:226] error syncing ‘admin’: Internal error occurred: failed calling webhook “validating-user.kubesphere.io”: Post “https://ks-controller-manager.kubesphere-system.svc:443/validate-email-iam-kubesphere-io-v1alpha2-user?timeout=30s”: x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0, requeuing