k8s 最小化安装的 kubesphere,KS-apiserver启动报错,是版本不支持?

K8S 版本: Kubelet versionv1.28.9-aliyun.1
ks-apiserver 版本:kubesphere/ks-apiserver:v3.3.1

错误信息:

W0820 13:58:47.857848 1 client_config.go:615] Neither –kubeconfig nor –master was specified. Using the inClusterConfig. This might not work.

W0820 13:58:47.859177 1 client_config.go:615] Neither –kubeconfig nor –master was specified. Using the inClusterConfig. This might not work.

W0820 13:58:47.874666 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.

I0820 13:58:47.874692 1 interface.go:50] start helm repo informer

I0820 13:58:48.126300 1 apiserver.go:417] Start cache objects

Error: failed to fetch group version resources batch/v1beta1: the server could not find the requested resource

2024/08/20 13:58:48 failed to fetch group version resources batch/v1beta1: the server could not find the requested resource

yaodunlin 更改标题为「k8s 最小化安装的 kubesphere,KS-apiserver启动报错,是版本不支持?

貌似是的,可以考虑用ks 3.4,但是据文档说这个版本也只支持到1.26.x 的k8s,可以试试