Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ListThenWatch #1016

Closed
epa095 opened this issue Nov 23, 2019 · 4 comments
Closed

ListThenWatch #1016

epa095 opened this issue Nov 23, 2019 · 4 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@epa095
Copy link

epa095 commented Nov 23, 2019

What is the feature and why do you need it:
I want to list the objects of some resource, and then watch for updates to it.

As explained different places (e.g. kubernetes-client/python-base#131 (comment)
#819) one can not just use a ẁatch, but one has to first do a list, get the resourceVersion from the list-call itself, and then use that in the watch. I would be surprised if I am the only one who did not know this, and faulty tried to use the watch as a list+watch.

Describe the solution you'd like to see:
A list+watch functionality next to the Watch.

This is related to #868, but seems like a smaller issue.

@epa095 epa095 added the kind/feature Categorizes issue or PR as related to a new feature. label Nov 23, 2019
@roycaihw
Copy link
Member

/assign @yliaog

@yliaog
Copy link
Contributor

yliaog commented Nov 26, 2019

i think the complete solution is an informer, so i would prefer to follow up on #868

@yliaog
Copy link
Contributor

yliaog commented Nov 26, 2019

/close

@k8s-ci-robot
Copy link
Contributor

@yliaog: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

4 participants