Commit graph

135259 commits

Author SHA1 Message Date
Kubernetes Prow Robot
cabdd596c2
Merge pull request #136683 from pohly/dra-integration-timeouts
DRA integration: increase timeout, II
2026-02-02 14:30:28 +05:30
Patrick Ohly
47c3b10e8d DRA integration: increase timeout, II
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-02-02 09:04:57 +01:00
Kubernetes Prow Robot
8c9c67c000
Merge pull request #136667 from palnabarun/update-go-12412-1256
Update publishing rules to reflect 1.25.6 and 1.24.12
2026-02-01 02:24:26 +05:30
Nabarun Pal
d85557c867 Update publishing rules to reflect 1.25.6 and 1.24.12
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2026-02-01 00:19:03 +05:30
Kubernetes Prow Robot
80833a543b
Merge pull request #136654 from dims/fix-local-e2e-cni-ptp
hack: switch local-up-cluster to ptp CNI for reliable DIND networking
2026-02-01 00:18:24 +05:30
Kubernetes Prow Robot
ff38eebb98
Merge pull request #136661 from atombrella/feature/fix_test_TestContainerMapCloneUnshared
Fix typo in `TestContainerMapCloneUnshared`
2026-01-31 17:00:24 +05:30
Kubernetes Prow Robot
07a697046f
Merge pull request #136638 from Jefftree/kcm-context
Add ctx to endpointslicemirroring controller
2026-01-31 05:30:24 +05:30
Davanum Srinivas
cfcb10ef8a
hack: switch local-up-cluster to ptp CNI for reliable DIND networking
The ci-kubernetes-local-e2e job has been flaky (~40-45% success rate)
with intermittent DNS/service connectivity failures. The root cause is
that bridge CNI requires br_netfilter and bridge-nf-call-iptables
kernel settings, which don't work reliably in docker-in-docker.

This switches to ptp (point-to-point) CNI, which creates direct veth
pairs between pods and host namespace. No bridge means no br_netfilter
dependency. This is the same approach KIND uses and it works reliably.

Changes:
- Replace bridge CNI with ptp CNI plugin
- Configure kernel network parameters for DIND (route_localnet,
  arp_ignore, ip_forward) required for ptp and iptables-based kube-proxy
- Remove CoreDNS pod delete/restart workaround from 1168b11875 that was
  masking the underlying networking issues (no longer needed)
- Add CoreDNS log capture during cleanup for debugging DNS issues

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-30 16:25:05 -05:00
Kubernetes Prow Robot
de9ac07430
Merge pull request #128606 from pohly/ktesting-interrupt
ktesting: abort entire test suite on SIGINT + /dev/tty
2026-01-31 02:10:24 +05:30
Kubernetes Prow Robot
c04907b025
Merge pull request #135790 from 0x5457/fix/attach-reattach-message-missing-namespace
Fix missing namespace flag in attach reattach message
2026-01-30 23:36:31 +05:30
Kubernetes Prow Robot
49fe2ecce1
Merge pull request #135719 from Argh4k/waiting-pod-integration-test
Put pods preempted in WaitOnPermit to backoff queue
2026-01-30 23:36:24 +05:30
Mads Jensen
2a0916850a Fix typo in an if in TestContainerMapCloneUnshared 2026-01-30 19:01:50 +01:00
Kubernetes Prow Robot
22e1ea92cd
Merge pull request #136643 from ardaguclu/kubectl-kuberc-beta
Promote kubectl kuberc commands to beta
2026-01-30 22:20:32 +05:30
Kubernetes Prow Robot
c9df8cdf21
Merge pull request #135942 from aman4433/fix-apf-timeout-header-flake
test: skip APF header assertions after request timeout
2026-01-30 22:20:23 +05:30
Kubernetes Prow Robot
f4938574d4
Merge pull request #134830 from MatteoFari/matteofari/enable-jsontags-linter
enabled jsontags for kal and added exceptions because of non modifiable :Port
2026-01-30 17:55:42 +05:30
Patrick Ohly
36bcd43fca ktesting: abort entire test suite on SIGINT
When aborting an integration test with CTRL-C while it runs,
the current test fails and etcd exits. But additional tests were still being
started and the failed slowly because they couldn't connect to etcd.

It's better to fail additional tests in ktesting.Init when the test run has
already been interrupted.

While at it, also make it a bit more obvious that testing was interrupted by
logging it and update one comment about this and clean up the naming of
contexts in the code.

Example:

    $ go test -v ./test/integration/quota
    ...
    I1106 11:42:48.857162  147325 etcd.go:416] "Not using watch cache" resource="events.events.k8s.io"
    I1106 11:42:48.857204  147325 handler.go:286] Adding GroupVersion events.k8s.io v1 to ResourceManager
    W1106 11:42:48.857209  147325 genericapiserver.go:765] Skipping API events.k8s.io/v1beta1 because it has no resources.
    ^C

    INFO: canceling test context: received interrupt signal

    {"level":"warn","ts":"2024-11-06T11:42:48.984676+0100","caller":"embed/serve.go:160","msg":"stopping insecure grpc server due to error","error":"accept tcp 127.0.0.1:44177: use of closed network connection"}
    ...
    I1106 11:42:50.042430  147325 handler.go:142] kube-apiserver: GET "/apis/rbac.authorization.k8s.io/v1/clusterroles" satisfied by gorestful with webservice /apis/rbac.authorization.k8s.io/v1
        test_server.go:241: timed out waiting for the condition
    --- FAIL: TestQuota (11.45s)
    === RUN   TestQuotaLimitedResourceDenial
        quota_test.go:292: testing has been interrupted: received interrupt signal
    --- FAIL: TestQuotaLimitedResourceDenial (0.00s)
    === RUN   TestQuotaLimitService
        quota_test.go:418: testing has been interrupted: received interrupt signal
    --- FAIL: TestQuotaLimitService (0.00s)
    FAIL
2026-01-30 12:35:57 +01:00
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
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