tidb-discovery有如下报错信息:
[root@k8s01 ~]# kubectl logs advanced-tidb-discovery-b5b9d8949-7pw8r
I1013 12:07:11.901315 1 version.go:38] Welcome to TiDB Operator.
I1013 12:07:11.901404 1 version.go:39] TiDB Operator Version: version.Info{GitVersion:“v1.3.1”, GitCommit:“7b170c3c3e4c9d3de8767fba5246eccdd406371b”, GitTreeState:“clean”, BuildDate:“2022-02-24T00:57:55Z”, GoVersion:“go1.13.8”, Compiler:“gc”, Platform:“linux/amd64”}
E1013 12:07:11.919592 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
I1013 12:07:12.002839 1 main.go:109] starting TiDB Discovery server, listening on 0.0.0.0:10261
I1013 12:07:12.002875 1 main.go:116] starting TiDB Proxy server, listening on 0.0.0.0:10262
E1013 12:07:13.484565 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:07:15.798939 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:07:21.209706 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:07:28.624194 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:07:45.288021 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:08:31.731011 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:09:13.163522 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:09:57.242773 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:10:36.048883 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:11:12.618300 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:11:53.456153 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:12:49.343276 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:13:28.268032 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:14:04.477866 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:14:55.391926 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:15:26.253610 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:16:14.483401 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:16:46.879133 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:17:18.665177 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:17:57.723318 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:18:43.968591 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:19:22.336408 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)
E1013 12:20:08.266980 1 reflector.go:127] k8s.io/client-go@v0.19.16/tools/cache/reflector.go:156: Failed to watch *v1.Secret: unknown (get secrets)