Commit Graph

23798 Commits

Author SHA1 Message Date
yongruilin
437a2ad693 feat: Add func to export the supportedVersionedFormats
Implemented GetUnrecognizedFormats to identify unrecognized formats in schemas based on compatibility version. Added unit tests to validate various scenarios, including recognized and unrecognized formats across different versions.
2025-07-22 23:23:55 +00:00
Kubernetes Prow Robot
ae21e81ae7 Merge pull request #132704 from p0lyn0mial/upstream-enable-watchlist
Promote WatchList feature to Beta
2025-07-21 11:58:27 -07:00
Šimon Lukašík
7e5aafcb16 ci: remove unnecessary test harness
This TestMain() is equivalent to not having any TestMain() at all.

This is the only such instance in whole repo.
2025-07-21 13:47:22 +02:00
Kubernetes Prow Robot
8e12e795d0 Merge pull request #133076 from pohly/dra-client-conversion-fix
DRA: fix conversion of watch
2025-07-20 12:52:29 -07:00
Kubernetes Prow Robot
1160ce69e1 Merge pull request #132771 from aramase/aramase/f/kep_4412_with_2535
Enable image pull credential verification with service account–based credential providers
2025-07-19 13:22:46 -07:00
Patrick Ohly
d0fc938a07 DRA client: fix conversion of watch channel
When the input channel gets closed (for example, because the apiserver got shut
down), then the output channel also needs to get closed because that triggers
the next round of List+Watch.

Also, the channel is used to transmit errors, so it can happen that non-data
items need to be forwarded. That is not an error that needs to be logged.
2025-07-19 11:38:21 +02:00
Patrick Ohly
f77ce8951e DRA: debug output for list/watch client
Upgrade/downgrade testing after the DRA GA graduation gets stuck because the
ResourceSlice controller's informer doesn't pick up that the ResourceSlice got
deleted.

This additional log output shows a List+Watch after a watch got closed due to a
disconnect from the apiserver, so right now everything is working as expected.
2025-07-19 11:38:12 +02:00
Kubernetes Prow Robot
792061af02 Merge pull request #133030 from PatrickLaabs/132749-timerptr
chore: replacing timer ptr with ptr.To
2025-07-18 19:16:32 -07:00
Anish Ramasekar
f1728bd584 Add ServiceAccount coordinates to ImagePullCredentials v1alpha1
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-07-18 16:38:27 -05:00
Kubernetes Prow Robot
bfc6d87ac1 Merge pull request #133053 from serathius/jitter
Add jitter to priodically executed processes in storage to avoid too many concurrent executions
2025-07-18 14:08:32 -07:00
Kubernetes Prow Robot
0e9679d5cb Merge pull request #131700 from cici37/celList
Add support for CEL ext lists library
2025-07-18 14:08:25 -07:00
Kubernetes Prow Robot
6281a07cf9 Merge pull request #133061 from serathius/apf_list
Account for caching and maximum object size when estimating LIST request
2025-07-18 12:12:33 -07:00
cici37
8a42f4ccce Add support for CEL list library.
Signed-off-by: Cici Huang <cicih@google.com>
2025-07-18 11:55:23 -07:00
Kubernetes Prow Robot
4b263baea1 Merge pull request #133027 from saschagrunert/podresources-proto
Convert `k8s.io/kubelet/pkg/apis/podresources` from gogo to protoc
2025-07-18 10:54:32 -07:00
Marek Siarkowicz
79dc0b8a41 Add jitter to priodically executed process in storage to avoid too concurrent executions 2025-07-18 19:38:56 +02:00
Marek Siarkowicz
99059895f4 Account for caching and maximum object size when estimating LIST request 2025-07-18 17:53:23 +02:00
Michael Aspinwall
f5d12ed39a fix: Compare versions instead of pointer comparison 2025-07-18 14:10:45 +00:00
Kubernetes Prow Robot
abbee0108d Merge pull request #133018 from rushmash91/add-port-names-to-describe-pod
kubectl: add port names to describe pod output
2025-07-18 00:18:27 -07:00
Kubernetes Prow Robot
de66ad53ab Merge pull request #132378 from bartoszmajsak/gobin-fix
codegen tool: resolves GOBIN via `go env`
2025-07-17 20:50:24 -07:00
Kubernetes Prow Robot
033ffc73d6 Merge pull request #132299 from aramase/aramase/f/authn_config_hash_metric
Add `last_config_info` metric for authn, authz and encryption config
2025-07-17 18:24:24 -07:00
Kubernetes Prow Robot
d7cce80685 Merge pull request #133040 from sunnylovestiramisu/fixDescription
Update VolumeAttributesClass API Description
2025-07-17 15:58:59 -07:00
Kubernetes Prow Robot
9cbc1328fa Merge pull request #133038 from yongruilin/master_vg-hold-listmap-unique
chore(validation-gen): hold uniqueness check of listmap
2025-07-17 15:58:52 -07:00
Kubernetes Prow Robot
57a32e885c Merge pull request #133034 from serathius/apf_maxseats
Increase maxSeats for List requests
2025-07-17 15:58:45 -07:00
Kubernetes Prow Robot
c72ff99928 Merge pull request #133010 from cici37/promote-Cel
Bump cel-go to v0.26.0
2025-07-17 15:58:38 -07:00
Kubernetes Prow Robot
27ef1d4eed Merge pull request #132033 from pohly/dra-scheduler-filter-timeout
DRA scheduler: implement filter timeout
2025-07-17 15:58:24 -07:00
Anish Ramasekar
21e2fcea9e Add automatic_reload_last_config_info metric for auth configs
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-07-17 17:47:51 -05:00
Anish Ramasekar
f2c48ffec9 Add generic config info custom collector
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-07-17 16:32:47 -05:00
Kubernetes Prow Robot
356d0b9f18 Merge pull request #132965 from serathius/metrics-storage-objects
Deprecate apiserver_storage_objects and replace it with apiserver_resource_objects metric using labels consistent with other metrics
2025-07-17 14:18:31 -07:00
Kubernetes Prow Robot
3dd0e86190 Merge pull request #132821 from cici37/mapBeta
[KEP-3962]Promote MutatingAdmissionPolicy to Beta
2025-07-17 14:18:24 -07:00
Cici Huang
cedcbfb94c Update cel-go to v0.26.0 2025-07-17 20:09:03 +00:00
Kubernetes Prow Robot
95881ef726 Merge pull request #133035 from cici37/test
Fix cel cost
2025-07-17 12:28:25 -07:00
Patrick Ohly
bc338e7505 DRA scheduler: implement filter timeout and cancellation
The intent is to catch abnormal runtimes with the generously large default
timeout of 10 seconds.

We have to set up a context with the configured timeout (optional!), then
ensure that both CEL evaluation and the allocation logic itself properly
returns the context error. The scheduler plugin then can convert that into
"unschedulable".

The allocator and thus Filter now also check for context cancellation by the
scheduler. This happens when enough nodes have been found.
2025-07-17 21:18:28 +02:00
yongruilin
430c79b53f chore(validation-gen): hold uniqueness check of listmap 2025-07-17 19:03:35 +00:00
Sunny Song
1745094c40 Update VolumeAttributesClass API Description 2025-07-17 18:40:01 +00:00
Cici Huang
2cb30c7794 Refactor target check 2025-07-17 18:22:15 +00:00
Kubernetes Prow Robot
34b9a9958d Merge pull request #133008 from aaron-prindle/master-pr-vg-union-tags-and-item-tag-chaining-support
feat(validation-gen): Add union validation rule tags and enable +k8s:item chaining to union tags
2025-07-17 10:46:25 -07:00
Kubernetes Prow Robot
eac9332c23 Merge pull request #133022 from cpanato/update-rules
update go version for publishing bot rules
2025-07-17 09:38:32 -07:00
Kubernetes Prow Robot
7931915296 Merge pull request #132849 from kei01234kei/update_lease_resource_version_before_update_lease
Prevent the failure of releasing the lock by updating the resource version in case of the resource conflict
2025-07-17 09:38:25 -07:00
Marek Siarkowicz
66de1960a5 Increase maxSeats for List requests 2025-07-17 18:13:10 +02:00
Patrick Ohly
025c606e39 DRA scheduler: add plugin configuration
The only option is the filter timeout.
The implementation of it follows in a separate commit.
2025-07-17 16:47:47 +02:00
Kubernetes Prow Robot
d33af7f7ef Merge pull request #133020 from pohly/apimachinery-list-map-keys
support optional listMapKeys in server-side apply
2025-07-17 06:34:24 -07:00
Keisuke Ishigami
300c7b815a set the timeout to Get method 2025-07-17 22:33:32 +09:00
PatrickLaabs
2b13b87e60 chore: replacing timer ptr with ptr.To 2025-07-17 15:11:55 +02:00
Sascha Grunert
532d48fe6a Convert k8s.io/kubelet/pkg/apis/podresources from gogo to protoc
Use standard protoc for the pod resources instead of gogo.

Part of kubernetes#96564

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-07-17 14:56:44 +02:00
Marek Siarkowicz
cf68f75fc3 Deprecate apiserver_storage_objects and replace it with apiserver_resource_objects metric using labels consistent with other metrics 2025-07-17 14:30:16 +02:00
Kubernetes Prow Robot
71b8ad965e Merge pull request #132976 from yliaog/allocator
refactor allocator, removed claimsToAllocate from NewAllocator(), instead, passed it through Allocate()
2025-07-17 01:48:31 -07:00
Kubernetes Prow Robot
051cf278cf Merge pull request #131293 from skitt/typo-watchAction
Typo fix: watchActcion
2025-07-17 01:48:24 -07:00
Carlos Panato
ace2a22492 drop rules for release-1.30 as it is EOL
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-07-17 10:17:30 +02:00
Carlos Panato
6737c31d0f update publishing bot go rules for release-1.31/1.32
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-07-17 10:12:19 +02:00
Patrick Ohly
a1a85ddb16 SSA: test optional map keys
As of structured-merge-diff v6.3.0, list map keys may be optional, as long as
at least one key is provided.
2025-07-17 09:56:28 +02:00