Commit Graph

244 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
2691a29eac Merge pull request #128683 from AnishShah/validation
[FG:InPlacePodVerticalScaling] Disallow removing requests & limits for Burstable pods.
2024-11-08 09:08:43 +00:00
Kubernetes Prow Robot
c25f5eefe4 Merge pull request #128407 from ndixita/pod-level-resources
[PodLevelResources] Pod Level Resources Feature Alpha
2024-11-08 07:10:50 +00:00
Anish Shah
7680f0f293 api: reject removing requsets & limits for Burstable pods. 2024-11-07 21:06:54 -08:00
ndixita
99a6153a4f e2e tests
Signed-off-by: ndixita <ndixita@google.com>
2024-11-08 03:00:54 +00:00
Tim Allclair
bab6df857c Add resize e2e tests around min CPU shares 2024-11-07 17:02:25 -08:00
Lan Liang
6e5a3cde50 Remove PodHostIPs feature gates.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-11-06 23:10:36 -08:00
Kevin Hannon
350b0d2b93 Revert "Graduate PodLifecycleSleepAction to GA" 2024-11-06 16:29:19 -05:00
Kubernetes Prow Robot
833ee8502e Merge pull request #128194 from AnishShah/extended-resource
test: refactor logic to add/remove extended resources
2024-11-06 10:01:37 +00:00
Kubernetes Prow Robot
648717cc74 Merge pull request #128266 from AnishShah/resize-subresource
[FG:InPlacePodVerticalScaling] Introduce  /resize subresource to request pod resource resizing
2024-11-06 06:59:29 +00:00
Kubernetes Prow Robot
ce81cc70a6 Merge pull request #128403 from carlory/fix-128385
Fix failing test:  PodRejectionStatus Kubelet should reject pod when the node didn't have enough resource
2024-11-06 02:29:36 +00:00
Anish Shah
33a3d7578b e2e: Use resize subresource in e2e tests 2024-11-06 01:33:14 +00:00
Kubernetes Prow Robot
f81a68f488 Merge pull request #128377 from tallclair/allocated-status-2
[FG:InPlacePodVerticalScaling] Implement AllocatedResources status changes for Beta
2024-11-05 23:21:49 +00:00
Tim Allclair
13ae28bd67 Speed up resize test suite: only test rollback for a subset of cases 2024-11-03 13:02:17 -08:00
AxeZhan
200a61b6b9 Graduate PodLifecycleSleepAction to GA 2024-11-02 11:05:36 +08: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
Kubernetes Prow Robot
b337f048db Merge pull request #127094 from sreeram-venkitesh/4818-allow-zero-for-prestop-hook
KEP-4818: Relaxed validation for allowing zero in PreStop hook sleep action
2024-10-31 20:25:26 +00:00
carlory
a2b1fc0f7a Move PodRejectionStatus into e2e/node from e2e/common/node 2024-10-29 15:55:58 +08:00
Kubernetes Prow Robot
d7e5ff87e0 Merge pull request #128083 from carlory/fix-126662-kubelet
kubelet: fix a bug where kubelet wrongly drops the QOSClass field of the Pod's s status when it rejects a Pod
2024-10-23 21:00:53 +01:00
carlory
c7e384f9ff kubelet: fix a bug where kubelet drops the QOSClass field of the Pod's status when it rejects a Pod
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2024-10-24 01:01:04 +08:00
Anish Shah
73f7c1908a test: refactor logic to add/remove extended resources 2024-10-18 16:53:52 -07:00
Sreeram Venkitesh
f1f9e7b398 Clean kube_features.go
Added tests, info about new feature gate in error message, fixes from review

Added basic e2e test

Added unit tests

Ran hack/update-featuregates.sh

Tolerate updates to existing resources after disabling feature gate

Added feature gate to versioned_kube_features.go

Fixed existing tests

Use PodValidationOptions for validation instead of using feature gate directly

Relaxed validation for allowing zero in prestop hook sleep action
2024-10-18 22:04:42 +05:30
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
Kubernetes Prow Robot
ffabcdc6d1 Merge pull request #127448 from Nordix/esotsal/fix-123852
Potentially deflake "RuntimeClass should reject a Pod requesting a deleted RuntimeClass" test
2024-09-20 08:07:43 +01:00
Sotiris Salloumis
197fec8c8a Deflake "RuntimeClass should reject a Pod requesting a deleted RuntimeClass" test
Test today uses deprecated method PollImmediate, which does not return errors
from context, this commit tries to fix this using instead PollUntilContextTimeout.
2024-09-18 17:29:31 +02:00
Kevin Hannon
5358be5252 set timeout to a minute to see if this resolves flakes 2024-09-18 09:03:34 -04:00
Antonio Ojea
8cb7c54ce7 e2e VolumeSubpathEnvExpansion should not be tagged as slow
The test [sig-node] Variable Expansion should succeed in writing subpaths in container
takes 1m5s so it should no be tagged as slow"
2024-09-14 19:09:16 +00:00
Antonio Ojea
22d79b998a remove e2e slow tag for VolumeSubpathEnvExpansion
Kubernetes e2e suite: [It] [sig-node] Variable Expansion should fail
substituting values in a volume subpath with absolute path [Slow]
[Conformance] test takes 37 seconds to run
2024-09-14 19:06:25 +00:00
Antonio Ojea
32099f69f6 remove slow tag on e2e test
The test Variable Expansion should fail substituting values in a volume subpath with backticks
takes 12 seconds, it should not be tagged as slow
2024-09-14 19:01:09 +00:00
Kubernetes Prow Robot
f5c5384181 Merge pull request #124852 from claudiubelu/e2e-etc-hosts-test
e2e tests: Enables should test kubelet managed /etc/hosts file for Windows
2024-09-07 03:55:02 +01:00
zhifei92
7015f753e2 chore: optimize the error msg 2024-08-26 19:33:54 +08:00
zhifei92
fc7dadf370 chore: Optimizing the context information for assertions on boolean types. 2024-08-26 19:27:18 +08:00
Kubernetes Prow Robot
d770dd695a Merge pull request #121888 from SD-13/e2e-gomega-be-true-or-false
Enhance boolean assertions when fail
2024-08-20 04:24:42 -07:00
Sujay
223aedcf6b enhance boolean assertions 2024-07-31 15:58:15 +00:00
Ayato Tokubi
53883e35c8 Fix E2E error message
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2024-06-09 00:36:04 +00:00
Claudiu Belu
844426f5e0 e2e tests: Enables should test kubelet managed /etc/hosts file for Windows
We previously skipped this test because Docker did not support mounting
individual files in Containers.

Since then, support for Docker has been removed, and containerd on Windows
supports this feature. We can run this test on Windows.
2024-05-31 07:45:07 +00:00
Maciej Szulik
ceb0387e39 Update PodSecurityLevel used during tests 2024-05-15 16:50:30 +02:00
huweiwen
6ec421e2cf test/e2e: do not use global variable for image
We have "-kube-test-repo-list" command line flag to override the image registry. If we store it in global variable, then that overriding cannot take effect.

And this can cause puzzling bugs, e.g.: containerIsUnused() function will compare incorrect image address.
2024-04-22 19:29:39 +08:00
Matt Karrmann
bcf42255bb Refactor and simplify WaitForPodsRunningReady; update callers to use new interface 2024-04-17 23:18:26 -05:00
Kubernetes Prow Robot
87f9b3891e Merge pull request #123385 from HirazawaUi/allow-special-characters
Allow almost all printable ASCII characters in environment variables
2024-03-05 17:31:06 -08:00
Kubernetes Prow Robot
a33f8b8211 Merge pull request #122259 from pacoxu/enlarge-pod-delete-timeout
use e2e f.Timeouts.PodDelete instead of 1 minute
2024-03-05 05:46:29 -08:00
HirazawaUi
01689d0906 add e2e tests for relaxed validation 2024-03-05 17:09:15 +08:00
Kubernetes Prow Robot
7ec1e1a55e Merge pull request #121606 from saschagrunert/user-namespaces-serial-test
KEP-127: Add UserNamespacesPodSecurityStandards e2e test
2024-02-28 13:54:25 -08:00
AxeZhan
c74ec3df09 graduate PodLifecycleSleepAction to beta 2024-02-19 19:40:52 +08:00
Sascha Grunert
e158a83d9d KEP-127: Add UserNamespacesPodSecurityStandards e2e test
Adding a e2e test for the functionality added in
https://github.com/kubernetes/kubernetes/pull/118760.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-02-19 08:51:50 +01:00
Kubernetes Prow Robot
c147e507e8 Merge pull request #121729 from gjkim42/promote-sidecar-e2e-to-beta
Remove NodeAlphaFeature label from sidecar e2e tests
2024-01-04 17:59:03 +01:00
Lubomir I. Ivanov
bc83cea0eb test/e2e: add kubelet test for hostAliases with hostNetwork=true
Support for this was added in 1.8 by PR 50646 but there
is no e2e test.
2023-12-21 13:41:19 +02:00
Paco Xu
d5060de93f use e2e f.Timeouts.PodDelete instead of 1 minute 2023-12-11 17:25:49 +08:00