Commit Graph

131144 Commits

Author SHA1 Message Date
Cici Huang
6cd00cdcba Auto gen 2025-07-15 04:48:13 +00:00
Cici Huang
a3ecea296c manual change 2025-07-15 01:44:13 +00:00
Cici Huang
4f3334b7ce Promote feature gate 2025-07-15 01:44:13 +00:00
Kubernetes Prow Robot
63da385748 Merge pull request #132934 from ylink-lfs/chore/residual_strptr_removal
chore: residual strPtr utility removal with ptr.To
2025-07-14 16:42:53 -07:00
Kubernetes Prow Robot
51f478ef10 Merge pull request #132906 from aroradaman/service-repairip-race-fix
service-ip-alloc: delay ip processing on service recreate
2025-07-14 16:42:45 -07:00
Kubernetes Prow Robot
3430e34d88 Merge pull request #132656 from liggitt/selector-authz
KEP-4601: Graduate selector authorization to stable
2025-07-14 16:42:38 -07:00
Kubernetes Prow Robot
3bab7bccd3 Merge pull request #132219 from BenTheElder/conformance-ordered
Promote OrderedNamespaceDeletion test to Conformance
2025-07-14 16:42:30 -07:00
Kubernetes Prow Robot
c2cd859eaf Merge pull request #131458 from BenTheElder/hostnetwork-docs
document hostnetwork <> port implications
2025-07-14 16:42:23 -07:00
Kubernetes Prow Robot
11f7fd5f44 Merge pull request #132932 from serathius/apf_use_size
Use object size to estimate list cost assigning 1 seat per 100KB
2025-07-14 15:34:29 -07:00
Kubernetes Prow Robot
8790d5b819 Merge pull request #132341 from dashpole/graduate_kubelet_tracing
Promote KubeletTracing featuregate to GA
2025-07-14 15:34:23 -07:00
Jordan Liggitt
4f77a46186 Generated files 2025-07-14 16:19:52 -04:00
Jordan Liggitt
a04e7cf5eb KEP-4601: Graduate selector authorization to stable 2025-07-14 16:19:52 -04:00
Kubernetes Prow Robot
4ffb58f6d7 Merge pull request #132931 from pohly/dra-e2e-device-plugin
DRA E2E: test mixture of extended resources + ResourceClaim
2025-07-14 12:06:30 -07:00
Kubernetes Prow Robot
bf0be9fb56 Merge pull request #132028 from ffromani/podresources-list-active-pods
podresources: list: use active pods
2025-07-14 12:06:24 -07:00
Kubernetes Prow Robot
1127e02789 Merge pull request #132928 from p0lyn0mial/upstream-watchlist-reflector-table-unsupported
reflector: detects unsupported meta.Table gvks for watchlist
2025-07-14 10:22:23 -07:00
ylink-lfs
ad03cb8733 chore: residual strPtr utility removal with ptr.To 2025-07-15 00:31:20 +08:00
Patrick Ohly
af249fb2e9 DRA E2E: test mixture of extended resources + ResourceClaim
This shows that a device plugin and DRA driver can be used together on the same
node.
2025-07-14 18:13:27 +02:00
Kubernetes Prow Robot
bd6e6e80cb Merge pull request #132884 from serathius/watchcache-detect-inconsistency
Enable running cache inconsistency detection by default
2025-07-14 09:12:31 -07:00
Kubernetes Prow Robot
cb0b66a89f Merge pull request #132645 from serathius/kep-2340-ga
Graduate ConsistentListFromCache to GA
2025-07-14 09:12:24 -07:00
Marek Siarkowicz
85adda5e68 Use object size to estimate list cost assigning 1 sear per 100KB 2025-07-14 16:58:58 +02:00
Lukasz Szaszkiewicz
7d9eb2b3d0 test/apimachinery/watchlist: update tests that receive resources in Table format 2025-07-14 16:09:29 +02:00
Lukasz Szaszkiewicz
da7c55e0d2 reflector: detects unsupported meta.Table gvks for watchlist 2025-07-14 15:42:57 +02:00
Lukasz Szaszkiewicz
8d1cbc83d8 endpoints/handlers/get: remove watchListEndpointRestrictions 2025-07-14 13:02:14 +02:00
Kubernetes Prow Robot
b266ac2c3e Merge pull request #132840 from ppmechlinski/increase-volume-binder-verbosity
Increase verbosity of frequently printed loglines in binder plugin
2025-07-14 03:44:30 -07:00
Kubernetes Prow Robot
01d50ae1c5 Merge pull request #132730 from onasser1/scheduling-queue-cleanup
Move unschedulablePods struct to a separate file
2025-07-14 03:44:23 -07:00
Kubernetes Prow Robot
111a2a0d2d Merge pull request #131850 from wongchar/odd-integer-cpu
cpumanager: uncorecache alignment for odd integer cpus
2025-07-14 00:32:23 -07:00
Kubernetes Prow Robot
30905afc24 Merge pull request #132920 from ylink-lfs/chore/maxptr_removal
chore: maxPtr utility removal with ptr.To
2025-07-13 22:24:22 -07:00
ylink-lfs
14d1bbf36f chore: maxPtr utility removal with ptr.To 2025-07-14 09:08:16 +08:00
Kubernetes Prow Robot
12dc894f80 Merge pull request #127322 from vrutkovs/tracing-set-audit-id
tracing: set audit-id on incoming requests
2025-07-13 17:58:23 -07:00
Kubernetes Prow Robot
5209b41328 Merge pull request #132889 from macsko/disable_schedulerasyncpreemption_feature_correctly_in_schedulerintegration_tests
Disable SchedulerAsyncPreemption feature correctly in integration tests
2025-07-13 13:18:22 -07:00
Daman Arora
fcb595a2df service-ip-alloc: delay ip processing on service recreate
Service storage implements transactions. It creates an IPAddress object first and then creates
the Service object, and if the Service object already exists the complete transaction is
reverted. There can be race conditions when the repair loop picks up the new IPAddress object
for reconciliation before the transaction is reverted. This leads to spurious
IPAddressWrongReference warnings, to suppress these warnings we delay the processing of the new
IPAddress object by 5 seconds. The service allocation creates the IPAddress object before creating
the Service object, we easily identify this scenario when the IPAddress object creation timestamp
is after the Service creation timestamp. We do this only when the IPAddress object is created
recently in order to avoid indefinitely requeue/delay in IPAddress cleanup if for some reason
the service transaction revert fails.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-07-14 00:31:53 +05:30
Daman Arora
8de14b526e service-ip-alloc: make repair loop consumer clock interface
The private constructor for the repair loop now consumes clock.Clock interface allowing
predictable unit testing.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-07-13 23:51:48 +05:30
Kubernetes Prow Robot
4eecdc4cc6 Merge pull request #132915 from serathius/fix-test-progress-notify
Fix TestProgressNotify for etcd v3.6.2
2025-07-13 07:14:22 -07:00
Marek Siarkowicz
e383617284 Fix TestProgressNotify for etcd v3.6.2 2025-07-13 12:42:45 +02:00
Kubernetes Prow Robot
07f3e2f01b Merge pull request #132907 from PatrickLaabs/132749-boolPtrFn
chore: removed boolPtrFn helpers with ptr package implementation
2025-07-12 20:04:28 -07:00
Kubernetes Prow Robot
2b7de3ba74 Merge pull request #132469 from yongruilin/master_vg_ratcheting-list
feat(validation-gen): Enhance validation with new rules and core refactoring
2025-07-12 20:04:21 -07:00
Kubernetes Prow Robot
20114b2090 Merge pull request #132878 from ylink-lfs/chore/int32ptr_removal
chore: replace int32Ptr usage with ptr.To
2025-07-12 18:18:21 -07:00
ylink-lfs
e0f9914ef7 chore: replace int32Ptr usage with ptr.To 2025-07-13 08:12:55 +08:00
Kubernetes Prow Robot
3fc199b059 Merge pull request #132905 from ylink-lfs/chore/intptr_removal
chore: intPtr utility removal with ptr.To
2025-07-12 16:31:43 -07:00
yongruilin
cf4912eb4e chore(validation-gen): reorder imports 2025-07-12 21:18:59 +00:00
yongruilin
419e70b763 run update-codegen
Co-authored-by: Tim Hockin <thockin@google.com>
Co-authored-by: Aaron Prindle <aprindle@google.com>
Co-authored-by: Joe Betz <jpbetz@google.com>
2025-07-12 21:18:59 +00:00
Aaron Prindle
4c8f489b81 add +k8s:neq tests 2025-07-12 21:18:59 +00:00
Aaron Prindle
fc1c832c49 feat: add +k8s:neq tag which enforces field is neq to a specified comparable value 2025-07-12 21:18:59 +00:00
yongruilin
fb971325c3 feat(validation-gen): add new test cases for item validation
Co-authored-by: Aaron Prindle <aprindle@google.com>
2025-07-12 21:18:59 +00:00
yongruilin
5cc2721f6c feat(validation-gen): add k8s:item
- Added new validation functions for items in slices and maps, allowing for flexible matching and validation based on specified criteria.
- Introduced `SliceItem` function to handle item validation logic, including support for matching and validating based on unique identifiers.

Co-authored-by: Aaron Prindle <aprindle@google.com>
2025-07-12 21:18:57 +00:00
yongruilin
af05aa61d9 feat: Add validation ratcheting for subfields tag 2025-07-12 21:16:48 +00:00
yongruilin
daef13ecc3 chore: improve error rendering and add unit tests for ErrorMatcher 2025-07-12 21:16:48 +00:00
yongruilin
f40ee6f996 feat(validation-gen): add new test cases for validation of slices and maps 2025-07-12 21:16:48 +00:00
yongruilin
b059bb5514 feat(validation-gen): enhance validation functions for slices and maps
- Introduced MatchFunc type for flexible comparison in EachSliceVal and EachMapVal.
- Support ratcheting for list(eachSliceVal)
- Support ratcheting for map(eachMapVal)
- Added new test cases for various comparable and non-comparable structures.
- Improved error handling and validation checks in the validation generation process.

Co-authored-by: Tim Hockin <thockin@google.com>
Co-authored-by: Aaron Prindle <aprindle@google.com>
2025-07-12 21:16:48 +00:00
yongruilin
0b1fa64a92 refactor(validation-gen): streamline type validation logic
- Consolidated type validation checks into a new  function for improved readability and maintainability.
- Updated the  method to utilize the new validation function, simplifying error handling for unsupported types.
- Removed redundant code related to pointer and map validations, enhancing clarity in the validation process.
- Adjusted test cases in  to reflect changes in type handling and ensure consistency with the new validation logic.

Co-authored-by: Tim Hockin <thockin@google.com>
Co-authored-by: Aaron Prindle <aprindle@google.com>
Co-authored-by: Joe Betz <jpbetz@google.com>
2025-07-12 21:16:48 +00:00