Commit Graph

135392 Commits

Author SHA1 Message Date
Alessio Attilio
ae3163eeca Fix issue 136525: Handle NotFound errors in garbage collector
When objects are deleted externally (e.g., pods deleted directly after
job deletion), the garbage collector should not log errors. This change
adds explicit NotFound error handling in attemptToDeleteItem to enqueue
virtual delete events when deleteObject returns NotFound, treating
external deletion as a successful outcome.

This follows the same pattern already used when getObject returns
NotFound, ensuring consistency across the function.
2026-02-13 00:01:22 +01:00
Kubernetes Prow Robot
c0e6971b70 Merge pull request #136710 from bart0sh/PR221-integration-add-implicit-extended-resources
DRA: integration: test implicit resources
2026-02-06 15:12:32 +05:30
Kubernetes Prow Robot
38c2026613 Merge pull request #136315 from liyuerich/commentstartauthorization
enable commentstart check on authorization API group
2026-02-06 14:04:32 +05:30
liyuerich
d172d92d6c enable commentstart check on authorization API group
Signed-off-by: liyuerich <yue.li@daocloud.io>
2026-02-06 14:15:29 +08:00
Kubernetes Prow Robot
aba3dc7256 Merge pull request #133759 from BenTheElder/integrationprocs
Reapply "stop overriding max concurrency in CI, let automax procs handle it
2026-02-06 11:06:36 +05:30
Kubernetes Prow Robot
8972957668 Merge pull request #135782 from richabanker/fifo-identity-metric
Add identifier-based queue depth metrics for RealFIFO
2026-02-06 07:34:29 +05:30
Kubernetes Prow Robot
da9e038713 Merge pull request #133845 from rbiamru/clarify-cpucfsquotaperiod
Clarify CPUCFSQuotaPeriod config vs CustomCPUCFSQuotaPeriod feature gate
2026-02-06 06:22:29 +05:30
Kubernetes Prow Robot
98629689c1 Merge pull request #136478 from kairosci/fix-audit-log-rotation
fix: Set effectively unlimited MaxSize for audit logs when 0 is specified
2026-02-06 05:26:30 +05:30
Alessio Attilio
b753a2afe5 fix: Set effectively unlimited MaxSize for audit logs when 0 is specified
Signed-off-by: Alessio Attilio <attilio.alessio@protonmail.com>

fix: Update TestAuditLogMaxSizeZero to expect os.File when MaxSize is 0

fix: Update TestAuditValidOptions to handle MaxSize=0 case
2026-02-06 00:06:57 +01:00
Kubernetes Prow Robot
9b1228fe05 Merge pull request #136706 from Jefftree/ulimit
Fix ulimit check in test.sh
2026-02-06 04:16:30 +05:30
Kubernetes Prow Robot
ca0c2c50bd Merge pull request #136284 from lalitc375/dv-shadow
Implement +k8s:alpha and +k8s:beta
2026-02-06 03:16:37 +05:30
Kubernetes Prow Robot
5dd7be6b4f Merge pull request #136118 from HarshalNeelkamal/ga-external-jwt
Make ExternalServiceAccountTokenSigner GA
2026-02-06 03:16:29 +05:30
Kubernetes Prow Robot
cee0b6d6e0 Merge pull request #136752 from BenTheElder/please-no-new-test-images
clarifying adding new test images
2026-02-06 01:36:39 +05:30
Kubernetes Prow Robot
9f49748159 Merge pull request #135636 from mikecook/DeepEqualWithNilDifferentFromEmpty
fix DeepEqualWithNilDifferentFromEmpty comparison
2026-02-06 01:36:31 +05:30
Richa Banker
7ffcacbf9e Wire informer name through kube-controller-manager shared informers 2026-02-05 11:45:47 -08:00
Richa Banker
9638680933 Wire InformerName through SharedIndexInformer 2026-02-05 11:45:38 -08:00
Richa Banker
1fec293a1d Generate informers with InformerName support 2026-02-05 11:42:54 -08:00
Richa Banker
e90b7a8de9 Update informer-gen to support InformerName for metrics 2026-02-05 11:42:34 -08:00
Richa Banker
864357774f Add FIFO queue depth metrics 2026-02-05 11:42:20 -08:00
Ed Bartosh
299471da26 test: refactor extended resource test
Simplify testExtendedResource structure and add proper field validation:

- Rename tests to distinguish explicit vs implicit modes clearly
- Remove unnecessary nested sub-test to flatten test hierarchy
- Validate ExtendedResourceName is correctly stored or stripped
  based on feature gate state to ensure proper API behavior
- Remove outdated comment that no longer applies

Co-Authored-By: Patrick Ohly <patrick.ohly@intel.com>
2026-02-05 21:17:15 +02:00
Ed Bartosh
f56e2545f0 DRA: integration: test implicit resources
Modified DRA integration test to test implicit extended resources.
2026-02-05 21:17:15 +02:00
Ed Bartosh
ef68c5f91c test: integration: refactor DRA extended resource test
Simplified testExtendedResource by using the helper functions added
in the previous commit:

- Removed unused global test data (podWithExtendedResource,
  classWithExtendedResource, etc.)
- Used createTestClassWithSpec to create DeviceClass with extended resources
- Used createPodWithExtendedResource to create test pods
- Removed manual class and pod creation boilerplate
2026-02-05 21:17:15 +02:00
Ed Bartosh
c21cb83c74 test: modify integration test helpers
Add helper functions to use for testing DRA extended resources:

- Add createTestClassWithSpec to support custom DeviceClassSpec
- Add createPodWithExtendedResource to create pods requesting extended resources
2026-02-05 21:17:09 +02:00
Kubernetes Prow Robot
dab5f4f0ae Merge pull request #136777 from omerap12/update-agnhost
Upgrade agnhost image to 2.63.0
2026-02-06 00:44:38 +05:30
Kubernetes Prow Robot
344604831e Merge pull request #136492 from Ignoramuss/optionalorrequired-policy
api: enable optionalorrequired linter for policy API
2026-02-06 00:44:30 +05:30
Kubernetes Prow Robot
79a7301142 Merge pull request #136770 from pohly/e2e-gce-no-package-installs
cluster gce: remove installation of additional packages
2026-02-05 23:22:31 +05:30
Your Name
27461e05f9 Extract out tags valdiations from all validations 2026-02-05 17:52:07 +00:00
Your Name
90578014e6 Add alpha and beta tests 2026-02-05 17:51:54 +00:00
Omer Aplatony
201fe11b03 Promote agnhost image to 2.63.0
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2026-02-05 17:21:34 +00:00
Kubernetes Prow Robot
dc1ec1211e Merge pull request #136747 from dims/use-k8s-utils-btree
Use btree from k8s.io/utils instead of github.com/google/btree
2026-02-05 16:02:30 +05:30
Patrick Ohly
46a9dfe361 cluster gce: remove installation of additional packages
Downloading repository metadata and installing these packages can take too
long, causing timeouts in e2e-gce and similar jobs because the 300s timeout for
"Kubernetes is up and running" gets exceeded.

It's unclear whether all of these packages are still needed. They apparently
were in 2020 (acd286d), but maybe not anymore?
2026-02-05 09:43:48 +01:00
Your Name
d477d1ff2b Update validators to support alpha/beta levels 2026-02-05 05:57:49 +00:00
Your Name
0379d82906 Add +k8s:alpha and +k8s:beta tags support 2026-02-05 05:57:42 +00:00
Kubernetes Prow Robot
f1bed8121b Merge pull request #136753 from tallclair/qos-cleanup
Use quantity.Sign() instead of quantity.Cmp(zeroQuantity)
2026-02-05 11:20:29 +05:30
Richa Banker
db27f4c123 Add identity tracking for queue items 2026-02-04 14:49:47 -08:00
Davanum Srinivas
a328ca88ad Use btree from k8s.io/utils instead of github.com/google/btree
The google/btree package is deprecated, so switch to the maintained
fork in k8s.io/utils/third_party/forked/golang/btree.

API differences:
- NewG -> New
- BTreeG[T] -> BTree[T]

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-02-04 16:11:16 -05:00
Kubernetes Prow Robot
cb58c79c76 Merge pull request #136750 from BenTheElder/master-go-1.25.7
update core binaries to go 1.25.7 for CVE fixes
2026-02-05 02:04:39 +05:30
Kubernetes Prow Robot
365fd08d58 Merge pull request #136694 from michaelasp/addEmulationToClientGo
Add the ability to update locked features in client-go testing
2026-02-05 02:04:32 +05:30
Kubernetes Prow Robot
a773eb4838 Merge pull request #136691 from pohly/ktesting-deprecated-removal
ktesting: remove deprecated and unused functions
2026-02-05 00:36:32 +05:30
Michael Aspinwall
566a01682f Lock InOrderInformers to true by default 2026-02-04 18:46:03 +00:00
Michael Aspinwall
8099c57042 Add SetForTesting for testing feature gates 2026-02-04 18:45:51 +00:00
Tim Allclair
e8b7c959c9 Use quantity.Sign() instead of quantity.Cmp(zeroQuantity) 2026-02-04 10:38:23 -08:00
Benjamin Elder
f356122aef clarifying adding new test images 2026-02-04 10:23:15 -08:00
Kubernetes Prow Robot
518dcf95c9 Merge pull request #136746 from dims/cleanup/remove-openstorage-pinned-module
Remove openstorage pinned module from unwanted-dependencies
2026-02-04 22:42:40 +05:30
Kubernetes Prow Robot
871ad000b4 Merge pull request #136673 from HirazawaUi/remove-DisableNodeKubeProxyVersion
Lock the DisableNodeKubeProxyVersion feature gate to be enabled by default
2026-02-04 22:42:33 +05:30
Benjamin Elder
94aa043a7b upgrade go to 1.25.7 for core binaries 2026-02-04 08:44:00 -08:00
Ignoramuss
c29724f060 Regenerate OpenAPI spec files for policy API
Run hack/update-openapi-spec.sh to regenerate the static OpenAPI
specification files after adding +optional markers to
PodDisruptionBudgetStatus fields.
2026-02-04 07:50:27 -08:00
Ignoramuss
9e8deefd9a Regenerate OpenAPI spec after adding +optional markers to policy API
Run hack/update-codegen.sh to regenerate OpenAPI specifications after
adding +optional markers to PodDisruptionBudgetStatus fields in both
policy/v1 and policy/v1beta1.
2026-02-04 07:50:27 -08:00
Ignoramuss
d485fe5610 api: enable optionalorrequired linter for policy API
Add missing +optional markers to PodDisruptionBudgetStatus fields in
policy/v1 and policy/v1beta1 and enable the optionalorrequired linter
for the policy API group.
2026-02-04 07:50:27 -08:00
Kubernetes Prow Robot
27dad90a0c Merge pull request #136730 from dims/update-prometheus-deps
Bump prometheus/common to v0.67.5 and prometheus/procfs to v0.19.2
2026-02-04 20:44:33 +05:30