Closed lknite closed 1 year ago
Check out this repo, it's a informer implementation. If you put a loop around the Start code it should do what you want.
https://github.com/microsoft/reverse-proxy/tree/main/src/Kubernetes.Controller/Client
I think there may a "most effective" way to write this code, but not sure what that'd be. In anycase, everything's working good enough for now to close out this ticket.
Describe the bug There seems to be some inconsistency around watching a CRD, including an example would help to resolve confusion.
Inconsistency
Example
In the kubernetes documentation it suggests handling the watch timeout like so, how does the kubernetes client library do it?