Commit Graph

130108 Commits

Author SHA1 Message Date
Maciej Szulik
76f95271a5 kuberc: make update and update-vendor
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-05-23 11:02:58 +02:00
Maciej Szulik
b8e6de08e1 kuberc: add API violation exceptions
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-05-23 10:56:59 +02:00
Maciej Szulik
c29accaf58 kuberc: introduce fuzzing for kuberc types
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-05-23 10:56:59 +02:00
Arda Güçlü
b0370c483a Promote kuberc to beta
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-05-23 10:56:59 +02:00
Maciej Szulik
1f355e5b44 kuberc: pick the first known version when decoding + tests
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-05-23 10:56:59 +02:00
Maciej Szulik
0341b27c5d kuberc: align internal and v1alpha1 go-types with v1beta1
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-05-23 10:56:59 +02:00
Maciej Szulik
39195f9a46 kuberc: add v1beta1 types
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-05-23 10:56:59 +02: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
Kubernetes Prow Robot
148761ce2c Merge pull request #131840 from pohly/client-go-workqueue-wording
client-go workqueue: clarify parallel reenqueuing
2025-05-20 11:21:15 -07:00
Lalit Chauhan
637d234aae feat: Add support for ECDSA-P384 encryption algorithm
This commit introduces support for using ECDSA P-384 as an encryption
algorithm for generating certificates and keys within kubeadm.

The following changes are included:
- Defined the `EncryptionAlgorithmECDSAP384` constant in the kubeadm API types.
- Updated API documentation to reflect the new algorithm option ("ECDSA-P384").
- Added validation for `ECDSA-P384` in the cluster configuration.
- Implemented key generation logic for ECDSA P-384 keys in `pkiutil`
  (using `elliptic.P384()`).
- Added corresponding unit tests to verify the new algorithm's functionality
  in `pkiutil`.

This allows users to choose ECDSA P-384 for
kubeadm-managed clusters.
2025-05-20 17:08:56 +00:00
Morten Torkildsen
b98b86bd6a DRA: Add scheduler perf test for partitionable devices (#131771) 2025-05-20 09:57:16 -07:00
Morten Torkildsen
4cc2bded91 DRA: Add an allocator test that uses an attribute selector 2025-05-20 15:48:31 +00:00
Kubernetes Prow Robot
c40db09a0a Merge pull request #131741 from soltysh/deprecate_preferences
Deprecate kubeconfig's preference field in favor of kuberc
2025-05-20 08:11:18 -07:00
Kubernetes Prow Robot
889cd833a2 Merge pull request #131844 from pohly/dra-no-static-pods
DRA node: reject static pods which reference ResourceClaims
2025-05-20 07:07:24 -07:00
Kubernetes Prow Robot
444e2b4eb0 Merge pull request #131838 from dims/bump-google.golang.org/grpc-to-google-v1.72.1
Bump google.golang.org/grpc to google v1.72.1
2025-05-20 07:07:17 -07:00
carlory
f6fafba424 fix flacky test: ResourceQuota should verify ResourceQuota with terminating scopes through scope selectors
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-05-20 21:57:44 +08:00
Kubernetes Prow Robot
0afe2b839d Merge pull request #129983 from nickbp/master
feature(scheduler): Customizable pod selection and ordering in DefaultPreemption plugin
2025-05-20 05:09:15 -07:00
Maciej Szulik
8cf5e8db78 Deprecate kubeconfig's preference field in favor of kuberc
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-05-20 13:31:57 +02:00
Kubernetes Prow Robot
b20fca7484 Merge pull request #131855 from mortent/CleanupAllocatorTests
DRA: Clean up allocator tests
2025-05-20 02:49:15 -07:00
Kubernetes Prow Robot
4aa2652e5f Merge pull request #131628 from skitt/applyconfig-nil
applyconfig-gen: handle non-pointer types
2025-05-20 01:23:16 -07:00
Arpit Jain
c4a59afe9d Fix incorrect URL in build/dependencies.yaml file 2025-05-20 04:47:50 +00:00
Morten Torkildsen
5bb3f862a0 DRA: Clean up allocator tests 2025-05-20 01:46:55 +00:00
Kubernetes Prow Robot
d75a5811ef Merge pull request #131843 from pohly/resourcequota-scope-flake
ResourceQuota: partial fix "should verify ResourceQuota with terminating scopes through scope selectors" flake
2025-05-19 12:45:21 -07:00
Kubernetes Prow Robot
4e80b05087 Merge pull request #131704 from karlkfi/karl-watch-subtests
test: Use sub-tests in watch tests
2025-05-19 12:45:14 -07:00