kubernetes/docs/admin
k8s-merge-robot a275a045d1 Merge pull request #23914 from sky-uk/make-etcd-cache-size-configurable
Automatic merge from submit-queue

Make etcd cache size configurable

Instead of the prior 50K limit, allow users to specify a more sensible size for their cluster.

I'm not sure what a sensible default is here. I'm still experimenting on my own clusters. 50 gives me a 270MB max footprint. 50K caused my apiserver to run out of memory as it exceeded >2GB. I believe that number is far too large for most people's use cases.

There are some other fundamental issues that I'm not addressing here:
- Old etcd items are cached and potentially never removed (it stores using modifiedIndex, and doesn't remove the old object when it gets updated)
- Cache isn't LRU, so there's no guarantee the cache remains hot. This makes its performance difficult to predict. More of an issue with a smaller cache size.
- 1.2 etcd entries seem to have a larger memory footprint (I never had an issue in 1.1, even though this cache existed there). I suspect that's due to image lists on the node status.

This is provided as a fix for #23323
2016-04-17 00:06:31 -07:00
..
high-availability Removed DenyEscalatingExec from the list of default admission controllers. 2015-10-06 13:35:32 -07:00
limitrange Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
namespaces Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
resourcequota Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
accessing-the-api.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
admission-controllers.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
authentication.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
authorization.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
cluster-components.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
cluster-large.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
cluster-management.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
cluster-troubleshooting.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
daemon.yaml fix examples 2015-10-09 15:58:07 -07:00
daemons.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
dns.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
etcd.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
garbage-collection.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
high-availability.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
introduction.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
kube-apiserver.md Make deserialization cache size configurable 2016-04-12 13:42:27 +01:00
kube-controller-manager.md Added optional delays to starting controller managers. #22669 2016-04-13 09:52:28 -04:00
kube-proxy.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
kube-scheduler.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
kubelet.md update kubelet cluster-dns doc 2016-04-01 11:34:34 -04:00
master-node-communication.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
multi-cluster.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
namespaces.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
network-plugins.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
networking.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
node.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
ovs-networking.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
ovs-networking.png Remove use of "minion" from graphic 2015-09-25 10:07:13 +08:00
README.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
resource-quota.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
salt.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
service-accounts-admin.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
static-pods.md Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00

WARNING WARNING WARNING WARNING WARNING

PLEASE NOTE: This document applies to the HEAD of the source tree

If you are using a released version of Kubernetes, you should refer to the docs that go with that version.

The latest release of this document can be found [here](http://releases.k8s.io/release-1.2/docs/admin/README.md).

Documentation for other releases can be found at releases.k8s.io.

This file has moved to: http://kubernetes.github.io/docs/admin/

Analytics