Commit Graph

130126 Commits

Author SHA1 Message Date
Joe Betz
6284a0f50b Tag types with +k8s:isSubresource and +k8s:supportsSubresource for scale 2025-05-23 21:47:08 -04:00
Joe Betz
7dc8660d03 Update testing to fully track subresources 2025-05-23 21:47:08 -04:00
Joe Betz
6ca6b7bb6a Add +k8s:isSubresource and +k8s:supportsSubresource tags 2025-05-23 21:47:08 -04:00
Joe Betz
105391403f Enable scale subresource in generated validations 2025-05-23 21:47:08 -04:00
Joe Betz
a3eddf7d85 Add declarative validation testing for replicationcontroller/scale 2025-05-23 21:47:07 -04:00
Joe Betz
356f395f0d Enable declarative validation for replicationcontroller/scale 2025-05-23 21:47:07 -04:00
Joe Betz
030b4ab9cc Add declarative validation testing to Scale.spec.replicas 2025-05-23 21:47:07 -04:00
Joe Betz
48e1079cf0 Add subresource mapping support to ValidateDeclaratively and introduce configs
# Conflicts:
#	staging/src/k8s.io/apiserver/pkg/registry/rest/validate_test.go
2025-05-23 21:47:07 -04:00
Joe Betz
8c5c5fb761 Add origin and use apivalidation.ValidateNonnegativeField for Scale.spec.replicas validation.
This does not change the resulting errors but it makes declarative validation testing easier.
2025-05-23 21:47:07 -04:00
Joe Betz
d0f6fe30bf Add k8s:minimum validation to Scale.spec.replicas
This applies to all group version kinds of Scale.  Validation-gen must be enabled for all at the
same time since our testing checks that cross-GV declarative validation to matches.
2025-05-23 21:47:07 -04:00
Joe Betz
ffb4e003f7 Enable validation-gen for scale group-versions
This adds declarative validation for all all versioned types of Scale
since our testing uses apitesting.VerifyVersionedValidationEquivalence,
will fail if we don't convert them all at the same time.
2025-05-23 21:47:06 -04:00
Kubernetes Prow Robot
3044a4ce87 Merge pull request #131934 from cpanato/update-go-main
[go] Bump dependencies, images and versions used to Go 1.24.3 and distroless iptables
2025-05-23 15:58:41 -07:00
Kubernetes Prow Robot
7f74d2b407 Merge pull request #131842 from michaelasp/compatmetrics
Add metrics for compatibility version
2025-05-23 15:58:35 -07:00
Kubernetes Prow Robot
35c3bdc2e3 Merge pull request #131928 from pohly/dra-kubeletplugin-docs
DRA kubeletplugin: some doc updates
2025-05-23 11:28:35 -07:00
Kubernetes Prow Robot
0405568a53 Merge pull request #131919 from neolit123/1.34-update-system-validators-to-v1.10.1
vendor: update system-validators to v1.10.1
2025-05-23 09:22:35 -07:00
Carlos Panato
488c94735c Bump dependencies, images and versions used to Go 1.24.3 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-05-23 08:58:13 -04:00
Kubernetes Prow Robot
86da819709 Merge pull request #131693 from ania-borowiec/staging_repo_refactoring_action_type
Remove package protected fields from ActionType
2025-05-23 05:30:35 -07:00
Kubernetes Prow Robot
bf2acf341e Merge pull request #130628 from googs1025/chore/nodeaffinity
chore(scheduler): add filter integration tests for missing part plugins: NodeAffinity plugin
2025-05-23 04:24:36 -07:00
Patrick Ohly
7215de79b3 DRA kubeletplugin: some doc updates
The TODO was resolved and the "seamless update" PR merged already in 1.33.
The updated guidance in NodeUnprepareResources is meant to emphasize
existing practice.
2025-05-23 13:05:42 +02:00
googs1025
01820ff7c2 chore(scheduler): add filter integration tests for missing part plugins: NodeAffinity plugin
Signed-off-by: googs1025 <googs1025@gmail.com>
2025-05-23 18:02:32 +08:00
Ania Borowiec
151d9d79f4 Remove package protected field updatePodOther from ActionType. Make ActionType.None public 2025-05-23 09:51:35 +00:00
Kubernetes Prow Robot
122219790f Merge pull request #131803 from pohly/dra-resource-slice-flake
DRA E2E: reduce risk of flake in ResourceSlice stress test
2025-05-23 02:08:36 -07:00
Lubomir I. Ivanov
7287dcd2fb vendor: update system-validators to v1.10.1 2025-05-23 09:18:33 +03:00
Dawei Wei
b35c5c0a30 e2e: Fix shadowed error in reboot test and clean up containers after reboot test (#131699)
* Fix test flakiness caused by shadowed error in reboot test and stale pods affecting eviction test

- Fixed a bug in `ExecCommandInContainerWithFullOutput` usage in `hybrid_network.go` where the `err` variable was shadowed, causing test failures to be silently ignored.
- Added cleanup logic in `eviction.go` to explicitly delete pods created by the reboot node test (e.g., `img-puller`, `reboot-host-test-windows`) before starting the eviction test.
- This improves reliability of the eviction test when the reboot test runs beforehand and leaves behind memory-consuming pods.

* Add cleanup containers in reboot node test

* Workaround for Calico HNS issue by avoiding eviction of undeletable pods

Add a workaround for a known Calico issue (https://github.com/projectcalico/calico/issues/6974) where pods on Windows nodes may become undeletable after a reboot. This causes the eviction manager to attempt evicting these pods but fail due to HNS namespace deletion errors.

The workaround avoids scheduling critical test pods on rebooted nodes to prevent interference.

TODO: Remove this workaround once the Calico issue is resolved.

* Fix the lint issue.

* Address comments
2025-05-22 12:40:35 -07:00
Kubernetes Prow Robot
b5608aea94 Merge pull request #131845 from serathius/unify-metrics
Unify references to group resource in metrics
2025-05-22 07:32:35 -07:00
Kubernetes Prow Robot
8f5a33768a Merge pull request #131891 from SergeyKanzhelev/renameGoogleGroups
renamed SIG Node google groups
2025-05-22 00:14:36 -07:00
Kubernetes Prow Robot
013c745c2d Merge pull request #131749 from cartermckinnon/kubelet-lease
fix(kubelet): update lease duration when config changes
2025-05-21 14:06:35 -07:00
Sergey Kanzhelev
f79012a0db renamed SIG Node google groups 2025-05-21 20:45:01 +00:00
Kubernetes Prow Robot
fa6d252d84 Merge pull request #131746 from haircommander/e2e-label
e2e: add corresponding featuregate label to node features
2025-05-21 13:02:35 -07:00
Kubernetes Prow Robot
8aae5398b3 Merge pull request #131881 from neolit123/1.34-update-system-validators-to-v1.10.0
vendor: update system-validators to v1.10.0
2025-05-21 09:22:41 -07:00
Kubernetes Prow Robot
9959b56b8d Merge pull request #131868 from gnufied/remove-superflous-expansion-calls
Remove superflous expansion calls if controller finished expansion
2025-05-21 09:22:34 -07:00
Kubernetes Prow Robot
52602cd224 Merge pull request #131883 from adrianmoisey/bump-netlink
Bump github.com/vishvananda/netlink to v1.3.1
2025-05-21 08:16:42 -07:00
Kubernetes Prow Robot
9e48525079 Merge pull request #131880 from neolit123/1.34-fix-failing-dryrun-e2e
kubeadm: fix dryrun-latest e2e by updating cluster-info fixture
2025-05-21 08:16:34 -07:00
Kubernetes Prow Robot
bad2466ebf Merge pull request #131879 from mkumatag/update_agnhost
update baseimage for agnhost
2025-05-21 06:22:34 -07:00
Adrian Moisey
32c45ecf10 Bump github.com/vishvananda/netlink to v1.3.1
hack/pin-dependency.sh github.com/vishvananda/netlink v1.3.1
hack/update-vendor.sh
2025-05-21 13:10:02 +02:00
Lubomir I. Ivanov
aea2743e4e vendor: update system-validators to v1.10.0 2025-05-21 12:31:52 +03:00
Manjunath A Kumatagi
96e4cc65fb update baseimage 2025-05-21 09:09:46 +00:00
Lubomir I. Ivanov
c5f368522d kubeadm: fix dryrun-latest e2e by updating cluster-info fixture
Recently in PR 131741 the kubeadm fixture for cluster-info
in dryrun.go was updated to remove the 'preferences' struct.

This means that the hardcoded JWS signature of the cluster-info
fixture must also be updated.

Update the signature to the expected one to fix e2e
failures in dryrun-latest.

https://testgrid.k8s.io/sig-cluster-lifecycle-kubeadm#kubeadm-kinder-dryrun-latest
2025-05-21 12:09:40 +03:00
Kubernetes Prow Robot
6da56bd4b7 Merge pull request #131752 from aramase/aramase/f/kep_3331_v1_api
Duplicate v1beta1 AuthenticationConfiguration to v1
2025-05-20 20:54:34 -07:00
Kubernetes Prow Robot
6407d3b76e Merge pull request #131825 from yanhuan0802/fix-clean-addIndexers-comment
cleanup: remove error comment of AddIndexers func
2025-05-20 19:46:33 -07:00
Kubernetes Prow Robot
74099b20bc Merge pull request #131827 from nicklasfrahm/gomod-docs
docs: avoid broken link
2025-05-20 18:24:41 -07:00
Kubernetes Prow Robot
707efc4e51 Merge pull request #131677 from lalitc375/master
[Kubeadm]: Add support for ECDSA-P384 encryption algorithm
2025-05-20 18:24:35 -07:00
Anish Ramasekar
67345417c0 Update tests to use v1 for AuthenticationConfiguration
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-05-20 16:42:23 -07:00
Anish Ramasekar
aea874e5e4 Duplicate v1beta1 AuthenticationConfiguration to v1
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-05-20 16:28:49 -07:00
Kubernetes Prow Robot
d202031fe0 Merge pull request #131871 from dims/add-a-list-of-modules-that-should-be-pinned-at-current-versions
Add a list of modules that should be pinned at current versions
2025-05-20 16:10:34 -07:00
Davanum Srinivas
c509e22d11 Add a list of modules that should be pinned at current versions
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-05-20 18:05:57 -04:00
Kubernetes Prow Robot
a7061bcc95 Merge pull request #131860 from arpitjain099/feature/fix-build-dependencies-yaml-file
Fix incorrect URL in build/dependencies.yaml file
2025-05-20 14:44:43 -07:00
Kubernetes Prow Robot
b6c0d7de96 Merge pull request #131561 from JoelSpeed/add-kube-api-linter
Add kube-api-linter verify scripts
2025-05-20 14:44:33 -07:00
Kubernetes Prow Robot
1d93307673 Merge pull request #131865 from carlory/fix-131834
fix flaky test:  ResourceQuota should verify ResourceQuota with terminating scopes through scope selectors
2025-05-20 13:38:12 -07:00
Kubernetes Prow Robot
6729ebd17e Merge pull request #131849 from mortent/AllocatorTestWithAttributes
DRA: Add an allocator test that uses an attribute selector
2025-05-20 13:38:05 -07:00