Commit Graph

134908 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
8cd57a9e6f Merge pull request #134709 from tchap/kubectl-tracing
kubectl: Add support for tracing
2025-10-24 01:35:34 -07:00
Kubernetes Prow Robot
ae60c554f8 Merge pull request #134404 from nmn3m/dra-consumable-capacity-autoscaler-contract
Dedicated package for scheduler interaction with DRA structured types
2025-10-24 00:19:33 -07:00
Kubernetes Prow Robot
28c1e7a454 Merge pull request #134835 from tallclair/copyright-year
Remove year from copyright header boilerplate
2025-10-23 23:25:34 -07:00
Ahmet Alp Balkan
5f083e3b9f controller: duplicate utility method cleanup
It appears one of these methods in deployment controller is redundant now that
we always emit Events during scaling.
2025-10-23 22:04:21 -07:00
Xin Wang
5d4d6cc980 Test: Add unit test for PreStartContainer
#109717
2025-10-24 12:58:01 +08:00
Kubernetes Prow Robot
733f552f73 Merge pull request #134741 from zk-123/fix/kubelet_node_status_cleanup_register_schedulable
fix(kubelet_node_status): remove the node.Spec.Unschedulable check
2025-10-23 19:29:33 -07:00
Richa Banker
491f7f9ba8 Add a preshutdownhook to cleanup apisever identity lease 2025-10-23 18:59:52 -07:00
Kubernetes Prow Robot
faad6b2c30 Merge pull request #134829 from yongruilin/fix-race-pluginpolicy
test: Fix data race on policy refresh interval
2025-10-23 17:05:34 -07:00
Tim Allclair
c247514f47 Remove year from copyright header boilerplate 2025-10-23 16:50:13 -07:00
Kubernetes Prow Robot
ee58e792cc Merge pull request #134812 from skitt/enable-gocritic-unlambda
Avoid no-change lambdas
2025-10-23 15:43:34 -07:00
Ricardo Pchevuzinske Katz
f0e88857f7 Return error in case of discovery client failure 2025-10-23 19:40:49 -03:00
Kubernetes Prow Robot
6652c9fadf Merge pull request #134457 from danwinship/prefersamenode
KEP-3015: update PreferSameTrafficDistribution to GA
2025-10-23 14:41:33 -07:00
yongruilin
8a331a59d1 test: Fix data race on policy refresh interval
Add a mutex to protect the global policyRefreshInterval. This prevents a data race during tests where SetPolicyRefreshIntervalForTests writes to the variable while a background goroutine reads it.
2025-10-23 21:24:50 +00:00
yongruilin
78796239cf feat(validation): add k8s:optional tag to InterfaceName and HardwareAddress in NetworkDeviceData across all versions 2025-10-23 21:04:02 +00:00
Kubernetes Prow Robot
7498131d5e Merge pull request #131098 from DataDog/fricounet/upstream/race-csinode-creation
Wait for CSINode removal to register CSI plugin
2025-10-23 11:35:35 -07:00
Aaron Prindle
9ba536c2e4 feat: add subfield +k8s:format=k8s-long-name validation for DeviceClass ObjeMeta.Name field 2025-10-23 16:42:58 +00:00
Lubomir I. Ivanov
9e5b6ad748 fix error checks 2025-10-23 16:18:18 +00:00
Lubomir I. Ivanov
c764de03dc vendor: update system-validators to v1.12.1
Includes an update to the cgroups validator to throw
an error if v1 is detected on the host.

Also includes a KubeletVersion field to determine
to show a warning or an error.
2025-10-23 17:44:30 +02:00
Konrad Kaim
724cdb5cf3 feat: migrate off deprecated NewSimpleClientset to NewClientset 2025-10-23 15:33:20 +00:00
Kubernetes Prow Robot
ab34215bab Merge pull request #134229 from yongruilin/kal-vg
Use kube-api-linter linting for declarative validation tags
2025-10-23 08:11:35 -07:00
Ondra Kupka
1b863d81c9 kubectl: Add support for tracing 2025-10-23 17:04:30 +02:00
Ondra Kupka
9d369f32a3 kubectl: Refactor profiling helpers 2025-10-23 17:03:22 +02:00
Swati Sehgal
1e3a6e18d0 node: e2e: update podresources check post fix of kubernetes#119423
With kubernetes/kubernetes#132028 merged, pods in terminal states are no longer
reported by the podresources API. The previous test logic accounted for the old
behavior where even failed pods appeared in the API response (tracked under k/k
issue #119423). As a result, we used to expect the failed test pod to be present in the
response but with an empty device set.

This change updates the test to reflect the new, correct behavior:
1. The failed test pod should no longer appear in the podresources API response.
2. The test now asserts absence of the failed pod rather than checking for an empty device assignment.

This simplifies the test logic and aligns expectations with the current upstream
behavior of the podresources API.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-10-23 14:12:21 +01:00
Kubernetes Prow Robot
286d13b96c Merge pull request #134782 from scaliby/remove-deprecated-csr-api
Drop support for certificatesv1beta1.CertificateSigningRequest in kubectl
2025-10-23 04:57:34 -07:00
Kubernetes Prow Robot
399bd1657a Merge pull request #134797 from aditigupta96/fix-runwithcontext-dra
dra: Use context-aware client-go informer functions
2025-10-23 01:53:05 -07:00
Baptiste Girard-Carrabin
28507d0e92 [test] Add case for existing driver on old csi node
The driver on the old object should not appear on the new one because it represented a different node
2025-10-23 10:44:55 +02:00
Baptiste Girard-Carrabin
a14230ae82 [test] Validate migration annotation are still applied 2025-10-23 10:28:51 +02:00
Kubernetes Prow Robot
57c243f33c Merge pull request #134450 from mayank-agrwl/controller-contextual-logs
Replace HandleCrash and HandleError calls to use context-aware alternatives
2025-10-23 00:49:02 -07:00
Stephen Kitt
1e2817d589 Avoid no-change lambdas
This replaces functions that wrap another function with no change with
a direct reference to the wrapped function.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2025-10-23 09:46:15 +02:00
Kubernetes Prow Robot
0bb040288a Merge pull request #134781 from neolit123/1.35-removete-WaitForAllControlPlaneComponents-fg
kubeadm: remove the GA WaitForAllControlPlaneComponents FG
2025-10-22 18:46:39 -07:00
Kubernetes Prow Robot
87a2b7138b Merge pull request #134767 from lalitc375/slice
Enable DV for resourceslice
2025-10-22 17:38:52 -07:00
Kubernetes Prow Robot
905d72b9bb Merge pull request #134757 from neolit123/1.35-fix-e2e-test-hostname-override
/test: use a different image for hostname override e2e tests
2025-10-22 17:38:45 -07:00
Kubernetes Prow Robot
eea58e01f4 Merge pull request #134743 from marquiz/devel/configz-cgroupdriver-fix
kubelet: fix kubeletconfig.cgroupDriver in configz
2025-10-22 17:38:38 -07:00
Kubernetes Prow Robot
370c2f1d98 Merge pull request #134537 from itzPranshul/master-vg-enable-clusterRole
[RBAC] Enable Declarative Validation(DV) support for ClusterRole and RoleBinding
2025-10-22 16:48:38 -07:00
Lalit Chauhan
2061ec2be9 Enable DV for resourceslice 2025-10-22 22:48:25 +00:00
yongruilin
f851bc7ce5 test(validation): add cases HardwareAddress length in ResourceClaim status 2025-10-22 22:42:32 +00:00
yongruilin
833c026435 feat(dra): add k8s:maxLength tag on HardwareAddress in NetworkDeviceData 2025-10-22 22:42:32 +00:00
yongruilin
c3006a9bb9 test(validation): add cases for valid and invalid NetworkDeviceData.InterfaceName length 2025-10-22 22:42:30 +00:00
yongruilin
6fa8cb4a99 feat(dra): add k8s:maxLength on NetworkData.InterfaceName 2025-10-22 22:41:07 +00:00
yongruilin
2b4495f66a feat(dra): add k8s:optional on AllocatedDeviceStatus.NetworkData 2025-10-22 22:38:47 +00:00
yongruilin
8124b22f90 feat(validation-gen): add k8s:maxLength tag 2025-10-22 22:38:47 +00:00
Aditi Gupta
e762d9fc44 dra: Use context-aware client-go informer functions 2025-10-22 15:05:49 -07:00
Kubernetes Release Robot
196d3abcd5 CHANGELOG: Update directory for v1.35.0-alpha.2 release 2025-10-22 22:03:51 +00:00
Kubernetes Prow Robot
ab7003f2e5 Merge pull request #130182 from marosset/windows-unit-tests-pkg-kubelet-kuberuntime-fixes
Fixing k8s.io/kubernetes/pkg/kubelet/kuberuntime unit tests on Windows
2025-10-22 14:14:39 -07:00
Aditi Gupta
fa59ed7f82 pkg/controller: Use informer.RunWithContext in tests 2025-10-22 14:13:30 -07:00
Kubernetes Prow Robot
4415f00294 Merge pull request #134780 from joshjms/bump-etcd-sdk-v3.6.5
etcd: Bump etcd sdk to v3.6.5
2025-10-22 13:26:46 -07:00
Kubernetes Prow Robot
972517f0dd Merge pull request #134281 from siyuanfoundation/fix-test
adopt consistent way to set feature gate based on emulation version for kcm and scheduler test server.
2025-10-22 13:26:39 -07:00
Kubernetes Prow Robot
cc74055f3f Merge pull request #134745 from swatisehgal/device-plugin-e2e-flakiness-1
node: e2e: Ensure device plugin pod is Running/Ready before registration
2025-10-22 11:54:47 -07:00
Kubernetes Prow Robot
45e05c0f97 Merge pull request #134706 from onlineth/fix-powershell-completition-docs
docs: PowerShell completion example: dot-source script and quote path
2025-10-22 11:54:40 -07:00
Siyuan Zhang
70ac573619 adopt consistent way to set feature gate based on emulation version for kcm and scheduler test server.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-10-22 13:20:30 -05:00