Commit Graph

128329 Commits

Author SHA1 Message Date
Henrik Schmidt
3ae5312c97 Generate register files for all examples
(cherry picked from commit b365634a0d0b2456e918729a9e4b1a4950902dc9)
2025-02-23 19:51:12 +01:00
Lionel Jouin
fb11415a69 add simpletype pkg in v1 for register-gen test
Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2025-02-23 19:51:12 +01:00
Lionel Jouin
e9c47f8601 Add codegen::register to hack/update-codegen.sh
Co-authored-by: Joe Betz <jpbetz@google.com>
Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2025-02-23 19:51:12 +01:00
Lionel Jouin
dc4fce61ce Add missing imports in register-gen
Due to a recent change in k8s.io/gengo/v2, the register-gen is
missing 2 imports.The imports were previously auto inserted during
the code generation by k8s.io/gengo/v2.
Now, instead, they are directly imported by the register-gen.

An output_tests has been added to register-gen. This generates an
example, which would have been invalid with these changes.

Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2025-02-23 19:51:12 +01:00
xin.li
bc4ae15d77 fix wrong assertion on tests
Signed-off-by: xin.li <xin.li@daocloud.io>
2025-02-23 16:53:50 +08:00
Kubernetes Prow Robot
ef54ac803b
Merge pull request #130187 from mansikulkarni96/129084
fix:  Sweep and fix stat, lstat, evalsymlink usage for go1.23 on Windows
2025-02-22 11:50:26 -08:00
walnut07
a933481f79 use const rather than string in cgroup_v2_manager_linux.go 2025-02-22 21:58:04 +09:00
Patrick Ohly
a20a959b2c hack: split up test-dockerized.sh
This enables testing command and integration tests separately in CI jobs. The
goal is to reduce pull-kubernetes-integration to testing really just the Go
test/integration tests and to add a pull-kubernetes-cmd job for command tests.

hack/jenkins/test-dockerized.sh does the same as before because some jobs will
probably continue to use it.
2025-02-22 09:39:54 +01:00
Kubernetes Prow Robot
4032177faf
Merge pull request #129557 from googs1025/feature/add_QueueingHint_for_VolumeAttachment_deletion_events
feature(scheduler): add queueinghint for volumeattachment deletion
2025-02-22 00:10:26 -08:00
googs1025
86f504284c feature(scheduler): add queueinghint for volumeattachment deletion 2025-02-22 14:57:41 +08:00
Kubernetes Prow Robot
0a08529144
Merge pull request #129770 from sunnylovestiramisu/promoteGA
Promote Beta AnyVolumeDataSource to GA
2025-02-21 16:50:26 -08:00
Tim Allclair
ddd4c56893 Fix pod resize E2E tests after forbidding memory limit decrease 2025-02-21 15:46:33 -08:00
Jordan Liggitt
1f642c79c3
Drop winsymlink go 1.23 workaround
(cherry picked from commit 3990b6324d0427eaf9ff970da2be02711567ef5f)
2025-02-21 18:02:28 -05:00
mansikulkarni96
237aadab89
[hostutil_windows] Remove unix workaround 2025-02-21 18:02:28 -05:00
mansikulkarni96
2a32b21372
[test] handle ModeIrregular in getFilePerm for Go 1.23 2025-02-21 18:02:28 -05:00
mansikulkarni96
b9f6013c12
fix: handle socket file detection on Windows
Cherry-picked 4060ee60c1
Update socket file detection logic to use os.Stat as per upstream
Go fix for golang/go#33357. This resolves
the issue where socket files could not be properly identified on
Windows systems.
2025-02-21 18:02:28 -05:00
mansikulkarni96
dfc8b271cf
[kubelet] Make use of os.ModeSocket info 2025-02-21 18:02:25 -05:00
Kubernetes Prow Robot
b84cb65f93
Merge pull request #129370 from andyzhangx/adopt-go1.23-behavior-change
fix: adopt go1.23 behavior change in mount point parsing on Windows#2
2025-02-21 12:50:26 -08:00
Patrick Ohly
9492a2ca9b DRA: add dedicated integration tests
DRA had integration tests as part of test/integration/scheduler_perf (for the
scheduler plugin) and some others scattered in different
places (e.g. test/integration/resourceclaim for device status).

The new test/integration/dra is meant to become the common location for all
DRA-related integration tests. This makes it simpler to share common setup
code.
2025-02-21 20:48:04 +01:00
Kubernetes Prow Robot
6025e23ab6
Merge pull request #130348 from aojea/revert-128640-spreadkubeletlaod
Revert "Add random interval to nodeStatusReport interval every time after an actual node status change"
2025-02-21 11:36:32 -08:00
Kubernetes Prow Robot
f876a7d469
Merge pull request #130328 from richabanker/flagsz-apiserver
Remove Flagz feature-gate check before populating serverRunOptions.Flagz
2025-02-21 11:36:25 -08:00
Kubernetes Prow Robot
354299bea0
Merge pull request #130323 from Jefftree/ssr-test-fix
Fix SelfSubjectReview test to decouple beta and GA types
2025-02-21 08:38:38 -08:00
Kubernetes Prow Robot
05b526c2d7
Merge pull request #130242 from serathius/watchcache-test
Test continuations and exact revision LISTs
2025-02-21 08:38:26 -08:00
Antonio Ojea
2418b54ee2
Revert "Add random interval to nodeStatusReport interval every time after an actual node status change" 2025-02-21 17:29:08 +01:00
Kubernetes Prow Robot
76f1c595ba
Merge pull request #130342 from serathius/etcd-3.6-image
Build etcd v3.6.0-rc.0 image
2025-02-21 03:40:26 -08:00
Marek Siarkowicz
1289f43f73 Build etcd v3.6.0-rc.0 image 2025-02-21 10:31:05 +01:00
Marek Siarkowicz
034285dc47 Test continuations and exact revision LISTs 2025-02-21 09:59:37 +01:00
Kubernetes Prow Robot
fa03b93d25
Merge pull request #130326 from elizabeth-dev/statefulset-framework-return-errors
test(statefulset): return errors in framework function GetPodList for upstream handling
2025-02-21 00:06:26 -08:00
Kubernetes Prow Robot
de7708f06e
Merge pull request #130316 from googs1025/flake/TestSchedulerGuaranteeNonNilNodeInSchedulingCycle
flake(scheduler): fix allWaitSchedulingPods data race failed
2025-02-20 21:04:26 -08:00
Cici Huang
e1b3c8fd9b Add e2e test 2025-02-20 21:00:01 -08:00
Cici Huang
06fa6158a0 Update namespace deletion process when feature gate OrderedNamespaceDeletion enabled. 2025-02-20 20:33:46 -08:00
Kubernetes Prow Robot
97c7a16496
Merge pull request #130330 from tallclair/forbid-memory-limit-decrease
Fix TweakContainers comment
2025-02-20 19:48:32 -08:00
Kubernetes Prow Robot
5822bb5232
Merge pull request #130101 from danwinship/controller-ip-canonicalization
Canonicalize IPs written out by controllers
2025-02-20 19:48:26 -08:00
Kubernetes Prow Robot
9bf60d06e0
Merge pull request #129219 from danwinship/networkdevicedata-validation
Require canonicalization of NetworkDeviceData IPs
2025-02-20 16:14:26 -08:00
Tim Allclair
7098221ae5 Fix TweakContainers comment 2025-02-20 16:09:58 -08:00
Kubernetes Prow Robot
f67b346129
Merge pull request #130298 from thockin/max_of_of
Fix dup word in API doc
2025-02-20 15:00:34 -08:00
Kubernetes Prow Robot
19feb379b3
Merge pull request #130289 from marosset/windows-unit-tests-cmd-kubeadm-app-util-static-pod-fixes
Fixing k8s.io/kubernetes/cmd/kubeadm/app/util/staticpod unit tests on Windows
2025-02-20 15:00:26 -08:00
Kubernetes Prow Robot
f90682bf42
Merge pull request #130183 from tallclair/forbid-memory-limit-decrease
[FG:InPlacePodVerticalScaling] Forbid memory limit decrease
2025-02-20 13:46:33 -08:00
Kubernetes Prow Robot
b2021035c7
Merge pull request #129888 from jsafrane/selinux-controller-tests
Add SELinux controller e2e tests
2025-02-20 13:46:26 -08:00
Henry Wu
4e651addd8 Add statusz endpoint for kube-scheduler 2025-02-20 13:16:06 -08:00
Sunny Song
e986217c21 Update Generated API Code 2025-02-20 21:14:03 +00:00
Richa Banker
d5c804b14d Remove Flagz feature-gate check before populating serverRunOptions.Flagz 2025-02-20 12:43:11 -08:00
Elizabeth Martin Campos
a49b336e83
test(statefulset): return errors in framework function GetPodList for upstream handling
See #130159
2025-02-20 21:24:15 +01:00
Jefftree
92cc680c8a Fix SelfSubjectReview test to decouple beta and GA types from the same apiserver 2025-02-20 19:32:16 +00:00
Kubernetes Prow Robot
052d7a5310
Merge pull request #129790 from aojea/event_name
events: ensure the name is valid
2025-02-20 11:00:27 -08:00
Dan Winship
2636aa35e3 Require canonicalization of NetworkDeviceData IPs
There's no reason to allow non-standard or non-canonical IP values in
new APIs.
2025-02-20 12:49:03 -05:00
Kubernetes Prow Robot
6be1530bbc
Merge pull request #130311 from cpanato/update-rules
update publishing rules for rel 1.29/30/31 to use go1.23.6
2025-02-20 09:46:26 -08:00
Tim Hockin
ec66befdcb
Fix dup word in API doc 2025-02-20 09:02:57 -08:00
Kubernetes Prow Robot
afc57a7521
Merge pull request #130280 from serathius/watchcache-test-refactor
Refactor TestList to allow testing continuations and exact
2025-02-20 07:20:27 -08:00
googs1025
04b048dcec flake(scheduler): fix allWaitSchedulingPods data race failed 2025-02-20 22:37:06 +08:00