ks-devops
ks-devops copied to clipboard
devops-apiserver无法运行,Error: unable to retrieve the complete list of server APIs
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?
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
kubectl delete apiservices/v1alpha1.xxx.xxx.xxx
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 ?