• Kubernetes Submit Queue's avatar
    Merge pull request #53768 from smarterclayton/chunking_cli · 12e5db56
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Support api chunking in kubectl get
    
    This enables chunking in the resource builder to make it easy to
    retrieve resources in pages and visit partial result sets. This adds
    `--chunk-size` to `kubectl get` only so that users can get comfortable
    with the use of chunking in beta. Future changes will enable chunking
    for all CLI commands so that bulk actions can be performed more
    efficiently.
    
    ```
    $ kubectl get pods --all-namespaces
    ... print batch of 500 pods ...
    ... print second batch of 500 pods ...
    ...
    ```
    
    @kubernetes/sig-cli-pr-reviews @kubernetes/sig-api-machinery-pr-reviews
    
    ```release-note
    `kubectl get` will by default fetch large lists of resources in chunks of up to 500 items rather than requesting all resources up front from the server. This reduces the perceived latency of managing large clusters since the server returns the first set of results to the client much more quickly.  A new flag `--chunk-size=SIZE` may be used to alter the number of items or disable this feature when `0` is passed.  This is a beta feature.
    ```
    12e5db56
Name
Last commit
Last update
..
api Loading commit data...
apimachinery/tests Loading commit data...
apis Loading commit data...
auth Loading commit data...
bootstrap/api Loading commit data...
capabilities Loading commit data...
client Loading commit data...
cloudprovider Loading commit data...
controller Loading commit data...
credentialprovider Loading commit data...
features Loading commit data...
fieldpath Loading commit data...
generated Loading commit data...
hyperkube Loading commit data...
kubeapiserver Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
master Loading commit data...
printers Loading commit data...
probe Loading commit data...
proxy Loading commit data...
quota Loading commit data...
registry Loading commit data...
routes Loading commit data...
security Loading commit data...
securitycontext Loading commit data...
serviceaccount Loading commit data...
ssh Loading commit data...
util Loading commit data...
version Loading commit data...
volume Loading commit data...
watch Loading commit data...
.import-restrictions Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...