Commit Graph

131344 Commits

Author SHA1 Message Date
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
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
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
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
Patrick Ohly
ee38a00131 DRA scheduler: add DRASchedulerFilterTimeout feature gate
Initializing the scheduler Features struct will be needed in different places,
therefore NewSchedulerFeaturesFromGates gets introduced. Besides, having it
next to the struct makes it easier to add new features.

The DRASchedulerFilterTimeout feature gate simplifies disabling the timeout
because setting a feature gate is often easier than modifying the scheduler
configuration with a zero timeout value.

The timeout and feature gate are new. The gate starts as beta and enabled by
default, which is consistent with the "smaller changes with low enough risk
that still may need to be disabled..." guideline.
2025-07-17 16:47:47 +02:00
Patrick Ohly
837ef29f5a scheduler: enhance and document Filter cancellation
When using context.CancelCause in the scheduler and context.Cause in plugins,
the status returned by plugins is more informative than just "context
canceled".

Context cancellation itself is not new, but many plugin authors probably
weren't aware of it because it wasn't documented.
2025-07-17 16:47:47 +02:00
Patrick Ohly
7910b43cd3 scheduler_perf: document benchstat usage
With benchstat it's easy to do before/after comparisons, but the section for
running benchmark didn't mention it at all and didn't work as shown there:
- benchmark results must be printed (FULL_LOG)
- timeout might have been too short (KUBE_TIMEOUT)
- only "short" benchmarks ran (SHORT)
- klog log output must be redirected (ARTIFACTS)
2025-07-17 16:47:46 +02:00
Kubernetes Prow Robot
84cacae704 Merge pull request #133023 from carlory/fix-132838
kubeadm should generate default etcd command based on etcd version
2025-07-17 06:34:31 -07: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
b2d7149090 Merge pull request #133011 from ylink-lfs/chore/residual_int64ptr_removal
chore: remove residual int64ptr usage with ptr.To
2025-07-17 02:58:24 -07:00
carlory
cef9f9edb6 kubeadm: fix a bug where it should generate default etcd command based on etcd version when the etcd image tag supports semver 2025-07-17 16:58:58 +08: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