Files
kubernetes/pkg/kubectl/cmd
Kubernetes Submit Queue f2a9ba2339 Merge pull request #27392 from sjenning/old-kubectl-watch
Automatic merge from submit-queue

allow watching old resources with kubectl

Right now, one can not watch a resource with kubectl whose resourceVersion is outside the etcd watch window.  Specifying resourceVersion=0 returns the current object, then watches from the current index.

This PR changes the logic to use resourceVersion=0, which will work regardless of the resourceVersion of the object, and discard the first event if --watch-only is specified.

@ncdc @aveshagarwal
2016-08-02 14:44:20 -07:00
..
2016-07-08 13:53:09 +02:00
2016-07-18 00:32:13 -04:00
2016-07-20 13:37:14 -04:00
2016-07-20 13:37:14 -04:00
2016-07-14 16:23:02 +03:00
2016-07-27 10:54:11 +08:00
2016-07-14 16:23:02 +03:00
2016-07-08 13:53:09 +02:00
2016-07-20 13:37:14 -04:00
2016-07-20 13:37:14 -04:00
2016-07-28 17:47:03 +03:00
2016-07-14 16:23:02 +03:00
2016-07-08 13:53:09 +02:00
2016-07-08 13:53:09 +02:00
2016-07-14 16:23:02 +03:00
2016-07-20 13:37:14 -04:00
2016-07-08 13:53:09 +02:00
2016-07-14 16:23:02 +03:00