k3s/test
k8s-merge-robot 0418a2c0ad Merge pull request #26153 from jsafrane/intergation-binder-stress
Automatic merge from submit-queue

volume controller: add configurable integration test to stress the binder

The test tries to bind configured nr. of PVs to the same nr. of PVCs. '100' is used by default, which should take ~1-3 seconds (depends on log level). Periodic sync is needed in rare cases, which may add another 10 seconds. - cache from #25881 will help here and sync should not be needed at all.

The test is configurable and may be reused to measure binder performance. Set KUBE_INTEGRATION_PERSISTENTVOLUME_* env. variables as described in persistent_volume_test.go and run the tests:

```
# compile
$ cd test/integration
$ godep go test -tags 'integration no-docker' -c

# run the tests
$ KUBE_INTEGRATION_PERSISTENTVOLUME_SYNC_PERIOD=10s KUBE_INTEGRATION_PERSISTENTVOLUME_OBJECTS=1000 time ./integration.test -test.run TestPersistentVolumeMultiPVsPVCs -v 2
```

Log level '2' is useful to get timestamps of various events like 'TestPersistentVolumeMultiPVsPVCs: start' and 'TestPersistentVolumeMultiPVsPVCs: claims are bound'.
2016-06-04 00:13:29 -07:00
..
component/scheduler/perf Removed all pause image constant strings, now the pause image is chosen by arch. Part of the effort of making e2e arch-agnostic 2016-05-26 19:16:43 +03:00
e2e kubelet e2e: enforce that image prepulling must finish before the test 2016-06-03 12:25:25 -07:00
e2e_node Merge pull request #26314 from vishh/all-logs 2016-06-03 18:49:25 -07:00
fixtures/pkg/kubectl/cmd/apply
images Rework of resource consumer. 2016-06-01 15:50:03 +02:00
integration volume controller: add configurable integration test to stress the binder 2016-06-03 12:52:32 +02:00
kubemark Add retries for make in start-kubemark 2016-05-30 16:51:30 +02:00
soak Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
OWNERS