Marek Siarkowicz
7da942ca74
Change precedence order for continue and legacy exact match
...
This doesn't matter for shouldDelegateList, but matters when picking
source of RV. RV from continue takes precedence.
2025-03-19 14:06:34 +01:00
Kubernetes Prow Robot
73f54b67b2
Merge pull request #130816 from macsko/move_scheduler_perf_topology_spreading_tests_to_separate_package
...
Move scheduler_perf topology spreading tests to a separate package
2025-03-19 02:00:37 -07:00
Keita Mochizuki
07a275437f
kubectl debug: Display a warning message that the debug container's capabilities may not work with a non-root user ( #127696 )
...
* Add warning message about capabilities of debug container
* fix1
* fix2
* fix3
2025-03-19 00:50:30 -07:00
Kubernetes Prow Robot
3a14b619d5
Merge pull request #130910 from googs1025/fix/datarace
...
flake: fix data race for func TestBackoff_Step
2025-03-18 22:49:55 -07:00
Kubernetes Prow Robot
a6227695ab
Merge pull request #128402 from richabanker/mvp-agg-discovery
...
KEP 4020: Replace StorageVersionAPI with aggregated discovery to fetch served resources by a peer apiserver
2025-03-18 21:43:49 -07:00
Kubernetes Prow Robot
4dfed146e0
Merge pull request #130891 from pohly/dra-scheduler-plugin-unit-test-fix
...
DRA scheduler: fix potential panic during unit test verification
2025-03-18 20:34:16 -07:00
Kubernetes Prow Robot
9f8a84930d
Merge pull request #130573 from natasha41575/pod-conditions
...
[FG:PodObservedGenerationTracking] kubelet sets observedGeneration on pod conditions
2025-03-18 20:34:08 -07:00
Kubernetes Prow Robot
f287bc21b7
Merge pull request #130115 from danmillwood/danmillwood-dispatcher-test-patch
...
Fix intermittent failure in TestDispatcher test
2025-03-18 20:34:01 -07:00
Kubernetes Prow Robot
3b6596d1e0
Merge pull request #130020 from mozillazg/patch-3
...
test: fix a typo
2025-03-18 20:33:49 -07:00
googs1025
2f1f19a992
flake: fix data race for func TestBackoff_Step
2025-03-19 10:48:58 +08:00
Kubernetes Prow Robot
32b1819423
Merge pull request #130906 from serathius/streaming-validation
...
Update kube-openapi and integrate streaming tags validation
2025-03-18 18:46:00 -07:00
Kubernetes Prow Robot
7fb8bd8aca
Merge pull request #130905 from tallclair/ippr-beta
...
[FG:InPlacePodVerticalScaling] Graduate to Beta
2025-03-18 18:45:54 -07:00
Kubernetes Prow Robot
83f8513db8
Merge pull request #130550 from sanposhiho/async-preemption-beta
...
feat: graduate the async preemption feature to beta
2025-03-18 17:17:54 -07:00
Kubernetes Prow Robot
6a968c5789
Merge pull request #130904 from serathius/watchcache-corrupt
...
In TestListCorruptObject corrupt the object in etcd instead of changing encryption key
2025-03-18 16:09:55 -07:00
Marek Siarkowicz
75a4d136ab
Update kube-openapi and integrate streaming tags validation
2025-03-18 23:52:55 +01:00
Tim Allclair
cd1a5c6d5c
Fix Kubelet unit tests
2025-03-18 15:51:09 -07:00
Kubernetes Prow Robot
94d66387d0
Merge pull request #130553 from Phaow/vac-e2e
...
Add protection finalizer to vac when it is created
2025-03-18 14:59:54 -07:00
Kubernetes Prow Robot
0f7ab496c1
Merge pull request #130901 from deads2k/perms
...
add API approvers to generated applyconfigurations
2025-03-18 13:52:12 -07:00
Kubernetes Prow Robot
fe60c4316e
Merge pull request #130514 from xigang/daemonset
...
Add workqueue for node updates in DaemonSetController
2025-03-18 13:52:04 -07:00
Kubernetes Prow Robot
64621d17a6
Merge pull request #129832 from pohly/dra-seamless-upgrade
...
DRA: seamless driver upgrades
2025-03-18 13:51:51 -07:00
Marek Siarkowicz
506e4fed14
In TestListCorruptObject corrupt the object in etcd instead of changing encryption key
...
Changing the encryption key doesn't work with watch cache as it doesn't
break decoding newly written objects. A new object will be written using
a new key, and decoded using a new key.
2025-03-18 21:49:17 +01:00
Richa Banker
8b2cee83c1
Replace StorageVersion API with aggregated discovery to fetch served resources by a peer for MVP
...
Co-authored-by: Joe Betz <jpbetz@google.com>
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2025-03-18 13:27:27 -07:00
Kubernetes Prow Robot
fe27448ee4
Merge pull request #130833 from rzlink/master
...
Add Unit Tests for Windows DSR and Overlay Support
2025-03-18 12:45:56 -07:00
Eddie Torres
c766a52356
Implement KEP 4876 Mutable CSINode ( #130007 )
...
* Implement KEP-4876 Mutable CSINode Allocatable Count
Signed-off-by: torredil <torredil@amazon.com>
* Update TestGetNodeAllocatableUpdatePeriod
Signed-off-by: torredil <torredil@amazon.com>
* Implement CSINodeUpdater
Signed-off-by: torredil <torredil@amazon.com>
* Use sync.Once in csiNodeUpdater
Signed-off-by: torredil <torredil@amazon.com>
* ImVerify driver is installed before running periodic updates
Signed-off-by: torredil <torredil@amazon.com>
* Update NodeAllocatableUpdatePeriodSeconds type comment
Signed-off-by: torredil <torredil@amazon.com>
* Leverage apivalidation.ValidateImmutableField in ValidateCSINodeUpdate
Signed-off-by: torredil <torredil@amazon.com>
* Update strategy functions
Signed-off-by: torredil <torredil@amazon.com>
* Run hack/update-openapi-spec.sh
Signed-off-by: torredil <torredil@amazon.com>
* Update VolumeError.ErrorCode field
Signed-off-by: torredil <torredil@amazon.com>
* CSINodeUpdater improvements
Signed-off-by: torredil <torredil@amazon.com>
* Iron out concurrency in syncDriverUpdater
Signed-off-by: torredil <torredil@amazon.com>
* Run hack/update-openapi-spec.sh
Signed-off-by: torredil <torredil@amazon.com>
* Revise logging
Signed-off-by: torredil <torredil@amazon.com>
* Revise log in VerifyExhaustedResource
Signed-off-by: torredil <torredil@amazon.com>
* Update API validation
Signed-off-by: torredil <torredil@amazon.com>
* Add more code coverage
Signed-off-by: torredil <torredil@amazon.com>
* Fix pull-kubernetes-linter-hints
Signed-off-by: torredil <torredil@amazon.com>
* Update API types documentation
Signed-off-by: torredil <torredil@amazon.com>
* Update strategy and validation for new errorCode field
Signed-off-by: torredil <torredil@amazon.com>
* Update validation tests after strategy changes
Signed-off-by: torredil <torredil@amazon.com>
* Update VA status strategy
Signed-off-by: torredil <torredil@amazon.com>
---------
Signed-off-by: torredil <torredil@amazon.com>
2025-03-18 12:45:49 -07:00
Tim Allclair
9be73c0d67
Graduate InPlacePodVerticalScaling to beta
2025-03-18 12:26:42 -07:00
Kubernetes Prow Robot
55573a0739
Merge pull request #130823 from torredil/update-storage-csi-test-manifests
...
Update hostpathplugin image to v1.16.1
2025-03-18 11:28:01 -07:00
Kubernetes Prow Robot
b658aa1e79
Merge pull request #130796 from ndixita/pod-level-resources-ippr
...
Replace PodResourceAllocation with PodResourceInfoMap type and cleanup
2025-03-18 11:27:49 -07:00
David Eads
691398c856
add API approvers to generated applyconfigurations
...
API approvers review new fields and need permissions to approve the
files generated from those new fields
2025-03-18 13:29:10 -04:00
xigang
aa32537e9a
Add workqueue for node updates in DaemonSetController
...
Signed-off-by: xigang <wangxigang2014@gmail.com>
2025-03-19 01:09:44 +08:00
mchtech
381ccf0f4c
Fix empty describedObject in hpa status ( #124555 )
...
* fix empty DescribedObject in hpa MetricStatus when object target type is AverageValue
Signed-off-by: mchtech <michu_an@126.com>
* add test
Signed-off-by: mchtech <michu_an@126.com>
---------
Signed-off-by: mchtech <michu_an@126.com>
2025-03-18 09:33:56 -07:00
Natasha Sarkar
4c2be4bdde
kubelet sets observedGeneration in conditions
2025-03-18 15:43:24 +00:00
Patrick Ohly
d95d6ba526
DRA scheduler: fix potential panic during unit test verification
...
If there was an unexpected status, the code extracting the expected error
message crashed with a panic. Happened once so far, for unknown reasons
because the unexpected status then didn't get logged.
2025-03-18 15:07:51 +01:00
Kubernetes Prow Robot
ded2956c83
Merge pull request #130886 from macsko/fix_race_when_closing_activeq
...
Fix a race when closing activeQ
2025-03-18 06:32:07 -07:00
Kubernetes Prow Robot
4b848a555f
Merge pull request #130863 from serathius/watchcache-negative-RV-consistent
...
Extend tests for negative RV with consistent reads
2025-03-18 06:31:57 -07:00
Kubernetes Prow Robot
8312d8e85e
Merge pull request #130560 from stlaz/remote-uid-config-beta
...
RemoteRequestHeaderUID: bump to beta, enabled by default
2025-03-18 06:31:49 -07:00
Kubernetes Prow Robot
8559194e11
Merge pull request #130878 from yongruilin/compatibility-version-featuregate
...
feat: Add alpha feature verification to feature gates
2025-03-18 05:25:49 -07:00
Patrick Ohly
582b421393
DRA kubeletplugin: add RollingUpdate
...
When the new RollingUpdate option is used, the DRA driver gets deployed such
that it uses unique socket paths and uses file locking to serialize gRPC
calls. This enables the kubelet to pick arbitrarily between two concurrently
instances. The handover is seamless (no downtime, no removal of ResourceSlices
by the kubelet).
For file locking, the fileutils package from etcd is used because that was
already a Kubernetes dependency. Unfortunately that package brings in some
additional indirect dependency for DRA drivers (zap, multierr), but those
seem acceptable.
2025-03-18 12:32:35 +01:00
Patrick Ohly
b471c2c11f
DRA kubelet: support rolling upgrades
...
The key difference is that the kubelet must remember all plugin instances
because it could always happen that the new instance dies and leaves only the
old one running.
The endpoints of each instance must be different. Registering a plugin with the
same endpoint as some other instance is not supported and triggers an error,
which should get reported as "not registered" to the plugin. This should only
happen when the kubelet missed some unregistration event and re-registers the
same instance again. The recovery in this case is for the plugin to shut down,
remove its socket, which should get observed by kubelet, and then try again
after a restart.
2025-03-18 12:32:35 +01:00
Patrick Ohly
760903c0de
DRA kubelet: give DRA drivers a 30 second grace period for updates
...
When doing an update of a DaemonSet, first the old pod gets stopped and
then the new one is started. This causes the kubelet to remove all
ResourceSlices directly after removal and forces the new pod to recreate all of
them.
Now the kubelet waits 30 seconds before it deletes ResourceSlices. If a new
driver registers during that period, nothing is done at all. The new driver
finds the existing ResourceSlices and only needs to update them if something
changed.
The downside is that if the driver gets removed permanently, this creates a
delay where pods might still get scheduled to the node although the driver is
not going to run there anymore and thus the pods will be stuck.
2025-03-18 12:32:35 +01:00
Kubernetes Prow Robot
bce5886c97
Merge pull request #130873 from serathius/watchcache-consistency-typo
...
Panic on failed consistency check and fix typo in logs
2025-03-18 03:49:57 -07:00
Kubernetes Prow Robot
83c5f99f97
Merge pull request #128184 from cupnes/add-storage-capacity-scoring
...
KEP-4049: Add storage capacity scoring to VolumeBinding plugin
2025-03-18 03:49:49 -07:00
Maciej Skoczeń
1be3f8961b
Fix a race when closing activeQ
2025-03-18 10:25:56 +00:00
Kubernetes Prow Robot
fd34707033
Merge pull request #130866 from serathius/watchcache-delegate-helper
...
Extract delegator.Helper interface to allow making delegate decision based on cache state
2025-03-18 02:41:49 -07:00
Maciej Skoczeń
0effe15543
Move scheduler_perf topology spreading tests to a separate package
2025-03-18 09:37:47 +00:00
Stanislav Láznička
b3890d9fa0
bump RemoteRequestHeaderUID featuregate to Beta, on by default
2025-03-18 10:22:17 +01:00
ndixita
091b450057
Replace PodResourceAllocation with PodResourceInfoMap type for
...
extensibility for pod-level resources support
2025-03-18 05:50:38 +00:00
Kubernetes Prow Robot
6396fa0f77
Merge pull request #130860 from carlory/remove-storage-feature-labels
...
e2e tests: remove unneeded storage feature label
2025-03-17 20:27:56 -07:00
Kubernetes Prow Robot
16ef87e1b8
Merge pull request #128622 from jpbetz/admission-policy-generalize-api-docs
...
Clean up API docs shared by ValidatingAdmissionPolicy and MutatingAdmissionPolicy
2025-03-17 20:27:48 -07:00
Kubernetes Prow Robot
c608791a11
Merge pull request #130875 from aramase/aramase/f/fix_email_verified_godoc
...
Fix godoc for `claims.email_verified` usage in claim validation rules
2025-03-17 19:17:55 -07:00
Kubernetes Prow Robot
2499a2c0a0
Merge pull request #129954 from iholder101/swap/capacity-on-node-sys-info
...
[KEP-2400] Report swap capacity as part of node.status.nodeSystemInfo
2025-03-17 19:17:48 -07:00