karmada
karmada copied to clipboard
We want to get resource(pod)details from karmada-control-plane by using apiserver
Please provide an in-depth description of the question you have:
Requirement:
1
We have one k8s cluster for running our deployments|sts|.... and the number of deployments|sts|.... is increasing. The k8s cluster is under pressure.
2
We plan to use karmada to dispatch the deployments to member clusters.
But our application (web client) need to get pods or other resource details from apiserver and do not want to get this from member that will bring costs of coding.
What do you think about this question?:

Environment:
- Karmada version:
- Kubernetes version:
- Others:
You can get pods or other resource details from karmada-apiserver
through karmada-aggregated-apiserver
or karmada-search
.
Some confused , our application want to ignore resource location. It seems we can not ignore member clusters by using aa
Some confused , our application want to ignore resource location. It seems we can not ignore member clusters by using aa
Aye, we need to assign a cluster when using aa. Karmada-search
will get resources from all config clusters through cache, it migths fit your need.
clusters
OK I will test karmada-search. By the way,does the result data structure of karmada-search keep pace with origin result from api-server ?
By the way,does the result data structure of karmada-search keep pace with origin result from api-server ?
Yes. Refer to #1891
#1891
Thanks a lot. We may be the first real users of karmada-search
We also store the resource into OpenSearch, refer to #1897
We also store the resource into OpenSearch, refer to #1897
OK,GOT it
some questions, optional components can not be installed by karmadactl init
We also store the resource into OpenSearch, refer to #1897
It seems we can only get the rest by rest api. But our app code is written by client-go , do you have some ideas for the capable of adapting @XiShanYongYe-Chang
@wuyingjun-lucky At the community meeting yesterday, @ikaven1024 proposed an idea that might properly fit your needs. Hold on for a while, @ikaven1024 will send a feature proposal.
Yeah , I have participated in the meeting
@wuyingjun-lucky #2058
@wuyingjun-lucky #2058
OK, Thanks
Hi @wuyingjun-lucky proxy feature has released in v1.3.0. You can try it. Looking forward your feedback.
Hi @wuyingjun-lucky proxy feature has released in v1.3.0. You can try it. Looking forward your feedback.
OK We will try it as soon as possible.
It seems that the issue has been fixed, close it first, and you can always reopen it if there is a problem. /close
@XiShanYongYe-Chang: Closing this issue.
In response to this:
It seems that the issue has been fixed, close it first, and you can always reopen it if there is a problem. /close
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.