Commit graph

3459 commits

Author SHA1 Message Date
Kubernetes Prow Robot
ca5c40e58a
Merge pull request #137764 from pacoxu/sig-node-standalone
e2e_node: fix pod StartTime assertion to compare time value
2026-03-19 05:42:59 +05:30
Kubernetes Prow Robot
c2a7819806
Merge pull request #137719 from sohankunkerkar/memqos-kernel-metrics-e2e
KEP-2570: Add tiered memory protection, metrics, rollback fix, and E2E tests for MemoryQoS
2026-03-19 05:42:44 +05:30
Kubernetes Prow Robot
87924903db
Merge pull request #137629 from stlaz/ensure-secret-images-allowlist-fix
Image Pulling Authorization: fix the allowlisting policy
2026-03-19 05:42:36 +05:30
Sohan Kunkerkar
d2b77a8133 Rename HardReservation to TieredReservation for memoryReservationPolicy
The tiered approach uses memory.min for Guaranteed pods (hard protection)
and memory.low for Burstable pods (soft protection). Rename the policy
value to reflect this design.
2026-03-18 16:24:27 -04:00
Sohan Kunkerkar
dbd3f16787 Add node E2E tests for MemoryQoS
Signed-off-by: Sohan Kunkerkar <sohank2602@gmail.com>
2026-03-18 16:24:26 -04:00
Kubernetes Prow Robot
055254a882
Merge pull request #134179 from Priyankasaggu11929/kep-3085-pod-ready-to-start-containers
KEP 3085: PodReadyToStartContainersCondition: add test to verify sandbox condition for missing secret
2026-03-18 23:20:32 +05:30
Stanislav Láznička
a212f52fba
NodeConformance e2e: tests all Ensure Secret Pulled Images policies
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2026-03-18 12:28:55 +01:00
Paco Xu
593c6deea5 fix mirror pod starttime failing message 2026-03-18 10:44:35 +08:00
Benjamin Elder
f6d42d302b make VolumeMountStatus.VolumeStatus a pointer to preserve serialization compatibility 2026-03-17 17:37:23 -07:00
Priyanka Saggu
0364ab662a PodReadyToStartContainersCondition: refactor test to verify same pod unblocks when volume is created
* volume created by (i) missing configmap, (ii) missing secret
2026-03-17 22:24:56 +05:30
Paco Xu
93c755bc33 e2e_node: fix pod StartTime assertion to compare using Equal 2026-03-17 12:02:01 +08:00
Priyanka Saggu
410efb048f add e2e tests verifying PodReadyToStartContainers condition set using criProxy to inject delay time 2026-03-16 10:14:02 +05:30
Kubernetes Prow Robot
95365ff478
Merge pull request #134768 from KevinTMtz/pod-level-resource-managers-5526
[PodLevelResourceManagers] Pod Level Resource Managers - Alpha
2026-03-14 08:45:35 +05:30
Kubernetes Prow Robot
0ad0cce87e
Merge pull request #137078 from saschagrunert/label-unlabeled-e2e-node-tests
Label unlabeled e2e node tests
2026-03-14 04:31:36 +05:30
Kubernetes Prow Robot
b5661be4ff
Merge pull request #137248 from SergeyKanzhelev/propagate-context-cri-client
add context to CRI API client and contextual logging per-call
2026-03-14 00:41:36 +05:30
Kubernetes Prow Robot
f7f694e5e0
Merge pull request #136792 from rata/userns-goes-ga
feature: Migrate UserNamespacesSupport to GA
2026-03-12 21:57:36 +05:30
Rodrigo Campos
f25830be53 test/e2e*: Remove references to UserNamespacesSupport feature gate
It's GA now.

Signed-off-by: Rodrigo Campos <rodrigo@amutable.com>
2026-03-12 15:20:09 +01:00
Sascha Grunert
d3919c7cef
Label unlabeled e2e node tests
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2026-03-12 09:02:24 +01:00
Kubernetes Prow Robot
a89519d791
Merge pull request #136728 from guptaNswati/kep-3695-FG-ga
KEP-3695: FG kubeletPodResources GA update
2026-03-12 07:15:34 +05:30
Kevin Torres
dec79e1fb2 E2E tests 2026-03-12 00:29:22 +00:00
Kubernetes Prow Robot
d729528df4
Merge pull request #136711 from saschagrunert/graduate-image-volume-ga
[KEP-4639]: Graduate ImageVolume to GA
2026-03-12 00:45:43 +05:30
Swati Gupta
9f9edb2525 remove featuregate in e2e_node test
Signed-off-by: Swati Gupta <swatig@nvidia.com>
2026-03-11 11:28:24 -07:00
Kubernetes Prow Robot
b16838370b
Merge pull request #136044 from SergeyKanzhelev/versioninconfigz
added API Version and Kind in /configz serailized objects
2026-03-11 15:09:36 +05:30
Kubernetes Prow Robot
4c162fe1f7
Merge pull request #136602 from guptaNswati/e2e-kep3695-podresources-test
add additional Get() tests for GA
2026-03-09 19:53:13 +05:30
Mads Jensen
1f2b70a043 Lint: Use modernize/rangeint in test/{e2e,e2e_node,images,soak} 2026-03-07 10:17:31 +01:00
Sergey Kanzhelev
f5efc1de14 add context to CRI API client and contextual logging per-call 2026-03-07 08:07:10 +00:00
Sergey Kanzhelev
1d4776ce85 Require configz to be external versioned runtime.Object 2026-03-06 18:41:11 +00:00
Swati Gupta
80fdfe2b72 e2e: node: podresources: fix grpc connection issues when kubelet restarts
Signed-off-by: Swati Gupta <swatig@nvidia.com>
2026-03-06 10:15:03 -08:00
Swati Gupta
a555870578 e2e: node: podresources: add additional Get() tests for GA
Signed-off-by: Swati Gupta <swatig@nvidia.com>
2026-03-05 20:01:19 -08:00
Jordan Liggitt
45900a1deb
Fix vet error 2026-03-05 18:11:02 -05:00
Harshal Neelkamal
40d8705d28 Introduce a kubelet-server configuration that allows reloading ClientCA in TLSConfig 2026-03-05 02:04:08 +00:00
Kubernetes Prow Robot
bd3c97fbd8
Merge pull request #137355 from lukaszwojciechowski/fix-cpuset-creation
cpumanager: Replace cpuset.CPUSet{} with cpuset.New() for proper initialization
2026-03-04 18:04:29 +05:30
Kubernetes Prow Robot
b9e0f9d10a
Merge pull request #137289 from ffromani/e2e-node-cpumanager-pod-create
e2e: node: cpumanager: create helper creation function
2026-03-03 14:59:20 +05:30
Kubernetes Prow Robot
619ddd3117
Merge pull request #136821 from ffromani/fix-podresources-api
node: e2e: fix podresources api test
2026-03-03 12:20:35 +05:30
Lukasz Wojciechowski
48eecb3670 Replace cpuset.CPUSet{} with cpuset.New()
This patch replaces direct struct initialization cpuset.CPUSet{} with
cpuset.New() to ensure the internal map is properly initialized.

While most CPUSet methods work correctly without this change, the Equals
method uses reflect.DeepEqual which returns false when comparing CPUSet
instances where one has a nil internal map and the other has an initialized
(empty) map. This can lead to unexpected false negatives in equality checks.

For example, the following comparison would incorrectly return false:
  cpuset.CPUSet{}.Equals(cpuset.New())

This change ensures consistent behavior across all CPUSet operations.

Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
2026-03-03 01:42:28 +01:00
Kubernetes Prow Robot
4ee05a3a2f
Merge pull request #137242 from tico88612/cleanup/e2e-node-prometheus
Cleanup: `test/e2e_node` remove prometheus dependency
2026-03-03 02:49:02 +05:30
ChengHao Yang
ba277219e3
Remove dependency prometheus from test/e2e_node resource metric test
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
2026-02-28 00:01:00 +08:00
Francesco Romani
f7bd739f22 e2e: node: cpumanager: create helper creation function
consolidate the pattern
```
pod = e2epod.NewPodClient(f).CreateSync(ctx, pod)
podMap[string(pod.UID)] = pod
```
into a new helper function. More than reducing code duplication,
this is to avoid bugs and leaks.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2026-02-27 15:02:42 +01:00
Francesco Romani
ba04070286 e2e: node: podresources: wrap Get() in Eventually
we get flakes on CI, not on dev environments, which
suggests a timing issue. From test perspective,
there is no need of immediate response, so adding
an Eventually doesn't invalidate the test and should reduce flakes.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2026-02-27 10:43:16 +01:00
Kubernetes Prow Robot
1ec27767f3
Merge pull request #136758 from harche/shareid_test
KEP-4680: Add tests to validate ShareID does not interfere with DRA Resource Health Status
2026-02-26 05:16:22 +05:30
ChengHao Yang
4baef5a295
Remove dependency prometheus from test/e2e_node mirror pod grace period test
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
2026-02-25 21:06:16 +08:00
Harshal Patil
62710a14d5 Add tests to validate ShareID does not interfere with DRA Resource Health Status
Signed-off-by: Harshal Patil <12152047+harche@users.noreply.github.com>
2026-02-19 08:54:51 -05:00
Francesco Romani
9e50a1b638 e2e: node: move helpers in util.go
move generic helpers in the generic utilities file,
because this code is not topology-manager specific and we
lack a better place.

trivial code movement.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2026-02-18 16:34:26 +01:00
Francesco Romani
448fa19b8e e2e: node: podresources: fix expectations for Get() and terminated pods
terminated pods should not be reported by Get() calls,
we should get an error instead

Signed-off-by: Francesco Romani <fromani@redhat.com>
2026-02-18 16:12:18 +01:00
Francesco Romani
1c947e67bc e2e: node: podresources: remove duplicated test
we have 2 almost identical tests, one of them being labeled NodeConformance,
the other being a strict subset of the former, both enabled
unconditionally. This seems redundant by any account.
Let's keep the conformance one.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2026-02-18 16:12:18 +01:00
Francesco Romani
8d88146e2d e2e: node: add GinkgoHelper calls
use ginkgo.GinkgoHelper() in the helper functions for
more explicative stacktraces and failures.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2026-02-18 16:12:04 +01:00
Kubernetes Prow Robot
5b63a8c68e
Merge pull request #136921 from dims/dump-from-utils
Move dump package from apimachinery to k8s.io/utils
2026-02-12 22:28:10 +05:30
Davanum Srinivas
550cc8645b
Move dump package from apimachinery to k8s.io/utils
Replace all imports of k8s.io/apimachinery/pkg/util/dump with
k8s.io/utils/dump across the repo. The apimachinery dump package
now contains deprecated wrapper functions that delegate to
k8s.io/utils/dump for backwards compatibility.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-02-12 07:34:19 -05:00
Kubernetes Prow Robot
7b21ce7c9a
Merge pull request #136905 from bart0sh/PR222-e2e-fix-extended-resource-flake
Fix extended resource flake
2026-02-11 21:56:02 +05:30
Ed Bartosh
02485d02ea DRA: e2e: move util_sampledevice.go to e2e/node/framework
- Moved sample device plugin constants and helper code to the
test/e2e/node/framework, so that both deviceplugin and DRA tests can
use it without creating e2e -> e2e_node dependency.

- Moved SampleDevsAmount constant from the
test/e2e_node/device_plugin_test.go
2026-02-11 16:07:17 +02:00