Use Kubernetes Cli Python Watches
paigerube14 opened this issue · comments
We're trying to rework our current code base to allow for more scalability and security. There are a couple of instances where we could use watches instead of polling every few seconds, this will help with not overwhelming the etcd on the cluster. Watches provide a more efficient detection, as explained in Kubernetes API Concepts.
This work will need to be used on both the wait_for_ready_status and wait_for_ready_status functions in common_node_functions.py
Will also want to assess other places that we could use watching instead of polling ourselves