• 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
..
helpers Loading commit data...
BUILD Loading commit data...
Makefile.manifest Loading commit data...
build.sh Loading commit data...
clean.sh Loading commit data...
cross.sh Loading commit data...
make-help.sh Loading commit data...
test-cmd-util.sh Loading commit data...
test-cmd.sh Loading commit data...
test-e2e-node.sh Loading commit data...
test-integration.sh Loading commit data...
test-kubeadm-cmd.sh Loading commit data...
test.sh Loading commit data...
update.sh Loading commit data...
verify.sh Loading commit data...
vet.sh Loading commit data...