k3s/test/integration
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
..
framework Merge pull request #23914 from sky-uk/make-etcd-cache-size-configurable 2016-04-17 00:06:31 -07:00
auth_test.go add act-as powers 2016-04-14 12:49:10 -04:00
benchmark-controller.json Updating scripts to use v1 instead of v1beta3 2015-07-01 00:23:16 -07:00
client_test.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
configmap_test.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
dynamic_client_test.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
etcd_tools_test.go Merge pull request #23914 from sky-uk/make-etcd-cache-size-configurable 2016-04-17 00:06:31 -07:00
extender_test.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
kubectl_test.go Moving InstallSwaggerAPI to Run 2016-03-28 23:04:14 -07:00
master_benchmark_test.go Fix compile errors in benchmark 2015-12-02 11:36:26 +01:00
master_test.go Added Selector Generation to Job. 2016-02-25 09:28:07 -08:00
metrics_test.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
openshift_test.go Extracting APIServer machinery code into a library 2015-12-16 13:54:23 -08:00
persistent_volumes_test.go Move test-only volume files to test-only volume package 2016-02-29 14:44:28 -08:00
pods.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
scheduler_test.go Comment out racey part of the multi-scheduler test. 2016-03-31 16:56:10 -07:00
secret_test.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
service_account_test.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
utils.go Add integration test for ConfigMap 2016-02-09 10:28:53 -05:00