Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize a request to find device plugin pods.
Add a resourceVersion=0 to the reuqest to find device plugin pods on a given node from the latest cache from the kube-apiserver. Without a resourceVersion the request needs to reach etcd first and then kube-apiserver will filter out the pods. Due to this etcd can get overloaded. Since it runs in daemonset, they get created on every node. If a cluster has a lot of nodes the list requests will put a cluster down.
- Loading branch information