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
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
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
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
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
Kubernetes Prow Robot
5639e1fd08
Merge pull request #130870 from Rajalakshmi-Girish/kube-build-image-tag
...
Fix KUBE_BUILD_IMAGE_CROSS_TAG mismatch when KUBE_CROSS_VERSION is passed
2025-03-17 17:45:56 -07:00
Kubernetes Prow Robot
aba6aa4d7a
Merge pull request #130867 from vinayakankugoyal/gitRepo
...
Fix failing git_repo e2e release informing tests.
2025-03-17 17:45:48 -07:00
Anish Ramasekar
349e079abe
Update release notes in changelog-1.30 to fix example claim validation rule
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-03-17 17:05:48 -07:00
Anish Ramasekar
af291a44c3
Add unit test to validate email_verified in claim validation rules
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-03-17 17:04:57 -07:00
yongruilin
5d0caaa1a6
feat: Add alpha feature verification to feature gates
...
Implement a new function, verifyAlphaFeatures, to ensure that alpha features cannot be enabled by default. Update the verifyOrUpdateFeatureList function to call this new verification. Add corresponding unit tests to validate the behavior of alpha feature handling.
2025-03-18 00:04:16 +00:00
Anish Ramasekar
916c7867f7
fix godoc for email_verified requirement when username contains claims.email
...
Using 'claims.?email_verified.orValue(true) == true' in the example
validation rule. By explicitly comparing the value to true, we let type-checking see the result
will be a boolean, and to make sure a non-boolean email_verified claim will be caught at runtime.
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-03-17 17:01:47 -07:00
Kubernetes Prow Robot
473ec01548
Merge pull request #130733 from natasha41575/pod-resize-conditions
...
[FG:InPlacePodVerticalScaling] Move pod resize status to pod conditions
2025-03-17 16:09:50 -07:00
Natasha Sarkar
a15520fbea
Move pod resize status to pod conditions
2025-03-17 22:01:05 +00:00
Dawei Wei
6186303580
Adding Unit tests for windows-dsr and overlay support
2025-03-17 14:36:39 -07:00
Kubernetes Prow Robot
e950e517ed
Merge pull request #130862 from icylord/kubectl
...
kubectl: Remove duplicate selector calculation logic and add missing test cases for the 'describe DaemonSet'
2025-03-17 13:35:49 -07:00
Marek Siarkowicz
984b475e74
Extract delegator.Helper interface to allow making delegate decision based on cache state
2025-03-17 20:57:19 +01:00
Marek Siarkowicz
4f1912abf2
Fix missing recursive in consistency check, enable panic on failed check and fix typo in logs
2025-03-17 20:53:57 +01:00
Kubernetes Prow Robot
917a556981
Merge pull request #130250 from marosset/withdraw-windows-hostnetwork
...
Withdraw alpha support for HostNetwork containers on Windows
2025-03-17 11:59:48 -07:00
Rajalakshmi-Girish
5402baf4a2
Fix KUBE_BUILD_IMAGE_CROSS_TAG mismatch when KUBE_CROSS_VERSION is passed
2025-03-17 11:20:07 -07:00
Kubernetes Prow Robot
f8cc9c92d6
Merge pull request #130858 from dims/trying-to-fix-provider-kubelet_config_dir_test
...
Fix kubelet_config_dir_test after KubeletServiceAccountTokenForCredentialProviders was added
2025-03-17 10:43:49 -07:00
Mark Rossett
9837a61528
update cri-api comments for Windows HostProcess withdrawal
2025-03-17 09:40:13 -07:00
Mark Rossett
a666451e8a
withdraw Windows HostNetwork support
2025-03-17 09:40:12 -07:00
Kubernetes Prow Robot
2cb9e77fde
Merge pull request #130658 from tenzen-y/promote-successpolicy-e2e-to-conformance
...
KEP-3998: Promote JobSuccessPolicy E2E to Conformance
2025-03-17 09:35:56 -07:00
Kubernetes Prow Robot
61529d54f2
Merge pull request #130595 from tkashem/omit-admission
...
KEP-3926: skip admission validation for unsafe delete
2025-03-17 09:35:49 -07:00
Vinayak Goyal
2b504a7089
Fix failing git_repo e2e release informing tests.
2025-03-17 16:07:50 +00:00
Kubernetes Prow Robot
d367e0b326
Merge pull request #130865 from serathius/integration-refactor
...
Split subfunction to allow adding more subtests
2025-03-17 08:18:27 -07:00
Kubernetes Prow Robot
eec06b4169
Merge pull request #130864 from xigang/factor-out-index-helper
...
controller: factor out pod node name indexer helper function
2025-03-17 08:18:18 -07:00