Commit Graph

131364 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
f583305e31 Merge pull request #132651 from iholder101/swap/ga
GA the NodeSwap feature gate
2025-07-18 09:48:26 -07:00
Kubernetes Prow Robot
31f31debcb Merge pull request #133058 from michaelasp/fixpointer
fix: Compare versions instead of pointer comparison in emulated version warning
2025-07-18 08:38:26 -07:00
Kubernetes Prow Robot
c225af9d11 Merge pull request #133047 from pohly/test-integration-scheduler-startup
scheduler integration: fail test instead of existing
2025-07-18 07:16:32 -07:00
Kubernetes Prow Robot
20b601c369 Merge pull request #132722 from imroc/fix-zero-mask
fix(kube-proxy) avoid add zero-masked loadBalancerSourceRanges to ipet
2025-07-18 07:16:26 -07:00
Michael Aspinwall
f5d12ed39a fix: Compare versions instead of pointer comparison 2025-07-18 14:10:45 +00:00
Kubernetes Prow Robot
963a9acb6d Merge pull request #131989 from tallclair/apparmor-cleanup
Apparmor cleanup
2025-07-18 03:46:25 -07:00
Patrick Ohly
729cd583ad scheduler integration: fail test instead of existing
Calling klog.FlushAndExit causes the `go test` binary to quit
without properly recording which test failed. Both callers of
StartScheduler already have a ktesting.TContext, so switching
to that is easy and also reduces the number of parameters.
2025-07-18 09:43:04 +02: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
a32768df77 Merge pull request #133016 from aramase/aramase/f/kep_4412_kubelet_config_metric
Add `kubelet_credential_provider_config_info` metric
2025-07-17 19:36:24 -07:00
roc
bfa33b18a0 fix(kube-proxy) avoid add zero-masked loadBalancerSourceRanges to ipset
Signed-off-by: roc <roc@imroc.cc>
2025-07-18 09:55:39 +08:00
Anish Ramasekar
d6e85b504d Add kubelet_credential_provider_config_info metric
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-07-17 20:30:06 -05: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
4a80270b30 Merge pull request #133012 from tallclair/mem-lim-decrease
[FG:InPlacePodVerticalScaling] Support reducing memory limits
2025-07-17 17:10:39 -07:00
Kubernetes Prow Robot
843414555f Merge pull request #132983 from chengjoey/cleanup/allocation-manager
[FG:InPlacePodVerticalScaling] cleanup: fetch individual PodResourceInfo from allocated resource state
2025-07-17 17:10:32 -07:00
Kubernetes Prow Robot
99f55ae4ef Merge pull request #132662 from gnufied/bump-recovery-feature-ga
Bump recovery feature ga
2025-07-17 17:10:25 -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
6ad0ef4029 Merge pull request #132152 from natasha41575/complex-deferred-test
[FG:InPlacePodVerticalScaling] Add a more complex e2e test for deferred resizes
2025-07-17 15:58:31 -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
Tim Allclair
5f829195e6 Only warn when AppArmor annotation doesn't match pod field 2025-07-17 14:46:47 -07: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
Tim Allclair
e417232f92 Warn when using AppArmor annotations with a pod field 2025-07-17 14:07:35 -07:00
Tim Allclair
4fdf09fdc1 Stop syncing AppArmor fields to annotations 2025-07-17 14:07:35 -07:00
Tim Allclair
3ecb3d230f Remove unused appArmor*InUse functions 2025-07-17 14:07:35 -07:00
Tim Allclair
75ae2d727a Add an E2E test for memory limit decrease usage check 2025-07-17 13:17:35 -07:00
Tim Allclair
2a9388c303 Move memory limit decrease e2e test to success cases 2025-07-17 13:17:35 -07:00
Tim Allclair
c7a78185c2 Remove the restriction on memory limit decrease 2025-07-17 13:17:35 -07:00
Tim Allclair
d9c91127d0 Check memory usage before decreasing limits 2025-07-17 13:17:35 -07:00
Natasha Sarkar
465f728141 use gomega.BeComparableTo instead of Equal for resource quantity check in resize test 2025-07-17 20:09:05 +00: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
Natasha Sarkar
f456a70bde use CreateBatch and MakeResizePatch 2025-07-17 19:19:05 +00:00
Patrick Ohly
5cea72d564 DRA integration: add test case for FilterTimeout
This covers disabling the feature via the configuration, failing to schedule
because of timeouts for all nodes, and retrying after ResourceSlice changes with
partial success (timeout for one node, success for the other).

While at it, some helper code gets improved.
2025-07-17 21:18:28 +02:00
Patrick Ohly
241ac018e2 DRA integration: remove unnecessary anonymous import
It's unclear why k8s.io/kubernetes/pkg/apis/resource/install needs
to be imported explicitly. Having the apiserver and scheduler ready
to be started ensures that all APIs are available.
2025-07-17 21:18:28 +02: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
Natasha Sarkar
86bc1bf0a4 more complex e2e test for deferred resizes 2025-07-17 17:50:45 +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