Kubernetes Prow Robot
6ef2215eb7
Merge pull request #132558 from HirazawaUi/Implement-4762
...
KEP-4762: Allows setting any FQDN as the pod's hostname
2025-07-23 16:26:27 -07:00
Surya Seetharaman
4c87e60d0d
Tests using .host field in probes must be at priviledged level
...
The sig-node tests have scenarios of doing probes and
lifecycle handler tests with post-start and pre-stop hooks
setting the host field to be another pod.
In baseline level such things won't be allowed because of
the PSA rules we are adding in this PR. So unsetting
the host field means it uses the podIP of self for doing
the checks and using that in the pre-stop and post-start
hooks is tricky because of the timing issues with when the
container is actually up v/s running the test.
So I have changed the tests to be privileded for them to
use the .host fields if they desire to.
See https://github.com/kubernetes/kubernetes/issues/133091
which is an issue opened to properly refactor these tests.
Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com >
2025-07-23 21:17:05 +02:00
HirazawaUi
8d65e1e98e
Add e2e tests.
2025-07-23 22:57:11 +08:00
Bing Hongtao
6f3b6b91f0
KEP-3721: Support for env files ( #132626 )
...
* Add FileKeyRef field and struct to the Pod API
* Add the implementation code in the kubelet.
* Add validation code
* Add basic functionality e2e tests
* add codes for drop disabled pod fields
* update go.mod
2025-07-22 13:40:42 -07:00
Kubernetes Prow Robot
ade9b7746a
Merge pull request #132595 from AxeZhan/ga3960
...
Graduate PodLifecycleSleepAction to GA
2025-07-19 13:22:39 -07:00
sreeram-venkitesh
00bf3b37a7
Graduate PodLifecycleSleepActionAllowZero to GA
2025-07-18 21:35:58 +05:30
Kubernetes Prow Robot
4a80270b30
Merge pull request #133012 from tallclair/mem-lim-decrease
...
[FG:InPlacePodVerticalScaling] Support reducing memory limits
2025-07-17 17:10:39 -07:00
Tim Allclair
75ae2d727a
Add an E2E test for memory limit decrease usage check
2025-07-17 13:17:35 -07:00
Tim Allclair
2a9388c303
Move memory limit decrease e2e test to success cases
2025-07-17 13:17:35 -07:00
Natasha Sarkar
465f728141
use gomega.BeComparableTo instead of Equal for resource quantity check in resize test
2025-07-17 20:09:05 +00:00
Kubernetes Prow Robot
37a7addd0c
Merge pull request #132264 from HirazawaUi/promote-to-conformance
...
Promote RelaxedEnvironmentVariableValidation test to Conformance #132219
2025-07-12 11:31:28 -07:00
Kubernetes Prow Robot
eace307651
Merge pull request #132795 from tallclair/resize-patch
...
Avoid manually writing resize patches for pod resize E2Es
2025-07-09 12:05:27 -07:00
Kubernetes Prow Robot
09bb45816a
Merge pull request #132468 from haircommander/status-retry
...
e2e: retry getting status on restart policy tests
2025-07-08 18:21:28 -07:00
Tim Allclair
ae7d637b89
Delete unused ResizeContainerPatch function
2025-07-07 13:59:32 -07:00
Tim Allclair
f1b35cae91
Use MakeResizePatch instead of hand-written patch strings in resize E2Es
2025-07-07 13:58:40 -07:00
Tim Allclair
00c1c1a58e
Generate an E2E resize patch from original & desired ResizableContainerInfo
2025-07-07 13:57:48 -07:00
PatrickLaabs
e74bbd5db4
chore: depr. pointer pkg replacement for test/e2e
2025-07-06 22:32:21 +02:00
Peter Hunt
fd8bf1c821
e2e: retry getting status on restart policy tests
...
as the containers in a pod restart, the pod may enter exponential backoff, which delays the pod being ready.
In this case for this pod, it's expected, but we shouldn't fail to continue the test before the container has been given the chance to start again
Signed-off-by: Peter Hunt <pehunt@redhat.com >
2025-06-23 14:58:57 -04:00
HirazawaUi
5882df8beb
promote env test to conformance
2025-06-12 21:43:03 +08:00
Kubernetes Prow Robot
50773d75b6
Merge pull request #132250 from AxeZhan/test3960
...
Flaky test fix for KEP3960: Lifecycle Sleep Hook
2025-06-12 04:41:06 -07:00
AxeZhan
d46e13b9c5
change the command of the terminated container
2025-06-12 16:06:50 +08:00
Kubernetes Prow Robot
926e176094
Merge pull request #128642 from AxeZhan/test3960
...
Adjust durations for PodLifecycleSleepAction e2e tests.
2025-06-11 17:44:54 -07:00
AxeZhan
69eddde89b
using finalizer
2025-06-11 21:49:38 +08:00
Kubernetes Prow Robot
4db16edaa8
Merge pull request #132054 from HirazawaUi/promote-4369-to-ga
...
[KEP-4369]: Graduate RelaxedEnvironmentVariableValidation to GA
2025-06-10 11:19:02 -07:00
HirazawaUi
ef2c18a5a0
Add more test cases
2025-06-11 00:02:48 +08:00
AxeZhan
9d1bc51cbb
adjust durations for sleepAction
2025-06-10 10:52:25 +08:00
HirazawaUi
6a4751da7f
Graduate RelaxedEnvironmentVariableValidation Feature gate to GA
2025-06-07 20:32:03 +08:00
Peter Hunt
ee33c1a9fc
e2e: fix userns test
...
after creating two pods, we need to ensure we wait on each to be ready before we collect their logs
Signed-off-by: Peter Hunt <pehunt@redhat.com >
2025-05-30 13:32:52 -04:00
Peter Hunt
c5e4cab9b1
e2e: add corresponding featuregate label to node features
...
there are many cases of an e2e feature being the main filtering mechanism for a test.
However, this makes it tricky for suite authors to filter tests based on available features.
This mechanism is still useful for e.g. making sure a runtime on a suite is of the correct level,
but in general we should both label tests with the Feature set they require (whether runtime is correct) as well
as the feature gates they test.
Signed-off-by: Peter Hunt <pehunt@redhat.com >
2025-05-13 13:14:47 -04:00
Natasha Sarkar
22fa3c747b
add retries to exec command in cgroup verification
2025-05-06 18:33:25 +00:00
Hironori Shiina
43ce37ed48
Address feedback
2025-05-01 14:56:28 +02: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
Kubernetes Prow Robot
8aa1d337e9
Merge pull request #131102 from esotsal/debug_131067
...
[FG:InPlacePodVerticalScaling] Clean code resize test
2025-04-30 15:33:55 -07: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
Sotiris Salloumis
d6b45bc98d
[FG:InPlacePodVerticalScaling] clean code resize test
...
- Improve information when VerifyPodContainersCgroupValues fails
- Use common way to append errors
2025-04-28 18:43:12 +02:00
Tim Allclair
947a9f26fa
Move pod resize e2e utilities out of e2e/framework
2025-04-23 14:02:36 -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
83bb5d5705
deflake restart count assertions in in-place resize tests ( #131055 )
2025-03-27 07:56:40 -07:00
James Sturtevant
2073252d5a
Ginkgo skip needs to run inside leaf node otherwise it panics
...
Signed-off-by: James Sturtevant <jsturtevant@gmail.com >
2025-03-25 06:59:26 -07:00
Sreeram
f035e37c4b
Added e2e test and fixed existing pod test
2025-03-25 02:05:30 +05:30
Tim Allclair
6873e81929
Run in-place resize tests in default CI jobs
2025-03-20 14:44:37 -07:00
Kubernetes Prow Robot
52ab771774
Merge pull request #130917 from vinaykul/ippr-mem-req-ucr
...
Invoke UpdateContainerResources or trigger container restarts when memory requests are resized
2025-03-20 13:08:56 -07:00
Shingo Omura
586af6b568
KEP-3619: move SupplementalGroupsPolicy e2e test from /e2e/node/ to /e2e/common/node/
2025-03-20 13:46:01 +09: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
Rodrigo Campos
0524c80786
e2e/node: Remove outdated comment
...
Userns only supported those volumes in k8s 1.25 and 1.26. Let's remove
the outdated comment.
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com >
2025-03-18 11:44:42 +01:00
Rodrigo Campos
c11077f417
e2e/node: Skip userns tests on windows
...
While they have the LinuxOnly part, other tests have that and this
e2eskipper line. Let's add it just in case.
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com >
2025-03-18 11:44:09 +01:00
Rodrigo Campos
c984f0f08a
tests/e2e: Add tests for userns kubelet mappings
...
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com >
2025-03-18 11:29:34 +01:00
lauralorenz
256a576651
Add featuregate, feature and unit and e2e tests
...
Signed-off-by: lauralorenz <lauralorenz@google.com >
Signed-off-by: Laura Lorenz <lauralorenz@google.com >
2025-03-12 23:43:16 +00:00
Anish Ramasekar
2090a01e0a
add e2e test with the gcp-credential-provider test plugin
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com >
2025-03-11 20:36:36 -07:00