Commit graph

135313 commits

Author SHA1 Message Date
Patrick Ohly
8946e86e3a ktesting: properly clean up
When cleaning up the progress channel properly (stop signal delivery, closing
the channel), the loop dumping progress reports no longer needs to check for
the separate shutdown context. Instead, it can distinguish between "signal
received" and "channel closed".

The signal context was getting cleanup by canceling it, but a channel is better
because it avoids the slightly misleading "received interrupt signal"
cancellation when the test was only shutting down.
2026-01-30 12:35:57 +01:00
Patrick Ohly
d0141640fe ktesting: print info and progress to /dev/tty
The "received interrupt signal" is useful also when running with "go test"
without -v because it shows that the shutdown has started.

But more important is that a progress report gets shown because that feature is
useful in particular when "go test" produces no output while it runs.
2026-01-30 12:35:57 +01:00
Kubernetes Prow Robot
3a477f2332
Merge pull request #135458 from Argh4k/master
Pass threshold to collected metrics in scheduler perf.
2026-01-30 15:11:44 +05:30
Maciej Wyrzuc
f1f3a08ba7 Put pods preempted in WaitOnPermit in backoff queue 2026-01-30 09:38:17 +00:00
Matteo Fari
b18b7aa966 modified exceptions to match the new KAL 2026-01-30 10:07:13 +01:00
Matteo Fari
2182441bdd enabled jsontags for kal and added exceptions
enabled jsontags for kal and added exceptions
2026-01-30 09:58:57 +01:00
Maciej Wyrzuc
264f403ffb Pass threshold to collected metrics in scheduler perf.
With this change, the metrics for which the threshold is defined, will have a "Threshold" data point that should be visible in perf dash.
2026-01-30 08:48:52 +00:00
Aman Shrivastava
8d0efb4805 test: skip APF header assertions after request timeout 2026-01-30 13:58:20 +05:30
Arda Güçlü
82826975c9 Add e2e tests for kubectl kuberc commands 2026-01-30 11:15:12 +03:00
Kubernetes Prow Robot
a7b940cde2
Merge pull request #131068 from soltysh/sample_controller_scheme
Switch sample-controller to use NewClientset supporting applyconfiguration rather than deprecated NewSimpleClientset
2026-01-30 12:09:42 +05:30
Arda Güçlü
4e47d34a0d Promote kubectl kuberc commands to beta 2026-01-30 09:23:14 +03:00
Kubernetes Prow Robot
702e2a3800
Merge pull request #136622 from guettli/e2e-better-msg-when-no-address-found
e2e: Better error message, when no InternalIP was found.
2026-01-30 08:01:48 +05:30
Jefftree
063caad801 Fix unit tests 2026-01-29 17:55:08 -05:00
Jefftree
1e67dbfefb Add ctx to endpointslicemirroring controller 2026-01-29 17:07:14 -05:00
Kubernetes Prow Robot
c8e45a3331
Merge pull request #136620 from yongruilin/master_vg-fix-fuzz
fix DeclarativeValidation fuzzing test panic and refactor subresource handlin
2026-01-30 03:08:04 +05:30
Kubernetes Prow Robot
4caf96e199
Merge pull request #136598 from dgrisonnet/update-go-systemd
Bump go-systemd to v22.7.0
2026-01-30 03:07:56 +05:30
Kubernetes Prow Robot
3760cdc64a
Merge pull request #136482 from aaron-prindle/dv-feature-gate-ga
Graduate DeclarativeValidation feature gate to GA
2026-01-30 03:07:48 +05:30
Kubernetes Prow Robot
cc0fdc1fe2
Merge pull request #136509 from pohly/client-go-informer-deadlock
client-go informers: fix potential deadlock
2026-01-30 01:22:14 +05:30
Kubernetes Prow Robot
8f4c197169
Merge pull request #136424 from JoelSpeed/podgroup-union
Mark PodGroupPolicy up with openapi union member tags
2026-01-30 01:22:06 +05:30
Kubernetes Prow Robot
5178fee46e
Merge pull request #135638 from cartermckinnon/enforce-compressible-doc
doc(kubelet): enforceNodeAllocatable compressible options
2026-01-30 01:21:57 +05:30
Kubernetes Prow Robot
9b8aa0b585
Merge pull request #134867 from ShaanveerS/enable-kal-nodurations
Enable nodurations rule for Kube API Linter
2026-01-30 01:21:49 +05:30
Kubernetes Prow Robot
4b5e40aacd
Merge pull request #136190 from pohly/logcheck-update
test dependencies: logtools v0.10.0
2026-01-29 23:31:58 +05:30
Kubernetes Prow Robot
f1d3ab9cf3
Merge pull request #134925 from ShaanveerS/shaan/imagepolicy-on-joel
feat(kal): enforce either optional or required tag on imagepolicy API group
2026-01-29 23:31:51 +05:30
Kubernetes Prow Robot
af6acb8016
Merge pull request #136624 from pohly/dra-integration-timeouts
DRA integration: increase timeout
2026-01-29 22:39:58 +05:30
Kubernetes Prow Robot
92e82427f5
Merge pull request #136623 from macsko/scheduling_queue_test_cleanup
Cleanup scheduling queue tests to use cmp.Diff instead of direct pod comparisons
2026-01-29 22:39:50 +05:30
Rohit Chaudhari
cbf8fab05a
Clean up blank lines in container_manager_test.go
Removed unnecessary blank lines in the test file.
2026-01-29 21:40:13 +05:30
Kubernetes Prow Robot
250e18904e
Merge pull request #136050 from ShaanveerS/fix-selinuxwarning-verbosity
fix(controller/volume): convert V().Error() to V().Info()
2026-01-29 21:11:58 +05:30
Kubernetes Prow Robot
8d05750d56
Merge pull request #135262 from cmuuss/auditrulegroupwildcards
added wildcard * for GroupResources to allow filtering of noisy subgr…
2026-01-29 21:11:51 +05:30
Maciej Szulik
3e6de91064
Run make update
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-01-29 16:06:16 +01:00
Maciej Szulik
afaa8c19fe
Update update-codegen.sh with sample-controller exception for openapi
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-01-29 16:06:16 +01:00
Maciej Szulik
9c0a9cb538
Switch to using NewClientset rather than deprecated NewSimpleClientset
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-01-29 16:06:16 +01:00
Maciej Szulik
c45c6f1842
Generate applyconfigurations and openapi for sample-controller
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-01-29 16:06:12 +01:00
Maciej Szulik
1d23ecbdde
Copy models-schema generator to sample-controller
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-01-29 16:03:31 +01:00
Maciej Szulik
7eb548f9c3
Drop unused boilerplate file
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-01-29 16:03:31 +01:00
Omer Aplatony
10f1b28712
test(hpa): add sample-external-metrics-server (#136251)
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2026-01-29 19:49:49 +05:30
Rohit Chaudhari
cbf051361f Fix formatting issues in container_manager_test.go 2026-01-29 19:42:53 +05:30
Patrick Ohly
b96dd6d2f8 DRA integration: increase timeout
When running with race detection enabled several tests have suffered from
timeouts recently, with no obvious commit which could be blamed for this.
Let's use a common constant and make it larger.
2026-01-29 14:13:26 +01:00
Maciej Skoczeń
01540ed1d5 Cleanup scheduling queue tests to use cmp.Diff instead of direct pod comparisons 2026-01-29 13:08:00 +00:00
Thomas Güttler
9072d47b75 e2e: Better error message, when no InternalIP was found.
Signed-off-by: Thomas Güttler <thomas.guettler@syself.com>
2026-01-29 13:46:33 +01:00
Kubernetes Prow Robot
c99976db2a
Merge pull request #136087 from my-git9/cod
Update CoreDNS to v1.14.1
2026-01-29 17:27:51 +05:30
Patrick Ohly
858d26fd45 DRA structured: remove obsolete, confusing comment 2026-01-29 12:53:47 +01:00
Patrick Ohly
5c19239290 DRA allocator: promote experimental -> incubating -> stable
The previous incubating becomes stable, experimental the new incubating. Now
experimental and incubating are identical until we merge more experimental
changes again.

Specifically, these commands where used:

    rm -rf stable
    mv incubating stable
    mv stable/allocator_incubating.go stable/allocator_stable.go
    mv stable/pools_incubating.go stable/pools_stable.go
    sed -i -e 's/package incubating/package stable/' stable/*.go
    cp -a experimental incubating
    mv incubating/allocator_experimental.go incubating/allocator_incubating.go
    mv incubating/pools_experimental.go incubating/pools_incubating.go
    sed -i -e 's/package experimental/package incubating/' incubating/*.go

Some other packages then need to be adapted, in particular the
TestAllocatorSelection test.
2026-01-29 12:52:57 +01:00
yongruilin
fbefdc816f refactor subresource handling in versioned validation fuzz tests
Refactor TestVersionedValidationByFuzzing to use a declarative map,
subresourceOnly, for resources that must be validated via a specific
subresource path (like autoscaling/Scale).

GVKs not in this map default to root-level validation (""), which is
sufficient for resources that share validation logic between their root
and subresources. This replaces the previous ad-hoc special-casing
with a cleaner, extensible mapping.
2026-01-29 10:30:12 +00:00
yongruilin
64140b8385 fuzz internal objects in versioned validation tests
Fuzzing must be performed on the internal version of objects because
custom fuzzing functions are typically registered for internal types.
This ensures that all fields are properly initialized with random values
before being converted to various API versions for validation.

Move fuzzing logic into VerifyVersionedValidationEquivalence via a new
WithFuzzer option. This also fixes a panic that occurred when attempting
to fuzz types without an internal version (e.g., APIGroupList) by adding
a nil check after internal conversion.
2026-01-29 10:29:55 +00:00
Karthik Bhat
e44e06c53f Remove usage of deprecated functions from ktesting package 2026-01-29 14:51:59 +05:30
Christian Muuß
ea3bfd9ea0 feat: Allow wildcard '*' for API groups in audit policy rules 2026-01-29 08:17:10 +00:00
xin.li
e1cbecc9d2 update vendor
Signed-off-by: xin.li <xin.li@daocloud.io>
2026-01-29 14:43:06 +08:00
xin.li
386c4df2c2 bump corefile-migration
Signed-off-by: xin.li <xin.li@daocloud.io>
2026-01-29 14:08:45 +08:00
xin.li
1713d43d13 update coredns to 1.14.1
Signed-off-by: xin.li <xin.li@daocloud.io>
2026-01-29 13:56:47 +08:00
xin.li
4823e1fade Update CoreDNS to v1.14.0
Signed-off-by: xin.li <xin.li@daocloud.io>
2026-01-29 13:56:47 +08:00