Commit Graph

28471 Commits

Author SHA1 Message Date
Hemant Kumar
f99cb99a1b Wait for quota to report used before creating pvc
This should avoid races between pvc creation and quota creation
2025-09-15 13:16:22 -04:00
Kubernetes Prow Robot
c10a2932d4 Merge pull request #133952 from pacoxu/fix-image-name
fix CI failure: update pod image using the same one
2025-09-15 00:32:10 -07:00
Kubernetes Prow Robot
74c336734c Merge pull request #133840 from OsamaNabih/update-nautilus-agnhost-version-to-2_56
Update Nautilus test BASEIMAGES agnhost from 2.33 to 2.57
2025-09-14 19:58:08 -07:00
Kubernetes Prow Robot
f945dc402b Merge pull request #134047 from pohly/dra-e2e-node-metric-flake
DRA E2E node: fix test cleanup
2025-09-14 19:08:08 -07:00
Osama Nabih
a825c72697 Update agnhost to version 2.57
Signed-off-by: Osama Nabih <nabih_the_4th@yahoo.com>
2025-09-14 18:43:59 +03:00
Kubernetes Prow Robot
58f2d96901 Merge pull request #134028 from richabanker/etcd-metrics-deprecation
Set the deprecated version=1.34.0 for apiserver_storage_objects metric
2025-09-14 01:42:07 -07:00
Kubernetes Prow Robot
08bf6408af Merge pull request #133800 from oyiz-michael/update-iscsi-volume-baseimage-fedora42
Update volume/iscsi base image from fedora:38 to fedora:42
2025-09-13 04:24:06 -07:00
Kubernetes Prow Robot
c475dd271b Merge pull request #134014 from toVersus/fix/downward-api-flake
deflake e2e tests: Pod Level Resources Downward API
2025-09-12 15:24:06 -07:00
Kubernetes Prow Robot
b7f44cfc17 Merge pull request #134042 from Karthik-K-N/fix-node-test
Explicitly set TerminationGracePeriodSeconds for mirror pod
2025-09-12 13:24:07 -07:00
Patrick Ohly
8fed05c5b7 DRA E2E node: fix test cleanup
dd9917ddce fixed one test which did not wait for
pods to be deleted and then, depending on the timing, left ResourceClaims
prepared because the driver stopped before kubelet could call
NodeUnprepareResources.

But this is a more systematic issue also with other tests, so now the any test
which starts a DRA plugin automatically uses the same common cleanup code:
- delete pods in the test names
- wait for the driver to not have any active ResourceClaims
- stop the driver
2025-09-12 18:43:35 +02:00
Kubernetes Prow Robot
118e833a0d Merge pull request #133687 from soltysh/drop_PodIndexLabel
Drop PodIndexLabel after the feature GA-ed in 1.32
2025-09-12 07:30:11 -07:00
Kubernetes Prow Robot
08bc37c755 Merge pull request #134021 from pohly/scheduler-perf-gc
scheduler_perf: run garbage collection before measurement
2025-09-12 03:18:15 -07:00
Kubernetes Prow Robot
601068b889 Merge pull request #134018 from tico88612/cleanup/new-indexer-informer-watcher-replace
Replace NewIndexerInformerWatcher with NewIndexerInformerWatcherWithLogger
2025-09-12 03:18:08 -07:00
Karthik Bhat
4e907fad15 Explicitly set TerminationGracePeriodSeconds for mirror pod 2025-09-12 15:16:31 +05:30
Kubernetes Prow Robot
2d9ffdfec1 Merge pull request #134006 from pacoxu/kubelet-config-e2e
node_e2e: fix kubelet configuration setup
2025-09-11 20:08:06 -07:00
Paco Xu
455a437674 node_e2e: fix kubelet configuration setup 2025-09-12 09:26:17 +08:00
Richa Banker
476325f6e5 Specify the deprecated version of apiserver_storage_objects metric 2025-09-11 16:25:39 -07:00
Kubernetes Prow Robot
1d80f35350 Merge pull request #132791 from bitoku/cpu-weight
Update pod resize test to accept new cpu.weight conversion.
2025-09-11 16:20:08 -07:00
Kubernetes Prow Robot
d602326b87 Merge pull request #133363 from yliaog/implicit
Allow implicit extended resource name to be used no matter explicit extendedResourceName field is set or not in device class
2025-09-11 13:40:07 -07:00
Kubernetes Prow Robot
69e637f24c Merge pull request #131755 from jpbetz/openapi-type-name-gen
Allow OpenAPI model package names to be declared by APIs
2025-09-11 12:26:08 -07:00
Kubernetes Prow Robot
ca78eafa24 Merge pull request #134010 from pohly/scheduler-perf-docs
scheduler_perf: KUBE_CACHE_MUTATION_DETECTOR=false in docs
2025-09-11 11:36:14 -07:00
ChengHao Yang
029d314e15 Replace NewIndexerInformerWatcher with NewIndexerInformerWatcherWithLogger
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
2025-09-12 01:44:02 +08:00
Maciej Szulik
46cc610e6f Drop PodIndexLabel after the feature GA-ed in 1.32
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-09-11 19:32:48 +02:00
Patrick Ohly
16fa150182 scheduler_perf: run garbage collection before measurement
The startup phase may have allocated memory that can be garbage-collected.
Forcing GC to run before measurements avoids noise if the garbage collection
kicks in during the measurement and potentially reduces the heap size reported
by metrics.

The exact effect has not been measured, it just seems useful.
2025-09-11 19:25:20 +02:00
Kubernetes Prow Robot
e7d7d8984e Merge pull request #133996 from macsko/disable_too_short_scheduler_perf_workloads
Disable too short scheduler_perf workloads
2025-09-11 09:28:07 -07:00
Tsubasa Nagasawa
ecff35e2fb deflake e2e tests: set cpu requests to avoid out of cpu
Pod Level Resources Downward API has two test cases. In each
test, a Pod is created with only CPU limits of 1250m specified.
Since CPU limits are set, the CPU requests also default to 1250m.
With a Node capacity of 2000m, two 1250m Pods cannot be scheduled,
which appears to cause the OutOfCpu error.
2025-09-11 21:44:44 +09:00
Maciej Skoczeń
0c0acbc535 Disable too short scheduler_perf workloads 2025-09-11 11:48:45 +00:00
Kubernetes Prow Robot
7d8551ad4e Merge pull request #133790 from Jpsassine/fix-leaky-resource-health-test
Fix flaky resource claim metrics test
2025-09-11 04:40:07 -07:00
Patrick Ohly
9f31b00908 scheduler_perf: KUBE_CACHE_MUTATION_DETECTOR=false in docs
When looking at a CPU profile, the cache mutation detection stood out.  "make
test-integration" enables it by default. We try to benchmark "real" production
setups, therefore we have to prevent that by setting it to false ourselves.
2025-09-11 12:37:51 +02:00
Michael
6e5a5abb86 Fix version bump to follow semantic versioning
- Change VERSION from 2.8 to 2.7 (increment by 1, not 2)
- Follows Kubernetes convention for base image updates
2025-09-11 09:58:26 +01:00
Kubernetes Prow Robot
4a843fca6f Merge pull request #133272 from drjackild/agnhost-fake-registry-cmd
add fake-registry-server command to agnhost
2025-09-10 19:41:56 -07:00
Yevhen Dubovskoi
3da372354d add fake-registry-server command to agnhost
* command run the limited subset of OCI API and serve static
images from the registry (which are pre-loaded when building an image)
* add pause version to zeitgeist rule for agnhost
* bump version of agnhost to 2.57
2025-09-10 23:31:22 +00:00
Kubernetes Prow Robot
147143e348 Merge pull request #133955 from pacoxu/fix-kubelet-e2e
e2e_node kubelet configuration: merge feature gates and system-reserved items
2025-09-10 15:56:18 -07:00
Kubernetes Prow Robot
6b94b09f0e Merge pull request #130548 from Jefftree/addon-manager-image-bump
Bump addon manager image to v9.1.8
2025-09-10 15:55:56 -07:00
Kubernetes Prow Robot
d433db0782 Merge pull request #133978 from aramase/aramase/i/fix_kms_test_133945
kmsv2: run `TestKMSv2ProviderKeyIDStaleness` tests in parallel
2025-09-10 15:05:55 -07:00
Anish Ramasekar
480fad996d kmsv2: run TestKMSv2ProviderKeyIDStaleness in parallel
This change updates the NowFunc to be per KMS provider instead of global
to the API server. This allows integration tests that use distinct
provider names to run in parallel when simulating key expiry.

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-09-10 14:15:43 -07:00
Kubernetes Prow Robot
78f5d2e6ee Merge pull request #133949 from mauriciopoppe/revert-133476-crictl-parallel
Revert "Add retries to node's crictl test"
2025-09-10 14:14:03 -07:00
Kubernetes Prow Robot
38e21c91b9 Merge pull request #133324 from adrianmoisey/replace-deprecated-WaitForServiceEndpointsNum
Replace deprecated WaitForServiceEndpointsNum with WaitForEndpointCount
2025-09-10 14:13:56 -07:00
Joe Betz
fc091d93d5 Update tests that depend on internal model names
Signed-off-by: Joe Betz <jpbetz@google.com>
2025-09-10 15:52:59 -04:00
Kubernetes Prow Robot
5cef241d82 Merge pull request #133218 from nmn3m/kube-controller-manager-statuz
adds a list of available HTTP endpoints for the kube-controller-manag…
2025-09-10 11:48:22 -07:00
Kubernetes Prow Robot
2854e946c3 Merge pull request #131430 from carlory/follow-up-127017
remove v1beta3 flowcontrol from rest storage
2025-09-10 11:48:05 -07:00
Kubernetes Prow Robot
e9eef19379 Merge pull request #129240 from KevinTMtz/evict-terminated-pods-on-disk-pressure
E2e test for cleaning of terminated containers
2025-09-10 11:47:57 -07:00
John-Paul Sassine
dd9917ddce Fix flaky resource claim metrics test
The E2E node test "[DRA] Two resource Kubelet Plugins [Serial] must provide metrics" was failing flakily due to a race condition.

The preceding test, "should not add health status to Pod when feature gate is disabled," was leaking an in-use ResourceClaim. It deleted its pod but did not wait for the Kubelet to finish unprepared the resources, leaving the `dra_resource_claims_in_use` metric at a non-zero value.

This commit makes the cleanup process synchronous so now it  deletes the pod and explicitly waits for the `NodeUnprepareResources` gRPC call to complete making sure resources are released before the test finishes.

Additionally, I fixed  the cleanup logic in the `createHealthTestPodAndClaim` helper function to prevent a `DeviceClass` leak.
2025-09-10 18:21:35 +00:00
Kubernetes Prow Robot
bbd859808d Merge pull request #133921 from dims/update-prometheus-client-golang-and-common-packages
update prometheus' client_golang and common packages
2025-09-10 08:40:06 -07:00
carlory
7e6aafe157 fix intergation test
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-09-10 22:51:41 +08:00
yliao
79f8d1b1c5 fixed bug such that implicit extended resource name can always be used,
no matter the explicit extendedResourceName field in device class is set or not.
2025-09-10 14:10:40 +00:00
Kubernetes Prow Robot
a9fe67a1dd Merge pull request #133990 from macsko/minor_fixes_in_scheduler
Fix minor inconsistencies in scheduler
2025-09-10 06:58:11 -07:00
Patrick Ohly
83273e21b9 DRA scheduler_perf: clean up usage of steady-state pod scheduling
The steady-state pod scheduling is less suitable for integration tests because
the duration is either short (making the test potentially flaky if nothing gets
scheduled yet due to the time constraint) or long (making the test run too
long). It is more useful for benchmark testcase because of the bounded runtime.

Now a single workload definition can be used in both modes with a configuration
parameter for "steadyState".

Workload definitions get updated accordingly. While at it, their names get
simplified and some (in the case of the main DRA config) redundant testcases
get removed.
2025-09-10 13:47:08 +02:00
Patrick Ohly
9af3e86810 scheduler_perf: detect testcases with no pods scheduled
Some of the DRA testcases schedule pods in a steady state for a certain
duration. They pass even if no pods got scheduled at all because in contrast to
the non-steady-state variants they don't wait for fixed number of pods to be
scheduled. This made them unsuitable for integration testing because a real
problem is not flagged as test failure. Now "zero pods scheduled" is detected
for them.

However, they are still not good integration tests (either run quickly and then
risk being flaky or run for a longer time period and then are slow). Revisiting
how they are used in configurations will be done separately.
2025-09-10 13:47:08 +02:00
Maciej Skoczeń
3dfcda9afd Fix minor inconsistencies in scheduler 2025-09-10 11:40:10 +00:00