k3s/test/e2e_node
Kubernetes Submit Queue 3dea17fc64 Merge pull request #50392 from dashpole/fix_inode_eviction
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>..

inode eviction tests fill a constant number of inodes

Issue: #52203

inode eviction tests pass often on some OS distributions, and almost never on others.  See [these testgrid tests](https://k8s-testgrid.appspot.com/sig-node#kubelet-flaky-gce-e2e&include-filter-by-regex=Inode)
These differences are most likely because different images have fewer or greater inode capacity, and thus percentage based rules (e.g. inodesFree<50%) make the test more stressful for some OS distributions than others.
This changes the test to require that a constant number of inodes are consumed, regardless of the number of inodes in the filesystem, by setting the new threshold to:
nodefs.inodesFree<(current_inodes_free - 200k)
so that after pods consume 200k inodes, they will be evicted.  It requires querying the summary API until we successfully determine the current number of free Inodes.
2017-09-23 07:05:23 -07:00
..
builder Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
conformance use more-specific arm64v8 instead of deprecated aarch64 organization 2017-08-21 10:18:19 +08:00
environment Support remote runtimes with native cAdvisor support 2017-08-31 16:41:53 -04:00
jenkins Use the pre-built docker binaries on Ubuntu for benchmark tests 2017-08-28 14:06:23 -07:00
perftype Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
remote Allow passing image description from e2e node test config 2017-08-14 17:11:05 -07:00
runner Merge pull request #50831 from Random-Liu/instance-metadata-from-flag 2017-08-21 14:29:57 -07:00
services Explicitly enable docker shared-pid for e2e_node 2017-09-01 23:50:11 +02:00
system Fix: update system spec to support Docker 17.03 2017-09-19 10:40:25 -07:00
BUILD Merge pull request #51041 from balajismaniam/cpuman-e2e-tests 2017-09-12 10:46:06 -07:00
OWNERS Add yujuhong to test/e2e_node/OWNERS 2017-07-20 09:48:54 -07:00
README.md Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
allocatable_eviction_test.go Revert "Remove deprecated and experimental fields from KubeletConfiguration" 2017-09-02 16:30:56 +02:00
apparmor_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
benchmark_util.go Replace hard-code "cpu" and "memory" to consts 2017-08-16 16:37:50 +08:00
container.go run hack/update-all 2017-06-22 11:31:03 -07:00
container_manager_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
cpu_manager_test.go Added node e2e tests for the CPU Manager feature. 2017-09-11 09:29:24 -07:00
critical_pod_test.go Replace hard-code "cpu" and "memory" to consts 2017-08-16 16:37:50 +08:00
density_test.go Move the sig-instrumentation test to a dedicated folder 2017-08-07 10:33:03 +02:00
disk_eviction_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
docker_test.go Merge pull request #51634 from verb/sharedpid-default-off 2017-09-05 18:40:33 -07:00
docker_util.go Explicitly enable docker shared-pid for e2e_node 2017-09-01 23:50:11 +02:00
dockershim_checkpoint_test.go add dockershim checkpoint node e2e test 2017-06-29 13:26:09 -07:00
dynamic_kubelet_config_test.go Improve dynamic kubelet config e2e node test and fix bugs 2017-09-07 15:50:17 -07:00
e2e_node_suite_test.go Fix code implicitly casting clientsets to getters 2017-08-06 15:30:13 +02:00
garbage_collector_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
gke_environment_test.go Add node e2e test for Docker's live-restore 2017-08-17 16:58:21 -07:00
gpus.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
gubernator.sh Logs node e2e perf data to standalone json files 2017-06-12 14:27:56 -07:00
image_id_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
image_list.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
inode_eviction_test.go inode eviction only requires filling 200k inodes 2017-09-07 13:47:33 -07:00
kubelet_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
lifecycle_hook_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
local_storage_allocatable_eviction_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
local_storage_isolation_eviction_test.go Merge pull request #49457 from mkumatag/tests_multiarch 2017-09-02 15:18:10 -07:00
log_path_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
memory_eviction_test.go Replace hard-code "cpu" and "memory" to consts 2017-08-16 16:37:50 +08:00
mirror_pod_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
node_container_manager_test.go update cadvisor, docker, and runc godeps 2017-09-05 12:38:57 -07:00
node_problem_detector_linux.go update e2e tests and yaml files 2017-08-23 14:05:21 +08:00
pods_container_manager_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
resource_collector.go run hack/update-all 2017-06-22 11:31:03 -07:00
resource_usage_test.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
restart_test.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
runtime_conformance_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
security_context_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
simple_mount.go run hack/update-all 2017-06-22 11:31:03 -07:00
summary_test.go Summary tests should report rss usage now 2017-09-11 13:12:04 -04:00
util.go Improve dynamic kubelet config e2e node test and fix bugs 2017-09-07 15:50:17 -07:00
volume_manager_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30

README.md