Commit Graph

23778 Commits

Author SHA1 Message Date
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
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
Jordan Liggitt
4d34975a46 sigs.k8s.io/structured-merge-diff/v6 v6.3.0 2025-07-17 09:56:28 +02:00
Patrick Ohly
3357e8fc05 SSA: add integration tests
test/integration/apiserver/apply covers the behavior of server-side-apply (SSA)
for official APIs. But there seem to be no integration tests which cover the
semantic of SSA like adding/removing/updating entries in a list map. This adds
such a test.

It needs an API which is under control of the test and uses
k8s.io/apimachinery/pkg/apis/testapigroup for that purpose, with some issues
fixed (OpenAPI code generation complained) and a new list map added.

Registering that API group in the apiserver needs a REST storage and
strategy. The API group only gets added in the test. However, the production
code has to know about it. In particular,
pkg/generated/openapi/zz_generated.openapi.go has to describe it.
2025-07-17 09:56:28 +02:00
arush sharma
1d0fd59288 kubectl: add port names to describe pod output 2025-07-17 00:16:01 -07:00
Kubernetes Prow Robot
7ff59e8507 Merge pull request #132936 from cici37/mapMetrics
Remove redundant metric field
2025-07-16 18:56:45 -07:00
Tristan Swadell
6e7e6b37c7 Fix the cost issue to match the bug fix for target being nil in CEL side. 2025-07-17 01:37:22 +00:00
Aaron Prindle
e8536c0191 add item + union and item + zeroroneof output tests 2025-07-16 22:38:45 +00:00
Aaron Prindle
be72d963b8 add validate/zeroorone_test.go and add +k8s:zeroOrOneOfMember output tests 2025-07-16 22:38:45 +00:00
Aaron Prindle
10b20852e3 feat(validation-gen): add +k8s:zeroOrOneOfMember tag validator and associated validate method 2025-07-16 22:38:45 +00:00
Aaron Prindle
81f18759e6 add validate/union_test.go and add +k8s:unionMember and +k8s:unionDiscriminator output tests 2025-07-16 22:38:44 +00:00
Aaron Prindle
5bc9b69114 feat(validation-gen): add +k8s:unionMember and +k8s:unionDiscriminator tag validators and associated validate methods 2025-07-16 22:38:44 +00:00
Aaron Prindle
bfb42fc31c refactor item.go with buildMatchConditions, make itemTagValidator a LateTagValidator 2025-07-16 22:38:44 +00:00
Aaron Prindle
5d1c5ebd8c add ParentPath to context, remove Parent from context and plumb changes in validators 2025-07-16 22:38:32 +00:00
Aaron Prindle
c50da38aa1 allow field validators to generate variables 2025-07-16 22:33:58 +00:00
Kubernetes Prow Robot
c462949a7c Merge pull request #132969 from liggitt/conversion-gen-equality
fix conversion-gen memory equality test
2025-07-16 15:28:30 -07:00
Kubernetes Prow Robot
81986595c8 Merge pull request #132893 from serathius/resource-size
Add apiserver_resource_size_estimate_bytes metric
2025-07-16 15:28:23 -07:00
Kubernetes Prow Robot
de97faf7ac Merge pull request #132598 from bart0sh/PR182-DRA-handle-serving-failures
DRA plugin: handle gRPC serving failures
2025-07-16 14:18:24 -07:00
Kubernetes Prow Robot
2fdba619ab Merge pull request #132979 from ylink-lfs/chore/residual_intptr_removal
chore: residual intptr removal with ptr.To
2025-07-16 12:12:38 -07:00
Kubernetes Prow Robot
47f1bb2b22 Merge pull request #132950 from serathius/apf_recursive
Use object size estimation for non-recursive list
2025-07-16 12:12:31 -07:00
Kubernetes Prow Robot
5df27c4922 Merge pull request #132833 from saschagrunert/kms-gogo
Convert `k8s.io/kms/apis` from gogo to protoc
2025-07-16 12:12:24 -07:00