Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no matches for kind "Config" #4447

Closed
phoenixwu0229 opened this issue Nov 15, 2021 · 8 comments
Closed

no matches for kind "Config" #4447

phoenixwu0229 opened this issue Nov 15, 2021 · 8 comments
Labels
stale No recent activity in a long period

Comments

@phoenixwu0229
Copy link

phoenixwu0229 commented Nov 15, 2021

What's your question
install failed, ks-controller CrashLoopBackOff

Environment: OS & Hardware Information

k8s v1.22

Error logs or message (Attach logs or screenshot)

I1116 00:55:15.053713 1 clusterrolebinding_controller.go:98] Setting up event handlers
I1116 00:55:15.053797 1 globalrole_controller.go:99] Setting up event handlers
I1116 00:55:15.053844 1 globalrolebinding_controller.go:106] Setting up event handlers
I1116 00:55:15.054326 1 groupbinding_controller.go:97] Setting up event handlers
I1116 00:55:15.054377 1 group_controller.go:105] Setting up event handlers
I1116 00:55:15.106873 1 notification_controller.go:89] Setting up event handlers
E1116 00:55:15.113761 1 notification_controller.go:113] get /, Kind= informer error, no matches for kind "Config" in version "notification.kubesphere.io/v2beta1"
F1116 00:55:15.113806 1 server.go:340] unable to register controllers to the manager: no matches for kind "Config" in version "notification.kubesphere.io/v2beta1"

Installer Version

v3.2.0

@xyz-li
Copy link
Contributor

xyz-li commented Nov 22, 2021

What is the image of ks-installer? Has the installation of ks-installer succeeded?

@iawia002
Copy link
Member

Someone encountered the same problem on slack, here is the error message from ks-installer:

rendered manifests contain a resource that already exists. Unable to continue with install: FederatedTypeConfig "configmaps" in namespace "kube-federation-system" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "kubefed"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "kube-federation-system"

@pixiake can you take a look?

@pixiake
Copy link
Contributor

pixiake commented Dec 28, 2021

You can check the logs of ks-installer by the command.

kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f

@jikehaohao
Copy link

jikehaohao commented Dec 29, 2021

I have the same problem,I installed this and solved the problem!https://github.com/kubesphere/notification-manager
kubectl apply -f https://raw.githubusercontent.com/kubesphere/notification-manager/master/config/bundle.yaml

@jikehaohao
Copy link

Just install notification manager, but my version is v3 2.1. This notification manager is available in v3.1 Only before version 0.0, so I doubt whether it is v3.0 Version 2.1 also uses the functions of the previous version

@oldthreefeng
Copy link

the same issue.

@stale
Copy link

stale bot commented Jun 4, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@stale stale bot added the stale No recent activity in a long period label Jun 4, 2022
@stale
Copy link

stale bot commented Jul 10, 2022

This issue is being automatically closed due to inactivity.

@stale stale bot closed this as completed Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale No recent activity in a long period
Projects
None yet
Development

No branches or pull requests

6 participants