We can require the number of remaining resources to be included in the response by search label or url query when querying.
|search label||url query|
Detailed use can be referred to Response With Remaining Count
You can set the number of remaining resources to be returned by default via Feature Gates –
so that the user does not need to use a search label or url query to display the request at each request.
When the remaining item count is returned by default, you can still request that the remaining item count not be returned via search label or url query.
kubectl get --raw="/apis/clusterpedia.io/v1beta1/resources/apis/apps/v1/deployments?withRemainingCount=false&limit=1" | jq
Feature Gate dedicated to
|Set whether to return the number of remaining resources by default||
This feature is turned off by default because it may have an impact on the behavior or performance of the storage layer.
For the default storage tier, returning the number of remaining resources results in an additional COUNT query
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.