Commit Graph

134908 Commits

Author SHA1 Message Date
Jefftree
3fc91586a7 Fix metrics test 2025-08-07 13:59:19 +00:00
Jefftree
993ba324cd Bump BV to 1.35 2025-08-07 13:59:19 +00:00
Kubernetes Prow Robot
8ac9a3c089 Merge pull request #133412 from richabanker/etcd-metrics-delete
Use Delete() instead of DeleteLabelValues() for etcd metrics
2025-08-07 06:33:42 -07:00
Dr. Stefan Schimanski
29eb19e422 Address feedback
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2025-08-07 15:09:05 +02:00
carlory
89b5034d56 Make podcertificaterequestcleaner role feature-gated 2025-08-07 13:46:08 +08:00
Richa Banker
2629fe25fa Use Delete() instead of DeleteLabelValues() for etcd metrics 2025-08-06 21:24:27 -07:00
Kubernetes Release Robot
13ced7b7dd CHANGELOG: Update directory for v1.34.0-rc.0 release 2025-08-06 20:20:05 +00:00
Tim Allclair
bd900111a8 Move ContainerRuntimeOptions flags to cmd/kubelet/app/options 2025-08-06 12:12:08 -07:00
Tim Allclair
ff6f4e1f63 Move kubelet config code to kubeletconfig 2025-08-06 12:08:19 -07:00
Kubernetes Prow Robot
9d3fff5048 Merge pull request #133353 from ffromani/e2e-node-serial-unblock
node: unblock e2e serial lanes
2025-08-06 11:37:25 -07:00
Tim Allclair
30b34fbcca Don't read AllocatedResources from PodStatus during admission 2025-08-06 11:31:15 -07:00
Maciej Skoczeń
dc0343c2f7 Split preemption integration tests to mitigate the timeout 2025-08-06 08:59:15 +00:00
yliao
b796918986 reduced numPods to 5 from 10 to fix flaky test (supports reusing resources) due to timeout. 2025-08-06 07:42:31 +00:00
yliao
2a026f6d65 1/ added retries to AssumeClaimAfterAPICall for the object which is not present in the cache (dynamicresources.go)
2/ modified the assume cache verification to not error out as long as
the expected claim is in the cache, no matter its latest and api object
are different or not. (dynamicresources_test.go).
3/ fixed nil panic as seen from https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/133321/pull-kubernetes-integration/1952472629470302208
2025-08-06 07:08:58 +00:00
Jordan Liggitt
0c91e28360 Clean up service account print and describe 2025-08-05 17:51:10 -04:00
Maciej Skoczeń
aa59f930b3 Add lock to TestAsyncPreemption to prevent races 2025-08-05 09:43:12 +00:00
Maciej Skoczeń
c5ef720837 Fix race in scheduler integration tests 2025-08-05 09:42:52 +00:00
Jefftree
70794c4568 Add newline to fix owners fmt 2025-08-04 19:12:56 +00:00
Jefftree
7242ddd937 Add jefftree to OWNERS 2025-08-04 19:12:13 +00:00
Davanum Srinivas
cf8ab1c3e7 component-base/metrics: add concurrent WithContext unit test
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2025-08-04 13:23:12 +02:00
Dr. Stefan Schimanski
45f61b5bc0 component-base/metrics: store WithContext ctx in a wrapper to avoid race
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2025-08-04 13:21:39 +02:00
胡玮文
1d792b00e6 move timeout to only cover the line under test
To make the test more robust if the test runs slow.

Other goroutines are still properly cleaned up because ctx returned by ktesting.Init is automatically cancelled after test finishes.
2025-08-04 09:36:24 +08:00
Mikhail Mazurskiy
640dabd58b Decouple term and remotecommand packages
This allows consumers of term to not pull in dependencies on
github.com/gorilla/websocket and github.com/moby/spdystream.
2025-08-03 20:35:40 +10:00
Keisuke Ishigami
a2061e97f4 install appropriate version 2025-08-03 01:47:34 +09:00
huweiwen
50fec6fc57 kubelet/volumeManager: (Get -> Has)PossiblyMountedVolumesForPod
This is intended to remove dependency on mountedVolume.OuterVolumeSpecNames
2025-08-02 20:28:44 +08:00
huweiwen
c20b105ac2 kubelet/volumeManager: GetMountedVolumesForPod() returns desired and actually mounted volumes
This should be fine because the volumes not in DSW should be umounted soon anyway.

Use GetPossiblyMountedVolumesForPod() for checking volumes unmounted in tests.
Production code should already using it.

This is intended to remove dependency on mountedVolume.OuterVolumeSpecNames
2025-08-02 20:28:44 +08:00
huweiwen
0913160404 kubelet/volumeManager: verifyVolumesMountedFunc checks both desired and actual
This is intended to remove dependency on mountedVolume.OuterVolumeSpecNames
2025-08-02 20:28:44 +08:00
Kubernetes Prow Robot
8e6d788887 Merge pull request #133344 from tallclair/mem-lim-decrease-test
Fix memory limit decrease test on cri-o
v1.35.0-alpha.0
2025-08-02 04:01:37 -07:00
Kubernetes Prow Robot
d490383fcb Merge pull request #133349 from kannon92/update-pause-always-pull
always pull pause image for eviction tests
2025-08-01 13:35:37 -07:00
Owen Strain
eac9da061d Bugfix: DeleteOptions decode errors should return 400 instead of 500 2025-08-01 19:01:12 +00:00
PatrickLaabs
62dcfe3bc0 Added WithOrigin within apis/core/validation with adjusted tests 2025-08-01 19:26:20 +02:00
Tim Allclair
01470d973b Fix memory limit decrease test on cri-o 2025-08-01 09:56:51 -07:00
Kubernetes Prow Robot
7bbcfda63a Merge pull request #133350 from carlory/fix-pod-certificates
Fix prerelease lifecycle  for PodCertificateRequest
2025-08-01 06:35:38 -07:00
utam0k
b080dba14e Add utam0k to SIG Scheduling reviewers
Signed-off-by: utam0k <k0ma@utam0k.jp>
2025-08-01 22:06:10 +09:00
Francesco Romani
aca402f25b e2e: node: skip breaking tests
Skip problematic tests to recover signal, then we will
reintroduce them gradually

See: https://github.com/kubernetes/kubernetes/issues/133314
See: https://github.com/kubernetes/kubernetes/pull/133336

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-08-01 13:59:32 +02:00
Kubernetes Prow Robot
b37978f226 Merge pull request #133334 from macsko/fix_potential_race_in_patchpodstatus_api_call_implementation
Fix potential race in PodStatusPatchCall implementation
2025-08-01 02:47:45 -07:00
Kubernetes Prow Robot
ea81dd6d01 Merge pull request #133309 from macsko/fix_race_with_closing_api_dispatcher
Fix potential race in closing API dispatcher
2025-08-01 02:47:38 -07:00
Mayuka Channankaiah
6c56d2fd1b Replace usage of deprecated ErrWaitTimeout with recommended method across all Pkgs 2025-08-01 14:18:06 +05:30
Kubernetes Prow Robot
a4465ded26 Merge pull request #133331 from macsko/remove_integration_labels_from_large_workloads_scheduler_perf
Remove integration-test labels from long running scheduler_perf workloads
2025-08-01 01:35:37 -07:00
Maciej Skoczeń
0fbc8cd44c Remove integration-test labels from long running scheduler_perf workloads 2025-08-01 07:18:26 +00:00
Kubernetes Prow Robot
3d9cccb60b Merge pull request #133342 from yliaog/perf
fixed exended resource scheduling performance test
2025-07-31 22:45:15 -07:00
Kevin Hannon
e83e5815e5 always pull pause image for eviction tests 2025-08-01 00:55:10 -04:00
carlory
418e96bf1a Update prerelease lifecycle to v1.34 2025-08-01 12:46:26 +08:00
SataQiu
d959186056 kubeadm: simplify error handling in getAPIEndpointWithRetry 2025-08-01 11:52:55 +08:00
yliao
65fda6dd34 fixed exended resource scheduling performance test, added more nodes for scheduling the init pods 2025-07-31 18:15:55 +00:00
Antonio Ojea
0a987f8f57 ServiceCIDR ValidationAdmissionPolicy for backkwards compatible behavior
Add an integration test with a ValidationAdmissionPolicy that allows to
keep the previous behavior to the introduction of the ServiceCIDR
feature.

Change-Id: I530d06c111f480e8ec535b250d651beb6f0249bc
2025-07-31 12:40:00 +00:00
Antonio Ojea
81e680e6d9 defaultservicecidr controller no shutdown eventbroadcaster on start
The defaultservicecidr controller runs as an apiserver PostStartHook
hence can not block the startup.
The logic of the controller was copied from the common boilerplate and
was assuming the controller blocked on start, hence defering the
shutdown of the eventbroadcaster.

Only shutdown the eventbroadcaster when the context is done.

Change-Id: I70426d5550afe3b12ab5ea68746238dd96f7db52
2025-07-31 10:58:40 +00:00
Kubernetes Prow Robot
9e2a0c7453 Merge pull request #133293 from utam0k/kep-5278--fg-alpha
Demote KEP-5278 feature gates ClearingNominatedNodeNameAfterBinding and NominatedNodeNameForExpectation to Alpha
2025-07-31 02:37:16 -07:00
Maciej Skoczeń
9eda4789c0 Fix potential race in PodStatusPatchCall implementation 2025-07-31 09:27:40 +00:00
Stanislav Láznička
efcf97f98c authz tests: delay response in context cancelled scenario
The net/http transport checks for immediate response when
its handling context cancellation. The unit test was racing
with this check by responding too fast.

Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-07-31 10:22:12 +02:00