goldpinger icon indicating copy to clipboard operation
goldpinger copied to clipboard

use protobuf and add resourceVersion in listOption

Open j4ckstraw opened this issue 1 year ago • 0 comments

  1. communicate to kube-apiserver with protobuf
  2. 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.

j4ckstraw avatar Jun 17 '23 10:06 j4ckstraw