goldpinger
goldpinger copied to clipboard
use protobuf and add resourceVersion in listOption
- communicate to kube-apiserver with protobuf
- listOption add resourceVersion=0. without resourceversion, list will force kube-apiserver retrieve data from etcd.
In a 100+ nodes, 7500+ pods kubernetes cluster, this patch make kube-apiserver cpu utils reduce 5-10%.
Issue number of the reported bug or feature request: #
Describe your changes A clear and concise description of the changes you have made.
Testing performed Describe the testing you have performed to ensure that the bug has been addressed, or that the new feature works as planned.
Additional context Add any other context about your contribution here.