Closed lianghao208 closed 1 year ago
I use Limit option to limit the number of returning nodes, but it returns all the data.
nodeList, err := client.CoreV1().Nodes().List(context.TODO(), metav1.ListOptions{ Limit: 10, })
I notice the comment of Limit field: Servers may choose not to support the limit argument and will return all of the available results
Servers may choose not to support the limit argument and will return all of the available results
How do I know whether the server side choose not to support the limit argument?
I use Limit option to limit the number of returning nodes, but it returns all the data.
I notice the comment of Limit field:
Servers may choose not to support the limit argument and will return all of the available results
How do I know whether the server side choose not to support the limit argument?