Commit Graph

21 Commits

Author SHA1 Message Date
Rasmus Jönsson
4c31e9855d Add support for waiting by label selector or on all resources
Add test for multiple deletions in kubectl watch
2019-02-02 16:26:00 +01:00
Jordan Liggitt
c12d8a56f8 Find current resourceVersion for waiting for deletion/conditions 2019-01-11 15:24:05 -05:00
Kubernetes Prow Robot
e2f2ca2b29
Merge pull request #70599 from caesarxuchao/kubectl-wait-all
Enable --all flag for kubectl wait
2018-12-21 20:19:21 -08:00
Yang Li
141d33a2a5 Fix some golint errors for packages in pkg/kubectl/cmd
Co-authored-by: Arijit Basu <sayanarijit@gmail.com>
2018-11-22 22:09:08 +08:00
k8s-ci-robot
7cf211d7de
Merge pull request #69196 from CaoShuFeng/job.yaml
fix kubectl wait with no resource name provided
2018-11-15 14:59:42 -08:00
Chao Xu
3873d828bc enable --all flag for kubectl wait 2018-11-02 14:10:37 -07:00
Clayton Coleman
5a8afa073f
Dynamic client watchers should be able to handle ERROR gracefully
Watch can return type "ERROR" and a metav1.Status object. We need to
handle that during wait, and make it easy to handle the status object.
2018-10-16 12:55:23 -04:00
Maciej Szulik
21789b85a6
Move pkg/kubectl/cmd/templates -> pkg/kubectl/util/temlpates 2018-10-11 22:01:03 +02:00
Christoph Blecker
97b2992dc1
Update gofmt for go1.11 2018-10-05 12:59:38 -07:00
David Eads
122529b97d allow condition value to specified for kubectl wait 2018-10-01 13:43:10 -04:00
Cao Shufeng
e187e6d310 fix kubectl wait with no resource name provided 2018-09-28 12:03:11 +08:00
Maciej Szulik
5b55e1f8ed
Create cli-runtime staging repository 2018-08-21 17:08:30 +02:00
Tomas Nozicka
3d4a02abb5 Rename Until to UntilWithoutRetry and move to using context so it's
cancelable
2018-08-10 09:55:41 +02:00
Mikalai Radchuk
d3445d71d0 Return an error if there is no resources matching
This makes `kubectl wait` print useful message when
there is no resources matching a query. Also it will now
exit with the exit status 1.
2018-07-31 18:15:24 +01:00
David Eads
9fe20cfd46 make delete waits match on UID 2018-07-12 14:48:13 -04:00
juanvallejo
54ddddaa2d
add help description and examples to wait 2018-06-27 14:53:07 -04:00
David Eads
4a180331a9 mark kubectl wait as experimental 2018-06-12 15:51:43 -04:00
David Eads
9c5bdd4b5c add resource builder flags 2018-05-29 10:46:54 -04:00
juanvallejo
d463bbddb1
move resource builder flags to genericclioptions 2018-05-28 11:08:58 +02:00
David Eads
49258593c3 add a discarding printer for testing and delegation 2018-05-22 08:47:42 -04:00
David Eads
76794643c5 add wait 2018-05-22 08:47:42 -04:00