e2e dra: add test driver and tests for dynamic resource allocation

The driver can be used manually against a cluster started with
local-up-cluster.sh and is also used for E2E testing. Because the tests proxy
connections from the nodes into the e2e.test binary and create/delete files via
the equivalent of "kubectl exec dd/rm", they can be run against arbitrary
clusters. Each test gets its own driver instance and resource class, therefore
they can run in parallel.
This commit is contained in:
Patrick Ohly
2022-08-15 13:43:28 +02:00
parent b2c39798f4
commit 14db9d1f92
21 changed files with 2597 additions and 0 deletions

3
vendor/modules.txt vendored
View File

@@ -2055,6 +2055,9 @@ k8s.io/csi-translation-lib
k8s.io/csi-translation-lib/plugins
# k8s.io/dynamic-resource-allocation v0.0.0 => ./staging/src/k8s.io/dynamic-resource-allocation
## explicit; go 1.19
k8s.io/dynamic-resource-allocation/controller
k8s.io/dynamic-resource-allocation/kubeletplugin
k8s.io/dynamic-resource-allocation/leaderelection
k8s.io/dynamic-resource-allocation/resourceclaim
# k8s.io/gengo v0.0.0-20220902162205-c0856e24416d
## explicit; go 1.13