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
karmada search return empty list sometimes #1946
Comments
Will it happen or will it happen occasionally? Is there are some logs like this:
We need to start an informer for member clusters. |
3 instances, I find that cluster in pull mode, log print following message:
|
karmada/pkg/search/controller.go Lines 203 to 205 in 36368ce
create clusterDynamicClient need secret, but in pull mode, karmada control plane can not find secret objects |
Right. For now, karmada-agent won't report |
May be I can try resolve it~ |
Just share some ideas here:
|
The karmada search and aggregation API feature requires that the kube-apiserver of the member cluster be accessed from the karmada control plane. If you cannot directly access the network due to network restrictions, you are advised to use the reverse proxy mode and set the cluster.proxyURL field. The aggregation API uses the ImpersonatorSecret (empty permission). The karmada search uses the cluster.secretRef (higher permission is required). Currently, the cluster.secretRef is missing. |
Hi @CharlesQQ, dose this issue been fixed? |
ping @CharlesQQ |
/close |
@CharlesQQ: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What happened:
use the command
kubectl get --raw /apis/search.karmada.io/v1alpha1/search/cache/apis/apps/v1/deployments | python -m json.tool
to fetch all deployments from cache, but return empty list sometimeslog print following message:
W0602 10:32:24.626462 28 cache.go:96] SingleClusterInformerManager for cluster(xxx) is nil.
What you expected to happen:
return resource list of all member cluster
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl-karmada version
orkarmadactl version
):The text was updated successfully, but these errors were encountered: