Commit Graph

129085 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
1039822a74
Merge pull request #130491 from swatisehgal/cpu-allocation-numa-spread-metric
Add metrics to capture CPU allocation spread across NUMA nodes
2025-03-19 11:52:40 -07:00
Kubernetes Prow Robot
076c7b0b65
Merge pull request #130079 from yongruilin/compatibility-remove-reset
[compatibility version] Avoid resetting config when adding flags
2025-03-19 11:52:33 -07:00
Kubernetes Prow Robot
f9b27edf39
Merge pull request #130925 from serathius/watchcache-snapshotter-interface
Create Snapshotter interface to fake the implementation
2025-03-19 10:19:38 -07:00
Kubernetes Prow Robot
593906d607
Merge pull request #130924 from serathius/watchcache-delegate-precedense
Change precedence order for continue and legacy exact match
2025-03-19 10:19:30 -07:00
Kubernetes Prow Robot
32260dfa7b
Merge pull request #130922 from serathius/watchcache-delegate-state
Extend shouldDelegateList testing incorportating state of cacher
2025-03-19 10:19:23 -07:00
Kubernetes Prow Robot
e5558a81c9
Merge pull request #130899 from serathius/watchcache-error
Implement watchcache returning error from etcd that caused cache reinitialization
2025-03-19 10:19:13 -07:00
Kubernetes Prow Robot
fba63656c9
Merge pull request #130498 from swatisehgal/distribute-across-numa-e2e-tests
node: cpumgr: e2e: Tests for `distribute-cpus-across-numa` policy option
2025-03-19 10:19:06 -07:00
Kubernetes Prow Robot
dc6f70c12d
Merge pull request #130290 from nokia/4540-strict-cpu-reservation-beta
KEP-4540: strict-cpu-reservation beta
2025-03-19 10:18:58 -07:00
Kubernetes Prow Robot
2b79593ece
Merge pull request #130225 from ritazh/dra-admin-access-namespace
DRA: AdminAccess validate based on namespace label
2025-03-19 10:18:50 -07:00
Kubernetes Prow Robot
990b02bf39
Merge pull request #130033 from ardaguclu/completion-use-restclientgetter
Add completion in kubectl debug
2025-03-19 10:18:40 -07:00
Kubernetes Prow Robot
4467dd3d6c
Merge pull request #130028 from AkihiroSuda/subids-per-pod
kubelet: config: add userNamespaces.idsPerPod
2025-03-19 10:18:33 -07:00
yongruilin
dab8758a59 chore: avoid resetting config of emulation verison and featuregates when adding flags
This change introduces improvements to the component compatibility registry:
- Modify the kube-scheduler test server to create a separate ComponentGlobalsRegistry
- Update the compatibility registry to handle multiple flag configurations
- Enhance test cases to support emulation version mapping between components
2025-03-19 16:31:13 +00:00
Kubernetes Prow Robot
f1c634f93e
Merge pull request #130463 from sanposhiho/ga-mlk
feat: graduate MatchLabelKeysInPodAffinity to GA
2025-03-19 09:06:31 -07:00
Kensei Nakada
10c6a4258f feat: graduate MatchLabelKeysInPodAffinity to GA 2025-03-19 23:06:04 +09:00
Swati Sehgal
327ebcffc8 node: cpumgr: e2e: Define constants and use them instead of literals
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-03-19 13:19:20 +00:00
Swati Sehgal
c90f0539c8 node: cpumgr: e2e: Tests for distribute-cpus-across-numa policy option
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-03-19 13:19:03 +00:00
Swati Sehgal
b6a3ac47de node: cpumgr: e2e: tests for NUMA allocation spread metrics
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-03-19 13:13:56 +00:00
Marek Siarkowicz
3edeb60c08 Create Snapshotter interface to fake the implementation 2025-03-19 14:08:21 +01:00
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
Marek Siarkowicz
929a9c0cad Extend shouldDelegateList testing incorportating state of cacher 2025-03-19 12:40:33 +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
Akihiro Suda
09fdae408f
pkg/kubelet/userns: add idsPerPod tests
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-03-19 17:26:11 +09:00
Akihiro Suda
1592bfa4a8
kubelet: config: add userNamespaces.idsPerPod
IDsPerPod is the mapping length of subids for UserNS.
The length must be multiple of 65536.
Default: 65536

Implements kubernetes/enhancements PR 5020 (addendum to KEP-127)

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-03-19 17:26:11 +09: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
Rita Zhang
0301e5a9f8
DRA: AdminAccess validate based on namespace label
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2025-03-18 22:56:54 -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
Marek Siarkowicz
c09d87f79c Implement watchcache returning error from etcd that caused cache reinitialization 2025-03-18 21:20:11 +01: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