Commit Graph

52967 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
0617903e9d Merge pull request #131344 from pohly/dra-taint-unit-test-flake-minimal
DRA: work around fake.ClientSet informer deficiency in unit test
2025-07-03 02:51:25 -07:00
Kubernetes Prow Robot
2a4b5f6476 Merge pull request #132314 from thockin/jp_nicer_api_errors
Nicer value rendering in API errors
2025-07-03 01:33:33 -07:00
Kubernetes Prow Robot
4186edc4d1 Merge pull request #132615 from mimowo/commonize-pod-indexing
Commonize filtering of Pods by Owner with all orphans in namespace
2025-07-02 02:03:32 -07:00
Kubernetes Prow Robot
a735818b7a Merge pull request #132533 from nojnhuh/dra-orphan-claim
DRA: fix deleting orphaned ResourceClaim on startup
2025-07-02 02:03:25 -07:00
Kubernetes Prow Robot
4dbfe24404 Merge pull request #132541 from acpana/acpana/helpers-tests
tests: add more units
2025-07-01 14:15:24 -07:00
Kubernetes Prow Robot
d3296eac97 Merge pull request #132614 from mimowo/fix-job-controller-edge
Fix validation for Job with suspend=true,completions=0 to set Complete condition
2025-07-01 12:43:24 -07:00
Kubernetes Prow Robot
77b5304f60 Merge pull request #132638 from ylink-lfs/chore/admissionregistration_utilpointer_removal
chore: remove utilpointer usage in package pkg/apis/admissionregistration
2025-07-01 11:35:31 -07:00
Kubernetes Prow Robot
5ba3235b1b Merge pull request #132529 from PatrickLaabs/132086-kubeapiserver
Replaced deprecated pointer pkg in pkg/kubeapiserver
2025-07-01 10:27:30 -07:00
Kubernetes Prow Robot
20141c8a92 Merge pull request #132648 from serathius/kep-5116-ga
Graduate streaming list encoding feature gates
2025-07-01 09:21:59 -07:00
Kubernetes Prow Robot
2ee568260f Merge pull request #132087 from ania-borowiec/move_code_and_status
Moving Scheduler interfaces to staging: Move Code and Status from pkg/scheduler/framework to k8s.io/kube-scheduler/framework
2025-07-01 09:21:38 -07:00
Kubernetes Prow Robot
a9841ca3b3 Merge pull request #131790 from chengjoey/fix/sts-validation
fix pod template spec validation missing in sts
2025-07-01 09:21:31 -07:00
Kubernetes Prow Robot
c3b06a5366 Merge pull request #131615 from danwinship/proxy-bfr
update BoundedFrequencyRunner for kube-proxy
2025-07-01 09:21:24 -07:00
Michal Wozniak
6d5e0bf2a2 review remarks 2025-07-01 16:59:19 +02:00
Antonio Ojea
459188ce25 Port BoundedFrequencyRunner from flowcontrol.RateLimiter to clock.Clock
Co-authored-by: Dan Winship <danwinship@redhat.com>
2025-07-01 08:54:14 -04:00
Dan Winship
eae17c21b0 Change how BoundedFrequencyRunner retries work
Rather than having a RetryAfter function, do a retry (at a fixed
interval) if the work function returns an error.

Co-authored-by: Antonio Ojea <aojea@google.com>
2025-07-01 08:54:14 -04:00
Dan Winship
c16ee887ef Remove burst syncs from BoundedFrequencyRunner
Burst syncs are theoretically useful for dealing with a single change
that results in multiple Run() calls (eg, a Service and EndpointSlice
both changing), but 2 isn't enough to cover all cases, and a better
way of dealing with this problem is to just use a smaller
minSyncPeriod.

Co-authored-by: Antonio Ojea <aojea@google.com>
2025-07-01 08:54:14 -04:00
Dan Winship
0298e04ea0 Updates to BoundedFrequencyRunner
- Use structured logging.
- Use t.Helper() in unit tests.
- Improve some comments.
- Remove an unnecessary check/panic.

Co-authored-by: Antonio Ojea <aojea@google.com>
2025-07-01 08:54:14 -04:00
Antonio Ojea
6da9d363f3 Copy BoundedFrequencyRunner to kube-proxy 2025-07-01 08:53:54 -04:00
Marek Siarkowicz
799aa8b2a8 Graduate streaming list encoding feature gates 2025-07-01 13:04:40 +02:00
Kubernetes Prow Robot
eb1b603cda Merge pull request #132472 from xiaoweim/validation-cleanup
Cleanup: Remove redundant detail messages in field.Required
2025-07-01 01:33:25 -07:00
Kubernetes Prow Robot
bc9a78479f Merge pull request #132465 from yongruilin/master_vg_fix-fuzz-test
fix: versioned validation test avoid incorrect conversion
2025-06-30 20:58:29 -07:00
ylink-lfs
764a8bc8b6 chore: remove utilpointer usage in package pkg/apis/admissionregistration 2025-07-01 09:10:58 +08:00
yongruilin
a55318fe14 fix: versioned validation test avoid incorrect conversion 2025-06-30 23:11:49 +00:00
Alex Pana
4c09aa9073 review: feedback
Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>
2025-06-30 22:53:40 +00:00
Kubernetes Prow Robot
b3341bd4ae Merge pull request #132544 from acpana/acpana/runtime-tests
tests: runtime units
2025-06-30 15:50:30 -07:00
Alex Pana
776382daa5 review: assert
Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>
2025-06-30 21:19:21 +00:00
Alex Pana
43f6bd45f5 review: assert
Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>
2025-06-30 21:06:47 +00:00
Kubernetes Prow Robot
201325e869 Merge pull request #132433 from michaelasp/configurablecle
feat: make CLE timers configurable
2025-06-30 12:08:31 -07:00
Michal Wozniak
6e5c99dd05 Review remarks 2025-06-30 13:18:53 +02:00
Kubernetes Prow Robot
e7b945737e Merge pull request #132574 from pohly/dra-kubelet-v1alpha4-removal
DRA kubelet: remove v1alpha4
2025-06-30 04:00:35 -07:00
Ania Borowiec
ee8c265d35 Move Code and Status from pkg/scheduler/framework to k8s.io/kube-scheduler/framework 2025-06-30 10:06:22 +00:00
Michal Wozniak
ac86e67b7d Commonize filtering of Pods by Owner with all orphans in namespace 2025-06-30 08:07:21 +02:00
Michal Wozniak
ca314b9f56 Fix validation for Job with suspend=true,completions=0 to set Complete condition 2025-06-30 07:58:04 +02:00
Huy Pham
b2f27c0649 fix: Truncate too long Deployment name in RS name (#132560)
* fix: Truncate too long Deployment name in RS name

* fix: lint & adjust unit tests

* fix: use const for "-" & unit tests

* Add test case for very long hash

* Explicitly define expected deployment name portion
2025-06-27 16:32:29 -07:00
Kubernetes Prow Robot
2e02a00885 Merge pull request #132438 from dims/golangci-plugin-for-sorting-feature-gates
golangci plugin for sorting feature gates
2025-06-27 12:08:30 -07:00
Kubernetes Prow Robot
6720f62d82 Merge pull request #131992 from lalitc375/master
Deprecate StreamingConnectionIdleTimeout field, that is not being us…
2025-06-27 11:00:34 -07:00
Davanum Srinivas
d50e1a684c Ensure all the files have the updated sorting
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-27 11:13:50 -04:00
joey
dfd34a5b18 fix pod template spec validation missing in sts
Signed-off-by: joey <zchengjoey@gmail.com>
2025-06-27 16:30:51 +08:00
Patrick Ohly
a57f15e081 DRA kubelet: remove v1alpha4
v1alpha4 was added in 1.31 and superseded by v1beta1 in 1.32. Since that
release, plugins are also required to advertise the supported gRPC services
during registration. In practice, all known DRA drivers use the helper code
from 1.32 or newer and thus don't need the legacy support.
2025-06-27 10:06:50 +02:00
Jon Huhn
f1845218e2 fixup! DRA: fix deleting orphaned ResourceClaim on startup 2025-06-26 23:21:18 -05:00
xiaoweim
8632257c93 Cleanup: Remove redundant detail messages in field.Required 2025-06-26 21:24:43 +00:00
Kubernetes Prow Robot
b7c9333f5c Merge pull request #131837 from sreeram-venkitesh/static-pod-strict-validation-for-api-object-reference
Deny pod admission for static pods referencing API objects
2025-06-26 12:18:30 -07:00
Alex Pana
e82d4f8e55 review: feedback
Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>
2025-06-26 18:25:42 +00:00
Kubernetes Prow Robot
efd2a0d1f5 Merge pull request #132351 from googs1025/fix/hpa_memory
bugfix(hpa): introduce buildQuantity helper for consistent resource quantity
2025-06-26 11:02:35 -07:00
Kubernetes Prow Robot
7c548c9d9e Merge pull request #132231 from czeslavo/fix-outdated-volumes-links
Fix outdated links in VolumeSource godocs
2025-06-26 11:02:28 -07:00
Ania Borowiec
00d3750503 Move ClusterEvent type to staging repo, leaving some functions (that contain logic internal to scheduler) in kubernetes/kubernetes (#132190)
* Move ClusterEvent type to staging repo, leaving some functions (that contain logic internal to scheduler) in kubernetes/kubernetes

apply review comment and fix linter warning

* update-vendor.sh

* update doc comments

* run update-vendor.sh
2025-06-26 08:06:29 -07:00
Kubernetes Prow Robot
bc8491416d Merge pull request #132487 from macsko/add_schedulerasyncapicalls_feature_flag
KEP-5229: Add SchedulerAsyncAPICalls feature gate
2025-06-26 05:54:36 -07:00
Kubernetes Prow Robot
0256361813 Merge pull request #132355 from serathius/apf_estimate_size
Estimate average size of objects in etcd and plug it into request cost estimator
2025-06-26 05:54:28 -07:00
Kubernetes Prow Robot
dcefe0ef41 Merge pull request #132058 from pohly/dra-kubelet-connection-monitoring
DRA kubelet: connection monitoring
2025-06-26 03:40:29 -07:00
Kubernetes Prow Robot
b3e438aef9 Merge pull request #132220 from BenTheElder/a-little-owners-cleanup
emeritus spiffxp and backfill OWNERS
2025-06-25 19:16:28 -07:00