Skip to content

Commit

Permalink
add description about pod nanny
Browse files Browse the repository at this point in the history
  • Loading branch information
andyxning committed Jul 9, 2018
1 parent 369740e commit 33260e2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,13 @@ kube-state-metrics exposes its own metrics under `--telemetry-host` and `--telem

### Resource recommendation

Resource usage changes with the size of the cluster. As a general rule, you should allocate
Resource usage for kube-state-metrics changes with the size, i.e., the node number, of the cluster.
[addon-resizer](https://github.com/kubernetes/autoscaler/tree/master/addon-resizer)
can watch and automatically vertically scale the dependent container up and down based on the number of nodes.
Thus kube-state-metrics uses `addon-resizer` to automatically scale its resource request. As for the detailed usage about
`addon-resizer` please go to its [ReadMe](https://github.com/kubernetes/autoscaler/tree/master/addon-resizer#nanny-program-and-arguments).

As a general rule, you should allocate

* 200MiB memory
* 0.1 cores
Expand Down

0 comments on commit 33260e2

Please sign in to comment.