kubernetes/test/utils
Patrick Ohly d88a153086 scheduler_perf: add DRA structured parameters test with shared claims
Several pods sharing the same claim is not common, but can be useful and thus
should get tested.

Before, createPods and createAny operations were not able to do this because
each generated object was the same. What we need are different, predictable
names of the claims (from createAny) and different references to those in the
pods (from createPods). Now text/template processing with the index number of
the pod respectively claim as input is used to inject these varying fields. A
"div" function is needed to use the same claim in several different pods.

While at it, some existing test cases get cleaned up a bit (removal of
incorrect comments, adding comments for testing with queuing hints).
2024-06-17 10:13:22 +02:00
..
apiserver e2e: reduce built time for framework 2022-09-10 17:56:23 +02:00
crd e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
format test: extend gomega to use YAML for API types 2022-10-28 15:43:48 +02:00
harness Generate and format files 2022-07-26 13:14:05 -04:00
image [go] Bump images, dependencies and versions to go 1.22.4 and distroless iptables/setcap/debian-base 2024-06-06 18:13:15 +02:00
junit hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
ktesting test: use cancelation from ktesting 2024-03-01 07:51:22 +01:00
kubeconfig e2e: reduce built time for framework 2022-09-10 17:56:23 +02:00
oidc Switch from golang/mock to uber-go/mock 2024-03-07 09:12:16 +01:00
admission_webhook.go Generate and format files 2022-07-26 13:14:05 -04:00
audit.go Add integration tests 2023-03-06 21:51:33 -05:00
conditions.go test: Fix e2e_node restart_test flake 2022-10-21 17:14:56 -07:00
create_resources.go Add benchmark tests for nodeInclusionPolicy 2022-11-05 00:13:43 +08:00
delete_resources.go Fix HPA E2E CRD test 2022-09-21 22:39:47 +00:00
density_utils.go switch over k/k to use klog v2 2020-05-16 07:54:27 -04:00
deployment.go using wait.Interrupted instead of deprecated wait.ErrWaitTimeout for utils 2023-10-11 19:30:14 +08:00
node.go Move pkg/api/v1/node to pkg/util/node (#73656) 2019-02-26 11:05:32 -08:00
paths.go Setup e2e_node to support testing on ARM64 2023-05-20 00:07:44 +00:00
pki_helpers.go update serial number to a valid non-zero number in ca certificate (#117791) 2023-05-09 06:34:08 -07:00
pod_store.go generated: run refactor 2020-02-07 18:16:47 -08:00
replicaset.go using wait.Interrupted instead of deprecated wait.ErrWaitTimeout for utils 2023-10-11 19:30:14 +08:00
runners.go scheduler_perf: add DRA structured parameters test with shared claims 2024-06-17 10:13:22 +02:00
tmpdir.go io/ioutil has already been deprecated in golang 1.16, so replace all ioutil with io and os 2022-02-03 05:32:12 +08:00
update_resources.go Error message should not be capitalized. 2021-05-28 16:00:05 +08:00