ks-devops icon indicating copy to clipboard operation
ks-devops copied to clipboard

devops-apiserver无法运行,Error: unable to retrieve the complete list of server APIs

Open skypeas opened this issue 1 year ago • 2 comments
trafficstars

What is version of KubeSphere DevOps has the issue?

kubesphere/devops-apiserver:ks-v3.4.1

How did you install the Kubernetes? Or what is the Kubernetes distribution?

Kubernetes v1.23.10

What happened?

image

Relevant log output

W0521 00:56:50.352880       1 client_config.go:617] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.

 W0521 00:56:50.353565       1 options.go:143] ks-apiserver starts without redis provided, it will use in memory cache. This may cause inconsistencies when running ks-apiserver with multiple replicas.

 I0521 00:56:50.392736       1 sonarqube.go:55] Sonarqube integration is disabled

 I0521 00:56:50.393446       1 sonarqube.go:55] Sonarqube integration is disabled

 [restful] 2024/05/21 00:56:50 log.go:33: [restful/swagger] listing is available at /apidocs.json

 [restful] 2024/05/21 00:56:50 log.go:33: [restful/swagger] /apidocs/ is mapped to folder bin/swagger-ui/dist

 I0521 00:56:50.398432       1 apiserver.go:234] Start cache objects

 Error: unable to retrieve the complete list of server APIs: api.scenetech.cc/v1alpha1: the server is currently unable to handle the request

 2024/05/21 00:56:50 unable to retrieve the complete list of server APIs: api.scenetech.cc/v1alpha1: the server is currently unable to handle the request

Additional information

No response

skypeas avatar May 21 '24 00:05 skypeas

kubectl delete apiservices/v1alpha1.xxx.xxx.xxx

skypeas avatar May 22 '24 08:05 skypeas

There is no CRD named api.scenetech.cc/v1alpha1 in ks-devops, so please check if ImageID of devops-apiserver is d192e090f152 or pull it again, then restart deployment devops-apiserver ?

yudong2015 avatar Jun 18 '24 03:06 yudong2015