Use k8s informers to watch resources instead of ListWatchers
Summary: We have seen multiple reports of our operator monitoring failing on the k8s watcher and restarting the watcher also fails since the RV is too old. On further investigation, it seems like we should be using informers to handle resource watching, so switch to informers Test Plan: skaffold deploy the operator with some additional logging Reviewers: michelle, philkuz Reviewed By: philkuz JIRA Issues: PP-3066 Signed-off-by:Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D9899 GitOrigin-RevId: 1f776f63db89e527d45d688d2d7d9be2b9a0eae0
Showing
+97 -215
Please register or sign in to comment