- 已编辑
ks-controller-manager 日志记录,有明显报错:
I0904 12:43:16.655170 1 clusterrolebinding_controller.go:186] Successfully synced key:admin-cluster-admin
I0904 12:43:16.655188 1 event.go:281] Event(v1.ObjectReference{Kind:"ClusterRoleBinding", Namespace:"", Name:"admin-cluster-admin", UID:"310dcb37-7b28-4339-a55f-4058c7bb36cc", APIVersion:"rbac.authorization.k8s.io/v1", ResourceVersion:"37630", FieldPath:""}): type: 'Normal' reason: 'Synced' ClusterRoleBinding synced successfully
I0904 12:43:16.655205 1 event.go:281] Event(v1.ObjectReference{Kind:"WorkspaceTemplate", Namespace:"", Name:"system-workspace", UID:"bcf3fb64-610a-488f-87bd-c5fd206cc2a0", APIVersion:"tenant.kubesphere.io/v1alpha2", ResourceVersion:"35155", FieldPath:""}): type: 'Normal' reason: 'Synced' WorkspaceTemplate synced successfully
2020/09/04 12:43:16 http: TLS handshake error from 10.244.0.1:46782: remote error: tls: bad certificate
2020/09/04 12:43:16 http: TLS handshake error from 10.244.0.1:23646: remote error: tls: bad certificate
E0904 12:43:16.786943 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
E0904 12:43:16.786990 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
2020/09/04 12:43:16 http: TLS handshake error from 10.244.0.1:33747: remote error: tls: bad certificate
2020/09/04 12:43:16 http: TLS handshake error from 10.244.0.1:37933: remote error: tls: bad certificate
E0904 12:43:16.914911 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
E0904 12:43:16.914952 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
2020/09/04 12:43:17 http: TLS handshake error from 10.244.0.1:20875: remote error: tls: bad certificate
2020/09/04 12:43:17 http: TLS handshake error from 10.244.0.1:47016: remote error: tls: bad certificate
E0904 12:43:17.039459 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
E0904 12:43:17.039501 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
2020/09/04 12:43:17 http: TLS handshake error from 10.244.0.1:19576: remote error: tls: bad certificate
2020/09
2020/09/04 12:52:42 http: TLS handshake error from 10.244.0.1:1196: remote error: tls: bad certificate
2020/09/04 12:52:42 http: TLS handshake error from 10.244.0.1:20030: remote error: tls: bad certificate
E0904 12:52:42.884678 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
E0904 12:52:42.884705 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
2020/09/04 12:54:13 http: TLS handshake error from 10.244.0.1:60502: remote error: tls: bad certificate
2020/09/04 12:54:13 http: TLS handshake error from 10.244.0.1:6172: remote error: tls: bad certificate
E0904 12:54:13.595493 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
E0904 12:54:13.595535 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
不正常pod只有这几个