ndixita
10b73f8ef9
Test fixes
...
Signed-off-by: ndixita <ndixita@google.com >
2025-11-12 06:21:06 +00:00
ndixita
1733d8fc8c
e2e tests
...
Signed-off-by: ndixita <ndixita@google.com >
2025-11-11 18:19:09 +00:00
Natasha Sarkar
89b75e998d
expand coverage for resource quota and limit ranger tests
2025-09-19 15:44:42 +00:00
Natasha Sarkar
f1d980adf9
separate resource-quota and limit-ranger resize tests
2025-08-28 15:56:10 +00:00
Kubernetes Prow Robot
4676341457
Merge pull request #133065 from natasha41575/dedupe-resize-test
...
dedupe fetching allocatable and available resources in node test
2025-07-22 17:56:27 -07:00
ylink-lfs
fb4e252224
test: add batch pod deletion for kubelet e2e tests
2025-07-19 14:13:59 +08:00
Natasha Sarkar
13a6d2121c
check a couple extra failure scenarios
2025-07-18 23:30:54 +00:00
Natasha Sarkar
5d31866313
dedupe fetching allocatable and available resources in node test
2025-07-18 17:50:07 +00:00
Natasha Sarkar
f456a70bde
use CreateBatch and MakeResizePatch
2025-07-17 19:19:05 +00:00
Natasha Sarkar
86bc1bf0a4
more complex e2e test for deferred resizes
2025-07-17 17:50:45 +00:00
Natasha Sarkar
237fbde8b1
clean up e2e test and sorting code
2025-07-10 22:30:21 +00:00
Natasha Sarkar
6052c569db
prioritize resize requests by priorityClass and qos class
2025-07-10 18:01:15 +00:00
Natasha Sarkar
676978641e
address feedback
2025-05-19 19:38:42 +00:00
Natasha Sarkar
88e1909e51
move pod admission and resize logic into the allocation manager
2025-05-19 19:38:42 +00:00
Hironori Shiina
7e1cec680e
e2e: Deduplicate cgroup verification
...
This fix deduplicates cgroup verification in tests for
InPlacePodVerticalScaling and PodLevelResources.
2025-05-01 14:53:26 +02:00
kevinrizza
903d6d4f03
Don't reinitialize test framework during each test case
...
This commit updates pod resize tests to resolve an
issue where extraneous unused namespaces are created
when the tests are run. This happens because a new
instance of the test framework is generated when
looping over the test specs, registering BeforeEach each
time.
2025-04-29 09:17:40 -04:00
Kubernetes Prow Robot
30f8f3d146
Merge pull request #131361 from jkyros/fix-inplace-test-wait-quota-status
...
[FG:InPlacePodVerticalScaling] deflake - wait for resourceQuota status to be populated
2025-04-25 13:35:22 -07:00
John Kyros
00908ce2d1
Wait for resource quota status to be populated
...
Trying to create a pod using a resourcequota whose status has not been
populated will result in api admission rejecting it with a 403
Forbidden. The pod resize tests do not wait/check to make sure the
resourcequota status is populated before trying to use the quota when
creating a pod, so in scenarious where either the test runs too fast, or
the resourcequota controller is too slow, the tests will fail.
This just makes the test wait up to a minute for the quota status to
populate. The status generation timing/logic gets tested separately in
test/e2e/apimachinery/resource_quota.go, and it waits a minute, so we
wait a minute, but in practice it takes at worst seconds.
2025-04-25 01:09:08 -05:00
Tim Allclair
947a9f26fa
Move pod resize e2e utilities out of e2e/framework
2025-04-23 14:02:36 -07:00
Natasha Sarkar
83bb5d5705
deflake restart count assertions in in-place resize tests ( #131055 )
2025-03-27 07:56:40 -07:00
Natasha Sarkar
2350e7a911
deflake pod-resize-resource-quota-test
2025-03-25 21:12:29 +00:00
Kubernetes Prow Robot
dd43c3d29d
Merge pull request #130953 from tallclair/ippr-e2e
...
Run in-place resize tests in default CI jobs
2025-03-21 12:18:31 -07:00
Tim Allclair
16f5fe6a26
Fix infeasible resize test
2025-03-20 19:17:13 -07:00
Tim Allclair
6873e81929
Run in-place resize tests in default CI jobs
2025-03-20 14:44:37 -07:00
Natasha Sarkar
a15520fbea
Move pod resize status to pod conditions
2025-03-17 22:01:05 +00:00
Natasha Sarkar
8a20e90839
[FG:InPlacePodVerticalScaling] Drop 'Proposed' resize status
2025-03-10 20:46:02 +00:00
Kubernetes Prow Robot
b14fad5adc
Merge pull request #130181 from natasha41575/apiserver-generation
...
start setting pod metadata.generation
2025-02-24 10:48:29 -08:00
Natasha Sarkar
d02401dea9
start setting pod metadata.generation
2025-02-24 16:22:14 +00:00
Tim Allclair
ddd4c56893
Fix pod resize E2E tests after forbidding memory limit decrease
2025-02-21 15:46:33 -08:00
Kubernetes Prow Robot
afbbdbedc2
Merge pull request #128685 from AnishShah/fix-ippr-test
...
[FG:InPlacePodVerticalScaling] assert specific error occurred in tests
2025-02-19 17:06:26 -08:00
Tim Allclair
7c3a9d65fc
Don't set default resize policy in E2E tests
2024-11-21 09:54:37 -08:00
Paco Xu
03a15fa65d
Revert "[FG:InPlacePodVerticalScaling] Graduate to Beta"
2024-11-20 14:55:29 +08:00
Anish Shah
36144e0708
test: add a check that a specific error has occurred.
2024-11-12 15:45:51 -08:00
Tim Allclair
4bbc6f1c2c
Move pod_resize tests out of alpha
2024-11-09 14:29:02 -08:00
Anish Shah
5dbb793207
test: fix InPlacePodVerticalScaling e2e tests
2024-11-06 07:35:33 +00:00
Anish Shah
5b5e4a87c3
apply feedback
2024-11-06 01:33:16 +00:00
Anish Shah
832d7f7dc2
apply feedback
2024-11-06 01:33:15 +00:00
Anish Shah
dc3c4ed559
pod resize support in LimitRanger admission plugin
2024-11-06 01:33:15 +00:00
Anish Shah
1b98fe6079
support for resize subresource in ResourceQuota admission.
2024-11-06 01:33:15 +00:00
Anish Shah
33a3d7578b
e2e: Use resize subresource in e2e tests
2024-11-06 01:33:14 +00:00
Tim Allclair
9d28cc0413
Improve resize test debugability
2024-11-01 14:02:58 -07:00
Tim Allclair
45b1104878
Fix resize E2E tests
2024-11-01 14:02:58 -07:00
Anish Shah
3e6df4a871
test: remove container runtime check and fix other nits
2024-10-17 17:14:04 -07:00
Anish Shah
d72c7319f8
test: refactor duplicate inplace pod resize test utilities
2024-10-17 05:35:40 -07:00
Anish Shah
b8897e688d
test: refactor duplicate IPPR e22 tests.
...
This change refactors duplicate IPPR cluster and node e2e tests under
test/e2e/common directory
2024-10-17 05:27:27 -07:00
Itamar Holder
85068bce13
Patch all nodes with extended resource to allow testing on every node
...
Signed-off-by: Itamar Holder <iholder@redhat.com >
2024-08-28 16:28:54 +03:00
Itamar Holder
f43f5bc821
Add an e2e test
...
Signed-off-by: Itamar Holder <iholder@redhat.com >
2024-08-28 16:28:53 +03:00
hjet
30e395a7fa
Roll back resize patches in doPodResizeTests
2024-07-05 11:41:07 -04:00
Sotiris Salloumis
7dbc2a9ea8
pod-resize-scheduler-tests: fix ci-kubernetes-e2e-ec2
2024-06-26 20:20:13 +02:00
胡玮文
859bd02593
e2e: add TERM trap to pod sleep command
...
This should avoid the 30s delay caused by shell not responding to SIGTERM, and can only be killed by SIGKILL.
If the pod is deleted with the namespace during cleanup, this also makes cleanup faster, and frees up the resources for the next test cases faster.
2024-06-11 13:52:47 +08:00