Commit graph

55057 commits

Author SHA1 Message Date
Michael Aspinwall
f18f0df7fe Add the ability for the replicaset controller to read its own writes 2026-02-25 17:15:53 +00:00
Kubernetes Prow Robot
c6d1649721
Merge pull request #137226 from tchap/selinuxwarning-reverse-index
controller/selinuxwarning/cache: Add reverse index to speed up DeletePod
2026-02-25 21:16:34 +05:30
Kubernetes Prow Robot
9f65538a35
Merge pull request #137224 from tchap/conflicts-parsed
controller/selinuxwarning: Pre-parse SELinux label
2026-02-25 16:27:50 +05:30
Ondra Kupka
911a61d050 controller/selinuxwarning/cache: Add reverse index
Added podToVolumes reverse index to optimize DeletePod.
Currently we simply iterate through all the volumes and remove the pod
being deleted from there. This is inefficient and takes longer the
longer the volume list becomes.

Keeping a map pod -> volumes makes removing a pod fast. We can just jump
to the relevant volumes directly and remove the pod from there.
2026-02-25 11:38:50 +01:00
Kubernetes Prow Robot
7b7c291631
Merge pull request #137210 from michaelasp/consistentJobController
Add the ability for the job controller to read its own writes
2026-02-25 07:51:34 +05:30
Michael Aspinwall
61d0dd30fb Add the ability for the job controller to read its own writes 2026-02-25 01:19:48 +00:00
Kubernetes Prow Robot
87257b7e44
Merge pull request #136630 from lalitc375/dv-testing-utils
validation: add FromImperative field to track source of validation errors
2026-02-25 05:03:33 +05:30
Kubernetes Prow Robot
6457593fdf
Merge pull request #136215 from darthsuburbus/dec-validation-ipaddress
ipaddress: migrate parentref validation to DV
2026-02-25 03:05:35 +05:30
Kubernetes Prow Robot
862b0673c2
Merge pull request #136959 from natasha41575/allocated_status_cleanup
remove the InPlacePodVerticalScalingAllocatedStatus feature gate
2026-02-25 00:47:35 +05:30
Your Name
3b5298f0a4 Fix resource claim DV 2026-02-24 18:36:47 +00:00
Your Name
12a6d300c6 Change strategy.go utils to mark handwritten validation errors properly 2026-02-24 18:33:14 +00:00
Kubernetes Prow Robot
0ef4f38784
Merge pull request #136900 from itzPranshul/rbac-optionalorrequired
KAL:enforce `optionalorrequired` on rbac API group
2026-02-24 23:43:34 +05:30
Ondra Kupka
a34456319d controller/selinuxwarning: Pre-parse SELinux label
When calling ControllerSELinuxTranslator.Conflicts(), the SELinux label
is repeatedly split into []string to detect conflicts. This causes a huge
number of allocations when there are many comparisons.

This is now made more efficient by pre-parsing the SELinux label and
storing it in podInfo as [4]string for fast comparison when needed.
2026-02-24 18:08:36 +01:00
Kubernetes Prow Robot
33c0645126
Merge pull request #137211 from lalitc375/cleanup
Move storageversionhashdata variables to instance_test.go
2026-02-24 21:59:37 +05:30
Kubernetes Prow Robot
ea70974a08
Merge pull request #137098 from yuanwang04/fix-container-swap-metrics
Fix container swap metrics
2026-02-24 12:57:36 +05:30
Kubernetes Prow Robot
4179ebc3d6
Merge pull request #136822 from itzPranshul/storage-class
Validationo-gen: Migrate handwritten validation to declarative validation in StorageClass
2026-02-24 11:05:34 +05:30
pranshul gupta
c58755863c applying feedback 2026-02-24 09:49:11 +05:30
Your Name
dc4b3beeb0 Move storageversionhashdata variables to instance_test.go
This addresses a PR review comment to clean up storageversionhashdata which is only used in tests by moving its contents directly into the test file where they are used and making them private.
2026-02-23 22:20:44 +00:00
Kubernetes Prow Robot
85e4e386d4
Merge pull request #137171 from liggitt/component-helpers-deps
Clean up direct external dependencies from component-helpers
2026-02-24 02:23:35 +05:30
Kubernetes Prow Robot
60433d43cf
Merge pull request #137200 from tosi3k/was-wap-feature-gate
KEP-5710: Add WorkloadAwarePreemption feature gate
2026-02-23 20:59:44 +05:30
Kubernetes Prow Robot
dd63fd859c
Merge pull request #137139 from Argh4k/137125-hotfix
Pass pod from cache to updatePod in handleSchedulingFailure
2026-02-23 19:27:36 +05:30
Antoni Zawodny
ee5f014e51 KEP-5710: Add WorkloadAwarePreemption feature gate 2026-02-23 14:05:27 +01:00
Maciej Skoczeń
1a1d4f60a8 Fix nil pointer dereference in submitPodGroupAlgorithmResult 2026-02-23 08:03:41 +00:00
Abhishek Srivastava
ed083ab6b7 add declarative validation tests for ipaddress 2026-02-22 06:53:56 -08:00
Kubernetes Prow Robot
8bfda5d315
Merge pull request #135313 from oduludo/enable-commentstart-apiserverinternal
commentstart lint fixes for apiserverinternal API group
2026-02-22 00:37:38 +05:30
Maciej Wyrzuc
314d92f535 Pass pod from cache to updatePod in handleSchedulingFailure 2026-02-21 12:51:44 +00:00
Ludo van Orden
156fc7981c
updated generated code 2026-02-21 11:06:20 +01:00
Kubernetes Prow Robot
b5c9cada55
Merge pull request #137008 from srhppr/fix/podcertificate-owner-reference-apiversion
[KEP 4317] Fix incorrect APIVersion in PodCertificateRequest OwnerReference
2026-02-21 02:53:41 +05:30
Jordan Liggitt
4ab6ae2a59
Drop direct use of github.com/stretchr/testify in component-helpers 2026-02-20 14:50:15 -05:00
Kubernetes Prow Robot
c01e10790a
Merge pull request #137169 from danwinship/revert-nftables-fix
Revert nftables fix for nftables 1.1.3
2026-02-20 23:51:56 +05:30
Kubernetes Prow Robot
322525229f
Merge pull request #137121 from liggitt/quota-resource
Make admission quota evaluator initialization conditional on resource serving
2026-02-20 23:51:48 +05:30
Kubernetes Prow Robot
4c84ef5a07
Merge pull request #135226 from tallclair/TestUpdatePodFromAllocation
Improve test coverage of UpdatePodFromAllocation
2026-02-20 23:51:40 +05:30
Jordan Liggitt
2c9ccde2d0
Make quota evaluators in admission conditional on enabled resources 2026-02-20 11:34:33 -05:00
Jordan Liggitt
a64caab38f
Make API group enablement accurate for generic API server 2026-02-20 11:34:33 -05:00
Kubernetes Prow Robot
15a2107890
Merge pull request #136392 from skitt/unsupported-typo
Align IsWatchListSemanticsUnSupported comment
2026-02-20 20:17:41 +05:30
Dan Winship
ea8bad22e6 Revert "pkg/proxy/nftables: fix kube-proxy crash with newer nftables versions"
This reverts commit 72ef5b34a8.
2026-02-20 08:28:25 -05:00
Patrick Ohly
2b18086a25 DRA scheduler: update logging
The assume cache logs adding assumed claims at V(4) but there wasn't anything
about in-flight claims in the log for a scheduling failure where the same
device was allocated twice (https://github.com/kubernetes/kubernetes/issues/133602).

Debugging that issue depends on seeing all changes related to assume cache
changes (not just the single "Assumed object") and in-flight claims. We could
make them all V(4) (= "debug level") but they seem more appropriate for V(5) (=
"trace level"), so the assume cache verbosity gets toned down to that.
2026-02-20 08:05:23 +01:00
Patrick Ohly
e6d9cbf729 DRA scheduler plugin: increase test coverage
Line coverage isn't much better (81.3% -> 81.8%) but it's not clear whether "in
flight claims" were considered by any test case.
2026-02-20 07:58:58 +01:00
Tim Allclair
c9d3f97008 Improve test coverage of UpdatePodFromAllocation 2026-02-20 00:59:17 +00:00
Kubernetes Prow Robot
f3c452e8f4
Merge pull request #137128 from brejman/tas-feature-gate
KEP-5732: Add TopologyAwareWorkloadScheduling feature gate
2026-02-20 05:09:38 +05:30
Kubernetes Prow Robot
4f87013946
Merge pull request #136330 from atombrella/feature/modernize_slicescontains
Simplify pkg/volume with slices.Contains.
2026-02-20 03:31:38 +05:30
Kubernetes Prow Robot
855ee92e19
Merge pull request #133407 from richabanker/mvp-egress-dialer
Add egress dialer to proxyClientConfig for Mixed Version Proxy
2026-02-20 01:45:43 +05:30
Kubernetes Prow Robot
8812ec563c
Merge pull request #134353 from skitt/drop-string-slice
Deprecate obsolete slice utility functions
2026-02-20 00:57:41 +05:30
Richa Banker
50d2f0fce1 Add egress dialer to proxyClientConfig for Mixed Version Prpxy 2026-02-19 10:10:24 -08:00
Kubernetes Prow Robot
6adb2afe55
Merge pull request #134937 from michaelasp/pocConsistentDs
Daemonset controller staleness detection
2026-02-19 23:11:38 +05:30
Michael Aspinwall
65eb0e94c2 Daemonset Consistency
Add the ability for the daemonset controller to figure out whether it has read its own writes for pods and daemonset objects.
2026-02-19 16:53:19 +00:00
Bartosz
2fdc032273
Add feature gate for TopologyAwareWorkloadScheduling 2026-02-19 13:32:22 +00:00
Abhishek Srivastava
864c54f658 add validation fields and generated code for v1 and v1beta1 2026-02-18 21:41:09 -08:00
Abhishek Srivastava
bc5a776669 add an empty dec validation test for ipaddress 2026-02-18 21:20:40 -08:00
Your Name
66a7bd6de6 Fix TestEtcdStoragePath for MutatingAdmissionPolicy emulation
This commit fixes a failure in TestEtcdStoragePath when emulating version 1.34. The test failure was caused by the removal of alpha versions from the test data during emulation, which prevented 'storageVersionAtEmulationVersion' from correctly resolving the storage version for MutatingAdmissionPolicy (which relies on v1alpha1 in this compatibility mode).

Changes:

- Updated GetEtcdStorageDataServedAt in test/integration/etcd/data.go to pass a full copy of etcdStorageData (including alpha versions) to storageVersionAtEmulationVersion.

- Added ExpectedGVK to MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding in test/integration/etcd/data.go to ensure correct version resolution during tests.

- Removed explicit storage version overrides for MutatingAdmissionPolicy in pkg/kubeapiserver/default_storage_factory_builder.go as part of the graduation process.
2026-02-18 18:33:22 +00:00