Kubernetes Prow Robot
ea692abff6
Merge pull request #134151 from ialidzhikov/enh/default-watch-cache-size-1
...
apiserver: Clean up the obsolete `DefaultWatchCacheSize` etcd option
2026-05-21 18:46:48 +05:30
Kubernetes Prow Robot
b7d7fe4125
Merge pull request #139045 from aramase/aramase/i/fix_121271
...
fix(csi): preserve mount dir when NodePublish fails on a remount
2026-05-21 15:06:53 +05:30
Yongrui Lin
c11131a027
storage: fix HPA TestUpdateStatus to provide request info
...
Apply the NewNamespaceScopeContext pattern from #139038 to the status
subresource path, which was missed in the original sweep.
2026-05-20 18:54:07 +00:00
Yongrui Lin
44f6df54da
Drop legacy hand-written validation subtest from pkg/api/testing
...
With DV always enforced, the "hand written validation" subtest (which
set DeclarativeValidation=off and emulated 1.35) now exercises the
same code path as "Beta disabled". Remove it along with the
MinEmulationVersion option, the WithMinEmulationVersion helper,
deDuplicateErrors, and the now-tautological imperative-vs-declarative
equivalence checks.
2026-05-20 18:54:07 +00:00
Yongrui Lin
d1d46f5442
registry: drop redundant DeclarativeValidationConfig override on resourcePoolStatusRequestStrategy
...
The override returned the zero value, identical to the default provided
by the embedded rest.DeclarativeValidation.
2026-05-20 18:53:29 +00:00
Yongrui Lin
7c66c6aa23
Always enforce declarative validation
...
Per-tag enforcement is now controlled by the lifecycle prefix
(alpha/beta/standard) and the DeclarativeValidationBeta gate.
2026-05-20 18:53:29 +00:00
Kubernetes Prow Robot
7b9694ee77
Merge pull request #139005 from yongruilin/dv-fg-scale-fix
...
Consolidate Scale declarative validation tests into test/declarative_validation/
2026-05-20 23:54:45 +05:30
Kubernetes Prow Robot
d8dc1e25b0
Merge pull request #139003 from helayoty/helayoty/heap-pointer-based
...
scheduler: Eliminate map lookups from heap comparison path
2026-05-20 21:37:53 +05:30
helayoty
ae9da91a83
store pointers in the heap slice
...
Signed-off-by: helayoty <heelayot@microsoft.com>
2026-05-20 15:10:33 +00:00
Kubernetes Prow Robot
ad8c9819a2
Merge pull request #139061 from omerap12/refactor-replica-calc-test
...
HPA: refactor replica_calculator_test: consolidate metric case tests
2026-05-20 20:31:54 +05:30
Kubernetes Prow Robot
3132b54f67
Merge pull request #137072 from tico88612/feat/sa-metric-beta
...
Graduate old alpha ServiceAccount metric to beta
2026-05-20 20:31:47 +05:30
Kubernetes Prow Robot
6582c56124
Merge pull request #139182 from PseudoResonance/master
...
Expose CIDR allocator error reason
2026-05-20 18:31:55 +05:30
Kubernetes Prow Robot
1bb07fcb35
Merge pull request #138736 from rahulbabu95/fix/endpoint-controller-ipfamilies-guard
...
fix: avoid panic on services with empty IPFamilies
2026-05-20 17:13:45 +05:30
ChengHao Yang
b2bd8a4a93
Graduate old ServiceAccount metrics to BETA
...
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
2026-05-20 15:52:06 +08:00
PseudoResonance
a14a0098ca
Expose CIDR allocator error reason
...
Signed-off-by: PseudoResonance <75700a85-1205-4740-aebf-4413a352e81b@otake.pw>
2026-05-19 23:26:24 -07:00
Kubernetes Prow Robot
cc2629570d
Merge pull request #139038 from jpbetz/dv-enforcement-prep
...
Fix storage tests to support declarative validation enablement
2026-05-20 03:01:45 +05:30
Joe Betz
10685fb246
Migrate all storage tests to use request info
2026-05-19 16:37:03 -04:00
Kubernetes Prow Robot
04976d6f60
Merge pull request #138844 from skitt/bump-tools
...
Bump all tool dependencies
2026-05-20 01:31:45 +05:30
Kubernetes Prow Robot
f529c91dda
Merge pull request #138103 from adri1197/client-go-event-annotations
...
events: add AnnotatedEventRecorder interface into internal/events
2026-05-19 19:41:49 +05:30
Kubernetes Prow Robot
ae2febc8b5
Merge pull request #138995 from soltysh/speedup_sts_tests
...
Speed up StatefulSet unit tests
2026-05-19 15:33:08 +05:30
Maciej Szulik
7213a2099b
Move various one-time testFn inline
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-05-19 10:56:35 +02:00
Maciej Szulik
5cf02ebbcc
Use fakeclock in all tests
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-05-19 10:39:17 +02:00
Maciej Szulik
4993d95630
Speed up StatefulSet unit tests
...
TestStatefulSetScaleDownRespectsMinReadySeconds and
TestStatefulSetOnDeleteStrategyIgnoresMinReadySeconds are testing
.spec.minReadySeconds. This resulted in tests spinning sufficiently long
to reach the desired value. In both cases it was set to 30s.
This change modifies scaleUpStatefulSetControl allowing to inject
fakeClock which allows faster time changes, thus speeding the tests.
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-05-19 10:15:30 +02:00
Mike Fedosin
86f94fda0c
Fix error formatting and use proper error wrapping in HPA controller ( #139029 )
...
* Fix format-string argument order in object metric error messages
The error format strings in GetObjectMetricReplicas and
GetObjectPerPodMetricReplicas had the arguments in the wrong order,
causing objectRef.Kind to be printed where the error should appear
and vice versa.
Signed-off-by: Mikhail Fedosin <mfedosin@redhat.com>
* Use %w for error wrapping in fmt.Errorf calls in podautoscaler
Replace %v with %w for error arguments in fmt.Errorf throughout the
HPA controller, replica calculator, and metrics client. This enables
proper error wrapping so that callers can use errors.Is and errors.As
to inspect underlying errors.
Signed-off-by: Mikhail Fedosin <mfedosin@redhat.com>
---------
Signed-off-by: Mikhail Fedosin <mfedosin@redhat.com>
2026-05-18 20:47:54 +05:30
Kubernetes Prow Robot
a4aee62c39
Merge pull request #139025 from omerap12/hpaConsistency
...
Add the ability for the hpa controller to read its own writes
2026-05-18 19:56:02 +05:30
Kubernetes Prow Robot
e789abc1ee
Merge pull request #138367 from timmy-wright/timmy/fix-cleanup
...
fix: accumulate subpath cleanup actions in makeMounts to prevent handle leak
2026-05-18 19:55:54 +05:30
Kubernetes Prow Robot
1619326c6a
Merge pull request #138981 from gnufied/implement-optimized-selinux-metric-emission
...
Improve performance characteristic of selinux metric emission
2026-05-18 16:53:51 +05:30
Kubernetes Prow Robot
96c348e943
Merge pull request #138837 from mattcary/multi-msg
...
Clarify multi-attach events
2026-05-18 15:47:59 +05:30
Adrian Fernandez De La Torre
31fe350b2b
events: add AnnotatedEventRecorder interface
...
Add a separate AnnotatedEventRecorder interface with an AnnotatedEventf
method that allows attaching annotations to events at creation time.
Implement it in recorderImpl, FakeRecorder, and EventRecorderAdapter.
Add a Verbose option to FakeRecorder that optionally includes action,
object kind/apiVersion, and annotations in event output. The default
format is unchanged.
Signed-off-by: Adrian Fernandez De La Torre <adri1197@gmail.com>
2026-05-16 19:27:06 +02:00
Kubernetes Prow Robot
d4130f14a0
Merge pull request #139095 from marosset/windows-kubelet_test-unit-test-flake
...
Fix flaky kubelet unit test on Windows during log directory cleanup
2026-05-16 01:26:28 +05:30
Mark Rossetti
2984ddee71
Fix flaky kubelet unit test on Windows during log directory cleanup
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2026-05-15 10:55:32 -07:00
Kubernetes Prow Robot
7ec68e3b3a
Merge pull request #139022 from hoteye/hoteye-image-manager-logger
...
kubelet: pass logger through image pull logging
2026-05-15 21:54:29 +05:30
Hemant Kumar
f02ddd0e3b
Only emit non-dupicated values as metrics
2026-05-15 11:40:56 -04:00
Kubernetes Prow Robot
016a2bcfa4
Merge pull request #138481 from carlory/fix-broken-graceful-leader-transition
...
controller/resourcepoolstatusrequest: Improve goroutine mgmt
2026-05-15 20:22:30 +05:30
Kubernetes Prow Robot
9f8e03c4d0
Merge pull request #138710 from mm4tt/fix-preemptor-eligibility
...
scheduler: match preemptor eligibility behavior in pod group preemption
2026-05-15 19:10:37 +05:30
Matt Matejczyk
259b504c3b
scheduler: match preemptor eligibility behavior in pod group preemption
2026-05-15 11:34:18 +00:00
Kubernetes Prow Robot
5dd873be95
Merge pull request #139077 from lukaszwojciechowski/cpumanager_checkpoint_revert
...
Revert of Generalize CPU manager checkpoint
2026-05-15 15:44:28 +05:30
Kubernetes Prow Robot
3647aa0125
Merge pull request #138983 from vishalanarase/test/dynamicresources-inflight-signal-idempotence
...
test(dynamicresources): assert in-flight claim is not replaced on second signal
2026-05-15 14:02:27 +05:30
Kubernetes Prow Robot
3758f08707
Merge pull request #138951 from sujoshua/master
...
Fix ImageLocality scoring for image volumes
2026-05-15 13:00:28 +05:30
Joshua Su
b96072e372
Fix ImageLocality scoring for image volumes
...
Include image volumes in the image source count used by calculatePriority, so
the raw image score and max threshold are based on the same image sources.
Update ImageLocality tests to cover ImageVolume scoring against equivalent
regular container images.
Signed-off-by: Joshua Su <i@joshua.su>
2026-05-15 14:29:19 +08:00
Hemant Kumar
dfc9d96007
Optimize how deletions are handled
2026-05-15 00:05:01 -04:00
Lukasz Wojciechowski
7610060256
Revert "Fix CPU checkpoint migration V2 to V3"
...
This reverts commit 83f1cae965 .
2026-05-15 03:16:41 +02:00
Lukasz Wojciechowski
d6f30d1af7
Revert "Generalize CPU manager checkpoint serialization"
...
This reverts commit c177f1c7c8 .
2026-05-15 03:16:38 +02:00
Lukasz Wojciechowski
0027d15b64
Revert "Log error when cleanup fails in CPU Manager tests"
...
This reverts commit d197c74b2e .
2026-05-15 03:16:36 +02:00
Lukasz Wojciechowski
8e20d72210
Revert "Make TestCheckpointStateRestore feature-aware"
...
This reverts commit 204d316a15 .
2026-05-15 03:16:32 +02:00
Lukasz Wojciechowski
cea848c5b9
Revert "Fix V3 checkpoint checksum for rollback compatibility"
...
This reverts commit 6565ce278e .
2026-05-15 03:16:29 +02:00
Lukasz Wojciechowski
f9a879be4d
Revert "Fix kubelet startup failure when restoring legacy V3 CPU manager checkpoints"
...
This reverts commit a8f751c0b5 .
2026-05-15 03:15:28 +02:00
Lukasz Wojciechowski
22c85984b3
Revert "Add roundtrip test for CPU manager checkpoint marshal/unmarshal/verify"
...
This reverts commit 9ae649aa54 .
2026-05-15 03:15:23 +02:00
Kubernetes Prow Robot
4f39ba34ff
Merge pull request #138903 from sohankunkerkar/fix/memoryqos-rollback-startup-cleanup
...
Clear stale MemoryQoS cgroup values at kubelet startup
2026-05-15 00:30:28 +05:30
Omer Aplatony
09b3daa521
refactor replica_calculator_test: consolidate metric case tests
...
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2026-05-14 15:24:56 +00:00