Commit Graph

133238 Commits

Author SHA1 Message Date
Lukasz Szaszkiewicz
da77cf84ba pkg/kubelet/watch_base_manager: wraps the LW with WatchList semantics 2025-10-20 20:05:22 +02:00
Kubernetes Prow Robot
e2453c503e Merge pull request #134715 from neolit123/1.35-avoid-panic-in-cluster-info
kubeadm: add missing cluster-info context validation
2025-10-20 03:58:09 -07:00
Lubomir I. Ivanov
0613fdeccb kubeadm: add missing cluster-info context validation
When retrieving the cluster-info CM, ensure the cluster pointed
out by the current context in the kubeconfig is validated.

Add unit test for the above.

Make the function GetClusterFromKubeConfig() to return various
errors. Handle the errors on call sites. Add unit tests
for the update.

The above changes prevent panics when the users has manually
edited and malformed the kubeconfig in the cluster-info CM.
2025-10-20 11:58:58 +02:00
Kubernetes Prow Robot
e34f01402f Merge pull request #134703 from pohly/e2e-fix-test-name-uniqueness
e2e: find and fix reuse of test names
2025-10-18 15:38:07 -07:00
Kubernetes Prow Robot
b067e45290 Merge pull request #134695 from kannon92/procmount-usernamespace
usernamespace and procmount are tightly coupled. Disable them together
2025-10-17 21:56:40 -07:00
Kubernetes Prow Robot
d536e31ce2 Merge pull request #134692 from joshjms/bump-etcd-v3.5.23
etcd: Bump supported etcd version to v3.5.23 for release v1.31, v1.32, and v1.33
2025-10-17 19:00:47 -07:00
Kubernetes Prow Robot
1f34c16772 Merge pull request #134690 from haircommander/gc-conformance
test: move kubelet GC tests to node conformance
2025-10-17 19:00:40 -07:00
Kubernetes Prow Robot
76f5a1c8c2 Merge pull request #134635 from vivzbansal/execprobe1
Locked the (generally available) feature gate `ExecProbeTimeout` to true.
2025-10-17 18:06:40 -07:00
Kubernetes Prow Robot
13eb5a92cc Merge pull request #134443 from lalitc375/optional-pointer
Add DV list keys on ResourceClaimStatus.Devices
2025-10-17 16:38:41 -07:00
Lalit Chauhan
2072acb3ba Add listType=map and listMapekeys on ResourceClaimStatus.Devices 2025-10-17 22:48:52 +00:00
Lalit Chauhan
4bd3d17e4a Allow pointers for list keys 2025-10-17 22:47:33 +00:00
Kubernetes Prow Robot
2158dd67e9 Merge pull request #134630 from lalitc375/k8s-enum
feat: add enum validation for AllocationConfigSource
2025-10-17 15:40:51 -07:00
Kubernetes Prow Robot
9dcfb3d04b Merge pull request #133373 from AkihiroSuda/carry-133278
[Carry 133278] kubelet: Don't ignore idsPerPod config #133278
2025-10-17 15:40:43 -07:00
Kevin Hannon
03c7962d17 usernamespace and procmount are tightly coupled. Disable them together 2025-10-17 16:40:45 -04:00
Kubernetes Prow Robot
1b3cb5ca32 Merge pull request #134575 from lalitc375/k8s-long-name
Use DV for long name validation of firstAvailable.deviceClassName
2025-10-17 13:28:41 -07:00
Lalit Chauhan
1f803aa314 Use DV for long name validation of spec.devices.requests[%d].firstAvailable[%d].deviceClassName 2025-10-17 19:15:34 +00:00
Kubernetes Prow Robot
4bb072512e Merge pull request #134446 from aaron-prindle/dv-device-allocation-mode-enum-migration
feat: add +k8s:enum declarative validation to ResourceClaim DeviceAllocationMode
2025-10-17 11:54:41 -07:00
Vivek Bansal
af17392630 Setting the default feature-gate ExecProbeTimeout value to TRUE 2025-10-17 18:38:05 +00:00
Patrick Ohly
d0a2a0d22e e2e: find and fix reuse of test names
This reports and fixes for test/e2e:

    ERROR: E2E suite initialization was faulty, these errors must be fixed:
    ERROR: apimachinery/mutatingadmissionpolicy.go:184: full test name is not unique: "[sig-api-machinery] MutatingAdmissionPolicy [Privileged:ClusterAdmin] [Feature:MutatingAdmissionPolicy] [FeatureGate:MutatingAdmissionPolicy] [Beta] [Feature:OffByDefault] should support MutatingAdmissionPolicy API operations" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e/apimachinery/mutatingadmissionpolicy.go:184, /nvme/gopath/src/k8s.io/kubernetes/test/e2e/apimachinery/mutatingadmissionpolicy.go:606)
    ERROR: apimachinery/mutatingadmissionpolicy.go:412: full test name is not unique: "[sig-api-machinery] MutatingAdmissionPolicy [Privileged:ClusterAdmin] [Feature:MutatingAdmissionPolicy] [FeatureGate:MutatingAdmissionPolicy] [Beta] [Feature:OffByDefault] should support MutatingAdmissionPolicyBinding API operations" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e/apimachinery/mutatingadmissionpolicy.go:412, /nvme/gopath/src/k8s.io/kubernetes/test/e2e/apimachinery/mutatingadmissionpolicy.go:834)
    ERROR: common/node/pod_level_resources.go:250: full test name is not unique: "[sig-node] Pod Level Resources [Serial] [Feature:PodLevelResources] [FeatureGate:PodLevelResources] [Beta] Guaranteed QoS pod with container resources" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e/common/node/pod_level_resources.go:250 (2x))
    ERROR: dra/dra.go:1899: full test name is not unique: "[sig-node] [DRA] kubelet [Feature:DynamicResourceAllocation] [FeatureGate:DRAConsumableCapacity] [Alpha] [Feature:OffByDefault] [FeatureGate:DynamicResourceAllocation] must allow multiple allocations and consume capacity [KubeletMinVersion:1.34]" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e/dra/dra.go:1899 (2x))
    ERROR: storage/testsuites/volume_group_snapshottable.go:173: full test name is not unique: "[sig-storage] CSI Volumes [Driver: csi-hostpath] [Testpattern:  (delete policy)] volumegroupsnapshottable [Feature:volumegroupsnapshot] VolumeGroupSnapshottable  should create snapshots for multiple volumes in a pod" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e/storage/testsuites/volume_group_snapshottable.go:173 (2x))
    ERROR: storage/testsuites/volume_group_snapshottable.go:173: full test name is not unique: "[sig-storage] CSI Volumes [Driver: pd.csi.storage.gke.io] [Serial] [Testpattern:  (delete policy)] volumegroupsnapshottable [Feature:volumegroupsnapshot] VolumeGroupSnapshottable  should create snapshots for multiple volumes in a pod" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e/storage/testsuites/volume_group_snapshottable.go:173 (2x))

And for test/e2e_node:

    ERROR: cpu_manager_test.go:1622: full test name is not unique: "[sig-node] CPU Manager [Serial] [Feature:CPUManager] when checking the CFS quota management should disable for guaranteed pod with exclusive CPUs assigned" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e_node/cpu_manager_test.go:1622, /nvme/gopath/src/k8s.io/kubernetes/test/e2e_node/cpu_manager_test.go:1642)
    ERROR: eviction_test.go:800: full test name is not unique: "[sig-node] LocalStorageCapacityIsolationFSQuotaMonitoring [Slow] [Serial] [Disruptive] [Feature:LocalStorageCapacityIsolationQuota] [Feature:LSCIQuotaMonitoring] [Feature:UserNamespacesSupport] when we run containers that should cause use quotas for LSCI monitoring (quotas enabled: true)  should eventually evict all of the correct pods" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e_node/eviction_test.go:800 (2x))
2025-10-17 20:19:52 +02:00
joshjms
51fc3c744a bump etcd to v3.5.23 for release v1.31, v1.32, and v1.33
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-10-18 02:10:21 +08:00
Peter Hunt
70a8babb09 test: move kubelet GC tests to node conformance
and drop the feature.GarbageCollect, as it's not needed anymore

Signed-off-by: Peter Hunt <pehunt@redhat.com>
2025-10-17 13:32:46 -04:00
Kubernetes Prow Robot
a1af295559 Merge pull request #134687 from cpanato/update-rules
update publishing rules
2025-10-17 09:50:41 -07:00
Carlos Panato
41cb2378b4 update publishing rules
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-10-17 17:59:30 +02:00
Kubernetes Prow Robot
e64ed3d8ba Merge pull request #134641 from p0lyn0mial/upstream-watchlist-unsupported-wl-semantics-reflector
client-go/tools/cache/reflector: supports watchlist.DoesClientNotSupportWatchListSemantics
2025-10-17 01:50:41 -07:00
Kubernetes Prow Robot
f794aa12d7 Merge pull request #134663 from p0lyn0mial/upstream-watchlist-unsupported-wl-semantics-typed
client-go/typed/fake: expose IsWatchListSemanticsUnSupported
2025-10-17 00:58:42 -07:00
Lukasz Szaszkiewicz
d15b289334 ./hack/update-codegen.sh 2025-10-17 09:07:46 +02:00
Lukasz Szaszkiewicz
4d9fcfeeca client-go/kubernetes_test/fake_client_test: TestDoesClientSupportWatchListSemantics 2025-10-17 09:07:40 +02:00
Kubernetes Prow Robot
5c7325dbda Merge pull request #134407 from natasha41575/ippr-tests
[InPlacePodVerticalScaling] add e2e coverage for pod resize 'read' and 'replace' endpoints
2025-10-16 16:54:39 -07:00
Aaron Prindle
2fd727bf92 address feedback - comment on declarative defaulting gap w/ DV 2025-10-16 22:47:22 +00:00
Kubernetes Prow Robot
cf991024a2 Merge pull request #134656 from BenTheElder/cleanup-rsync
additional build simplification, drop rsync requirement
2025-10-16 14:32:47 -07:00
Kubernetes Prow Robot
c699725502 Merge pull request #134646 from p0lyn0mial/upstream-watchlist-unsupported-wl-semantics-meta
client-go/metadata/fake: expose IsWatchListSemanticsUnSupported
2025-10-16 14:32:40 -07:00
Lukasz Szaszkiewicz
c284201b71 generators/fake/generator_fake_for_clientset: intro IsWatchListSemanticsUnSupported 2025-10-16 22:31:52 +02:00
Lukasz Szaszkiewicz
4bb2bd0532 client-go/tools/cache/reflector: supports watchlist.DoesClientNotSupportWatchListSemantics 2025-10-16 22:21:25 +02:00
Kubernetes Prow Robot
2593cca82a Merge pull request #134659 from BenTheElder/ensure-executable-images
ensure permissions are consistent on dockerized binaries
2025-10-16 13:02:48 -07:00
Kubernetes Prow Robot
aefb388c7d Merge pull request #134654 from liggitt/unexport-orphan
Include relevant dimensions in pod controller indexing
2025-10-16 13:02:40 -07:00
Kubernetes Prow Robot
a12ed651ce Merge pull request #134605 from lalitc375/stability-levels
Add stability level in the tags doc.
2025-10-16 12:04:58 -07:00
Kubernetes Prow Robot
7af016ec31 Merge pull request #133153 from helayoty/helayoty/enable-beta-maxUnavailable
Update MaxUnavailableStatefulSet feature gate to beta
2025-10-16 12:04:50 -07:00
Kubernetes Prow Robot
50e3cb3f58 Merge pull request #133128 from jm-franc/set-gate-to-beta
Promote HPAConfigurableTolerance gate to beta
2025-10-16 12:04:43 -07:00
Benjamin Elder
26cba8ee03 ensure permissions are consistent on dockerized binaries 2025-10-16 11:18:26 -07:00
Kubernetes Prow Robot
4885c6d462 Merge pull request #134645 from joshjms/make-aggregator-test-linuxonly
Mark aggregator-supports-the-sample-apiserver test as LinuxOnly
2025-10-16 11:14:50 -07:00
Kubernetes Prow Robot
e066b3850f Merge pull request #133912 from tallclair/kube-feature-deps
Mark all Kube feature dependencies, and require dependencies to be declared for all features
2025-10-16 11:14:43 -07:00
Aaron Prindle
9d83f71cde fix validation_test.go to use path normalization 2025-10-16 17:40:19 +00:00
Aaron Prindle
a77f845141 address feedback - remove origin for enum as NotSupported handles this 2025-10-16 17:40:19 +00:00
Aaron Prindle
6e95412c43 address nit 2025-10-16 17:40:19 +00:00
Aaron Prindle
77d87a0e63 fix normalization rule post-rebase 2025-10-16 17:40:19 +00:00
Aaron Prindle
f84423813b address feedback 2025-10-16 17:40:19 +00:00
Aaron Prindle
9a7dace734 feat: add +k8s:enum declarative validation to ResourceClaim DeviceAllocationMode 2025-10-16 17:40:18 +00:00
Jordan Liggitt
91d135f344 Include relevant dimensions in pod controller indexing 2025-10-16 13:27:50 -04:00
Benjamin Elder
5b9b8ec732 make localtime mount readonly 2025-10-16 10:26:13 -07:00
Benjamin Elder
1877809f59 cleanup unused rsync related env vars 2025-10-16 10:26:13 -07:00