ks-installer
ks-installer copied to clipboard
ks-apiserver start failed for no DevOpsProject resources
When installing kubesphere 3.1.1 with devops.enable=false, the ks-apiserver failed to start with following errors:
W1019 21:38:34.605684 1 client_config.go:552] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
W1019 21:38:34.606962 1 client_config.go:552] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
W1019 21:38:34.613805 1 options.go:180] ks-apiserver starts without redis provided, it will use in memory cache. This may cause inconsistencies when running ks-apiserver with multiple replicas.
I1019 21:38:34.627673 1 interface.go:60] start helm repo informer
I1019 21:38:34.641261 1 apiserver.go:372] Start cache objects
W1019 21:38:35.505493 1 apiserver.go:503] resource devops.kubesphere.io/v1alpha3, Resource=devopsprojects not exists in the cluster
W1019 21:38:35.505542 1 apiserver.go:503] resource notification.kubesphere.io/v2beta1, Resource=configs not exists in the cluster
W1019 21:38:35.505552 1 apiserver.go:503] resource notification.kubesphere.io/v2beta1, Resource=receivers not exists in the cluster
E1019 21:38:35.508743 1 reflector.go:178] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:125: Failed to list *v1alpha3.DevOpsProject: the server could not find the requested resource (get devopsprojects.devops.kubesphere.io)
E1019 21:38:37.003848 1 reflector.go:178] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:125: Failed to list *v1alpha3.DevOpsProject: the server could not find the requested resource (get devopsprojects.devops.kubesphere.io)
E1019 21:38:39.454727 1 reflector.go:178] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:125: Failed to list *v1alpha3.DevOpsProject: the server could not find the requested resource (get devopsprojects.devops.kubesphere.io)
E1019 21:38:43.468153 1 reflector.go:178] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:125: Failed to list *v1alpha3.DevOpsProject: the server could not find the requested resource (get devopsprojects.devops.kubesphere.io)
/cc @LinuxSuRen @JohnNiang
/area devops
@lshmouse looks like the errors do not belong to 3.1.1. Would you mind providing the image of ks-apiserver
/cc @LinuxSuRen @JohnNiang
@pixiake Thanks for the reminder. But I'd prefer to cc a team instead of someone. Such as: /cc @kubesphere/sig-devops