Commit Graph

134908 Commits

Author SHA1 Message Date
yongruilin
d764e81a66 Revert "Implement validation-gen lint for CI"
This reverts commit 252d584cb7.

Lint logic is implemented through golanci-lint&kube-api-linter
2025-10-22 18:02:06 +00:00
yongruilin
7d1500bb1e feat: Add exceptions for conflicting markers in kube-api-linter 2025-10-22 18:02:06 +00:00
yongruilin
12b5106809 bump kube-api-linter tool to latest and go mod tidy 2025-10-22 18:02:06 +00:00
Kubernetes Prow Robot
4695bb6c19 Merge pull request #134779 from joshjms/bump-etcd-v3.5.24
etcd: Bump supported etcd version to v3.5.24 for release v1.32, v1.33, and v1.34
2025-10-22 10:32:48 -07:00
Kubernetes Prow Robot
97dd75989c Merge pull request #134161 from skitt/disable-gocritic
Disable unwanted gocritic checks instead of filtering them
2025-10-22 10:32:41 -07:00
yongruilin
5fc2f3e5a9 feat: Enable conflicting markers linter to detect mutually exclusive field markers 2025-10-22 17:06:11 +00:00
Kubernetes Prow Robot
e1b996a4d3 Merge pull request #134754 from jpbetz/deflake-param-ref
Use fast policy refresh interval for TestParamRef
v1.35.0-alpha.2
2025-10-22 09:00:48 -07:00
Kubernetes Prow Robot
501b768370 Merge pull request #134545 from novahe/fix-missing-apiversion
Fix missing involvedObject.apiVersion in event
2025-10-22 09:00:40 -07:00
Lubomir I. Ivanov
c49bdda383 kubeadm: remove the GA WaitForAllControlPlaneComponents FG
The kubeadm specific FG WaitForAllControlPlaneComponents
went GA and was locked enabled by default in 1.34.

In 1.35 it can be removed.
2025-10-22 17:14:02 +02:00
Benjamin Elder
a99a5c4bdc avoid updating when endpoint subsets are merely sorted differently 2025-10-22 08:07:19 -07:00
Konrad Kaim
764918a4dd remove deprecated CertificateSigningRequests api from describe 2025-10-22 15:05:52 +00:00
joshjms
3fbd1a1787 etcd: bump etcd to v3.5.24 for k8s v1.32, v1.33, v1.34
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-10-22 22:38:57 +08:00
Kubernetes Prow Robot
497ed03ae7 Merge pull request #134525 from omerap12/hpa-monitor-test-flake
Remove flaky HPA deletion assertion in TestMultipleHPAs
2025-10-22 06:36:41 -07:00
joshjms
7f99d6672f etcd: bump etcd sdk to v3.6.5
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-10-22 21:36:06 +08:00
Lubomir I. Ivanov
804708df53 /test: use a different image for hostname override e2e tests
As discovered in ticket 134737 `hostname` is buggy on busybox
due to the musl backend that it uses. something in the /etc/hosts
that k8s generates trips its parser and it doesn't work properly
in the ipv6 tests.

To workaround that use an image that has a glibc backend,
so that the hostname command works.
2025-10-22 15:07:01 +02:00
Stephen Kitt
5bfc9aba9f Disable unwanted gocritic checks instead of filtering them
The golangci-lint docs indicate that, for gocritic, disabled-checks
and enabled-checks can't be combined. That is however not accurate;
enabled-checks adds checks, disabled-checks disables them, in that
order. If disable-all isn't set, then the setup starts with the checks
enabled by default, adds any additional checks specified in
enabled-checks, and removes checks specified in disabled-checks.

This means that instead of filtering unwanted checks, we can disable
them entirely. This makes the set of disabled checks easier to read,
and perhaps easier to clean up in future.

For singleCaseSwitch and wrapperFunc, we only want to ignore specific
instances, so this is still done by filtering.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2025-10-22 15:00:53 +02:00
novahe
9d48e7d2d4 fix missing involvedObject.apiVersion in event 2025-10-22 20:13:36 +08:00
Kubernetes Prow Robot
34f2a0f6cc Merge pull request #134775 from neolit123/1.35-adjust-supported-etcd-versions-by-kubeadm
kubeadm: adjust the etcd version map for release 1.35
2025-10-22 05:10:40 -07:00
Kubernetes Prow Robot
e4d85d1c13 Merge pull request #134766 from tallclair/dead-code
Delete dead code in pkg/kubelet/lifecycle
2025-10-22 03:40:39 -07:00
Lubomir I. Ivanov
38373335cd kubeadm: adjust the etcd version map for release 1.35
Remove 1.31, add 1.35.
Also, add a note that there are a couple of variables
that must be updated as well.
2025-10-22 12:28:19 +02:00
Kubernetes Prow Robot
2679d3a7c6 Merge pull request #133706 from sunya-ch/fix-133705
Fix DRAConsumableCapacity to schedule more than one devices
2025-10-22 02:42:40 -07:00
Sunyanan Choochotkaew
81e3dbdc33 Fix DRAConsumableCapacity to schedule more than one devices
Signed-off-by: Sunyanan Choochotkaew <sunyanan.choochotkaew1@ibm.com>
2025-10-22 17:52:01 +09:00
Kubernetes Prow Robot
0ba43e9f5e Merge pull request #134739 from shyamjvs/epslice-controller-fix
Introduce pod queuing in endpoint/slice controllers
2025-10-22 00:44:39 -07:00
Tim Allclair
8fc9921294 Delete dead code 2025-10-21 20:49:42 -07:00
Kubernetes Prow Robot
d8a53105dd Merge pull request #134631 from yuanwang04/restart-rules
Promote ContainerRestartRules to beta
2025-10-21 19:44:44 -07:00
Kubernetes Prow Robot
5105b1d791 Merge pull request #134577 from seans3/synthetic-create
Implements synthetic create authz permission check for exec, attach, and portforward
2025-10-21 19:44:37 -07:00
Kubernetes Prow Robot
51b91ff59b Merge pull request #134758 from thockin/lint-deprecatedComment-is-already-on
golangci-lint: no need to enable deprecatedComment
2025-10-21 17:52:41 -07:00
Shyam Jeedigunta
8346bed9e7 Introduce pod queuing in endpoint/slice controllers 2025-10-21 17:08:01 -07:00
Yuan Wang
f2a4ffd5b8 Promote ContainerRestartRules to beta
Fix prober not running properly with containerRestartRules and add unit test coverage
2025-10-21 23:58:39 +00:00
Mark Rossetti
0a301490f6 Fixing k8s.io/kubernetes/pkg/kubelet/kuberuntime unit tests on Windows
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2025-10-21 16:42:31 -07:00
Kubernetes Prow Robot
8b9498b07d Merge pull request #134759 from jpbetz/patch-11
Add OWNERS for controller/storageversionmigrator
2025-10-21 15:54:45 -07:00
Kubernetes Prow Robot
6c8a609fd0 Merge pull request #134555 from aaron-prindle/dv-enum-migration
feat: add +k8s:enum declarative validation to ResourceClaim DeviceTolerationOperator and DeviceTaintEffect
2025-10-21 15:54:37 -07:00
Benjamin Elder
4e29dcdf75 remove deadcode HashObject from k8s.io/kubectl/pkg/util
I can't find evidence that anything is using this anymore, if anyone does depend on this it is a tiny function that depends only on public symbols and they can just place a copy somewhere else.
2025-10-21 15:25:11 -07:00
Benjamin Elder
6cb2849928 switch endpointslice hashing from md5 to fnv-1a
128 bit fnv-1a is a pretty good non-cryptographic drop-in for md5, it should be faster
2025-10-21 15:25:11 -07:00
Benjamin Elder
edbc0dc258 switch endpoints hashing from md5 to fnv-1a
128 bit fnv-1a is a pretty good non-cryptographic drop-in for md5, it should be faster
2025-10-21 15:25:11 -07:00
Benjamin Elder
dba6c30e96 switch kubelet static pod internal UID to fnv
fnv-1a in 128bit should be a drop-in replacement for md5 in non-cryptographic use that is faster and not obsolete
2025-10-21 15:25:11 -07:00
Benjamin Elder
b3373320da switch volumemanager reconciler tests to fnv-1a
128 bit fnv-1a is a pretty good non-cryptographic drop-in for md5, it should be faster, and this test code is not sensitive anyhow
2025-10-21 15:25:11 -07:00
Benjamin Elder
797d316519 mark remaining md5 usage TODO and exclude from lint 2025-10-21 15:25:11 -07:00
Benjamin Elder
b0a15b9163 switch storage e2e tests from md5 to sha256 2025-10-21 15:25:11 -07:00
Benjamin Elder
e0df6b178a migrate kubeadm static pod hashing to fnv-1a
128bit fnv-1a should be drop-in for md5 while being fast and non-obsolete
for non-cryptographic purposes.
2025-10-21 15:25:11 -07:00
Benjamin Elder
886fdeefae forbid new use of md5 2025-10-21 15:25:11 -07:00
Rishita Golla
448584e1c8 feat: add step field and clarify comment for volume expansion 2025-10-21 21:24:45 +00:00
Kubernetes Prow Robot
fb7774f22a Merge pull request #134685 from scaliby/remove-deprecated-pdb-api
Drop support for policyv1beta1.PodDisruptionBudget in kubectl
2025-10-21 14:08:47 -07:00
Kubernetes Prow Robot
2db2d7b1b5 Merge pull request #134463 from cvan20191/fix-resizepolicy-ephemeral-container-docs
Fix resizepolicy ephemeral container docs
2025-10-21 14:08:39 -07:00
Joe Betz
d54f3b56ed Add OWNERS for controller/storageversionmigrator 2025-10-21 17:06:53 -04:00
Sean Sullivan
413c34f319 Added feature gate and tests 2025-10-21 20:31:24 +00:00
Kubernetes Prow Robot
af9fb799ef Merge pull request #134747 from jpbetz/mitigate-dv-fuzz-test-failures
Reduce fuzz test runs by 10x to avoid timeouts
2025-10-21 13:16:45 -07:00
Kubernetes Prow Robot
de07331f0f Merge pull request #134358 from lalitc375/extended-resource-name
feat: Add k8s-extended-resource-name format and validator for DeviceClass
2025-10-21 13:16:38 -07:00
Tim Hockin
b1c85ef2fe golangci-lint: no need to enable deprecatedComment 2025-10-21 12:47:38 -07:00
Lukasz Szaszkiewicz
9902ae7387 apiserver/pkg/storage/cacher/lister_watcher: exposes WatchList semantics 2025-10-21 21:04:31 +02:00