• Kubernetes Submit Queue's avatar
    Merge pull request #64034 from deads2k/cli-62-wait · f9c88981
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 64034, 64072, 64146, 64059, 64161). 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>.
    
    add kubectl wait
    
    Adds a `kubectl wait --for=[delete|condition=condition-name] resource/string` command.  This allows generic waiting on well behaved conditions and for a resource or set of resources to be deleted.
    
    This was requested for delete to do foreground deletion
    
    WIP because I need to add test cases.
    
    
    @kubernetes/sig-cli-maintainers this is using a separation of concerns made possible by the genericclioptions to make an easily unit testable command.
    @smarterclayton 
    
    ```release-note
    adds a kubectl wait command
    ```
    f9c88981
Name
Last commit
Last update
..
admin Loading commit data...
api-reference Loading commit data...
man/man1 Loading commit data...
user-guide/kubectl Loading commit data...
yaml/kubectl Loading commit data...
.generated_docs Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...