Skip to content

Commit

Permalink
Merge pull request #490 from andyxning/add_description_about_pod_nanny
Browse files Browse the repository at this point in the history
add description about pod nanny
  • Loading branch information
k8s-ci-robot authored Jul 12, 2018
2 parents 19b26ab + 46a00d8 commit cb6d547
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,14 @@ 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 Kubernetes objects(Pods/Nodes/Deployments/Secrects etc.) size of the cluster.
To some extent, the Kubernetes objects in a cluster are in direct proportion to 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 cb6d547

Please sign in to comment.