ks-apiserver CrashLoopBackOff,异常信息如下,找不到 notification
操作系统信息
TKE 托管集群下
Kubernetes版本信息
Client Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.4-tke.23", GitCommit:"6581e1d61d266ea835f1f051122cccbc715c542f", GitTreeState:"clean", BuildDate:"2022-03-15T09:39:56Z", GoVersion:"go1.15.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.6-tke.17", GitCommit:"7410252b56a5896ded1b9b3bbc8ae8bcfa009707", GitTreeState:"clean", BuildDate:"2022-04-19T03:04:37Z", GoVersion:"go1.15.10", Compiler:"gc", Platform:"linux/amd64"}
容器运行时
Client:
Version: 18.06.3-ce
API version: 1.38
Go version: go1.10.4
Git commit: d7080c1
Built: Wed Feb 20 02:24:22 2019
OS/Arch: linux/amd64
Experimental: false
Server:
Engine:
Version: 18.6.3-ce-tke.1
API version: 1.38 (minimum version 1.12)
Go version: go1.10.3
Git commit: 7f659f6724
Built: Thu Aug 20 07:10:40 2020
OS/Arch: linux/amd64
Experimental: false
KubeSphere版本信息
TKE 集群 + Kubesphere 3.3.0
问题是什么
ks-apiserver CrashLoopBackOff,异常信息如下,找不到 notification
kubectl logs -f ks-apiserver-7894669df-pxnlq -n kubesphere-system
W0715 08:26:00.752460 1 client_config.go:615] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
W0715 08:26:00.800055 1 client_config.go:615] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
W0715 08:26:00.813787 1 options.go:191] ks-apiserver starts without redis provided, it will use in memory cache. This may cause inconsistencies when running ks-apiserver with multiple replicas.
I0715 08:26:00.813816 1 interface.go:50] start helm repo informer
I0715 08:26:01.368894 1 apiserver.go:417] Start cache objects
Error: failed to fetch group version resources notification.kubesphere.io/v2beta1: the server could not find the requested resource
2022/07/15 08:26:01 failed to fetch group version resources notification.kubesphere.io/v2beta1: the server could not find the requested resource