305 Commits

Author SHA1 Message Date
HirazawaUi
8d65e1e98e Add e2e tests. 2025-07-23 22:57:11 +08:00
ylink-lfs
fb4e252224 test: add batch pod deletion for kubelet e2e tests 2025-07-19 14:13:59 +08:00
Kubernetes Prow Robot
7fa6cdde88 Merge pull request #127630 from dshebib/e2eNode_UpdateToAgnhost
[e2e_node] containers_lifecycle update from busybox to agnhost
2025-07-18 15:24:25 -07:00
PatrickLaabs
2f7148782b chore: depr. pointer pkg replacement for test/e2e and utils 2025-07-06 22:18:03 +02:00
Daniel Shebib
179c4398f3 use defaultImage per OS 2025-07-01 23:17:51 -05:00
carlory
d5a56739ce use framework.ExpectNoError instead
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-05-11 13:12:29 +08:00
Kubernetes Prow Robot
73b5f84cb6 Merge pull request #131487 from hshiina/dedup-cgroup-verification
e2e: Deduplicate cgroup verification
2025-05-06 04:03:17 -07:00
Jordan Liggitt
6bb6c99342 Drop null creationTimestamp from test fixtures 2025-05-02 15:38:40 -04: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
Natasha Sarkar
932cff5dd4 add more error details to the failing cgroup check 2025-04-24 15:51:08 +00:00
Kubernetes Prow Robot
4bcaa515c9 Merge pull request #131267 from tallclair/resize-helpers
Move pod resize e2e utilities out of e2e/framework
2025-04-24 01:28:44 -07:00
Tim Allclair
947a9f26fa Move pod resize e2e utilities out of e2e/framework 2025-04-23 14:02:36 -07:00
Hironori Shiina
5a14fdbf7f e2e: Keep original error when exec in container fails 2025-03-28 11:18:33 +00:00
Kubernetes Prow Robot
bdda0a530e Merge pull request #131090 from natasha41575/deflakeCgroupNotFound
[FG:InPlacePodVerticalScaling] deflake - wait for containers to have started before doing cgroup check
2025-03-28 00:54:34 -07:00
Natasha Sarkar
5c7491bf08 accept rounded container cpu limits in container cgroup tests (#131059) 2025-03-27 23:40:34 -07:00
Natasha Sarkar
d349ac57e4 wait for containers to have started before doing cgroup check 2025-03-27 20:52:44 +00:00
Natasha Sarkar
83bb5d5705 deflake restart count assertions in in-place resize tests (#131055) 2025-03-27 07:56:40 -07:00
vinay kulkarni
d62e766dad Fix function comment 2025-03-20 16:13:45 +00:00
vinay kulkarni
1208f25b3f Verify oom_score_adj for containers that have been restarted in pod resize e2e 2025-03-20 05:57:41 +00:00
vinay kulkarni
7fe7754e67 Fix unit test, remove wait after resize 2025-03-19 21:27:32 +00:00
vinay kulkarni
7f4b9a52db Consider memory requests in determining if resize is in progress, set termination grace period to 0 2025-03-19 19:11:21 +00:00
vinay kulkarni
951e33fdf9 Fix gofmt issues 2025-03-19 15:13:44 +00:00
vinay kulkarni
917c4b310b Fix lint issues, use kuberuntime's minGracePeriod const, boost container restart wait period 2025-03-19 13:26:01 +00:00
vinay kulkarni
d5d008a6bd Invoke UpdateContainerResources or trigger container restarts (for RestartContainer policy) when memory requests are resized 2025-03-19 06:33:27 +00:00
Natasha Sarkar
4c2be4bdde kubelet sets observedGeneration in conditions 2025-03-18 15:43:24 +00:00
Natasha Sarkar
a15520fbea Move pod resize status to pod conditions 2025-03-17 22:01:05 +00:00
Kubernetes Prow Robot
07d66d9c26 Merge pull request #130574 from natasha41575/drop_proposed_resize_status
[FG:InPlacePodVerticalScaling] Drop `Proposed` resize status
2025-03-11 09:49:46 -07:00
Natasha Sarkar
8a20e90839 [FG:InPlacePodVerticalScaling] Drop 'Proposed' resize status 2025-03-10 20:46:02 +00:00
Kubernetes Prow Robot
2effa5e3cf Merge pull request #130352 from natasha41575/kubelet-pod-observedgen
[FG:PodObservedGenerationTracking] Kubelet sets pod `status.observedGeneration` when updating the pod status
2025-03-07 13:33:45 -08:00
carlory
0a32e7d6e7 make sure that container is running when execute kubelet exec command
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-03-07 14:42:21 +08:00
Natasha Sarkar
40e7d88f02 Kubelet sets pod.status.observedGeneration behind FG 2025-03-06 22:31:04 +00:00
Natasha Sarkar
eab9197d1a Add observedGeneration and validation to pod status and conditions 2025-03-06 20:08:06 +00:00
carlory
627bfbdfdf windows does not support sleep infinity 2025-03-06 15:13:12 +08:00
Antonio Ojea
ae991725b7 e2e uses websockets by default for portforward 2025-02-24 18:26:13 +00:00
Antonio Ojea
071b1bd839 e2e test use websockets as default for exec operations 2025-02-24 18:26:08 +00:00
carlory
b56d30e32a fix flaky test: Subpath Container restart should verify that container can restart successfully after configmaps modified
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-02-24 11:24:58 +08:00
Kubernetes Prow Robot
931ad2a9fd Merge pull request #130108 from carlory/cleanup-after-81245
remove NodeOSDistroIs from test/e2e/framework/pod
2025-02-18 00:12:12 -08:00
Elizabeth Martin Campos
4724870b97 test: remove implicit inclusion of "name" label in utils functions 2025-02-13 12:48:30 +01:00
carlory
da2f36be58 remove NodeOSDistroIs from test/e2e/framework/pod 2025-02-12 15:33:37 +08:00
vivzbansal
242dec3e34 Updated some unit tests and resolved some review comments 2025-01-27 19:46:54 +00:00
Anish Shah
9a5c57817a test: pod-resize tests for sidecar containers 2025-01-27 19:46:54 +00:00
vivzbansal
6c5cf68722 Resolved latest review comments 2025-01-27 19:46:33 +00:00
vivzbansal
5d5e903e27 Revert e2e tests added for sidecar 2025-01-27 19:42:13 +00:00
vivzbansal
3885d2f8ab Added sidecar support in ValidatePodResize and dropNonResizeUpdates 2025-01-27 19:42:13 +00:00
vivzbansal
0e392f9017 Disable e2e test for now 2025-01-27 19:42:13 +00:00
vivzbansal
d1fac494f4 resolve merge conflicts 2025-01-27 19:42:13 +00:00
Kubernetes Prow Robot
a271299643 Merge pull request #129717 from esotsal/fix-128837
testing: Fix pod delete timeout failures after InPlacePodVerticalScaling Graduate to Beta commit
2025-01-21 15:50:47 -08:00
carlory
c68fc01b77 return an error instead of recording a test failure
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-01-21 23:43:48 +08:00
Sotiris Salloumis
c5fc4193bb Fix pod delete issues in podresize tests 2025-01-21 07:25:14 +01:00
carlory
8b4eae24ab Move some exec helper functions from framework/volume to framework/pod 2025-01-18 21:42:42 +08:00