Commit Graph

133662 Commits

Author SHA1 Message Date
Hank Freund
96edaa43d2 Set KubeletCrashLoopBackOffMax feature gate to default enabled for beta. 2025-11-03 17:30:17 +00:00
Kubernetes Prow Robot
67c3cb2228 Merge pull request #135056 from pohly/dra-pool-less-checking
DRA: fix "all" allocation with incomplete pools differently
2025-11-03 08:34:22 -08:00
Kubernetes Prow Robot
2649843ed0 Merge pull request #134951 from enj/enj/i/fix_kas_opt_owners
sig-auth: fix KAS options OWNERS
2025-11-03 08:34:14 -08:00
Kubernetes Prow Robot
3f1255dd5f Merge pull request #134913 from scaliby/remove-deprecated-es-api
Drop support for discoveryv1beta1.EndpointSlice in kubectl
2025-11-03 08:34:06 -08:00
Kubernetes Prow Robot
4f3a08592b Merge pull request #135057 from pohly/dra-e2e-conformance-candidates-removal
DRA E2E: stop labeling tests as ConformanceCandidate
2025-11-03 07:44:39 -08:00
Kubernetes Prow Robot
20bec178d2 Merge pull request #135038 from hoskeri/limit-proxy-bytes
Limit CONNECT proxy response header size
2025-11-03 07:44:32 -08:00
Kubernetes Prow Robot
b5c62b1b10 Merge pull request #134964 from sunya-ch/add-drop-devicebinding-fields
[DRA] Add dropDeviceBindingConditionsFields and fix immutable field on DeviceBindingConditions strategy test
2025-11-03 07:44:23 -08:00
Kubernetes Prow Robot
ec0f275e90 Merge pull request #134934 from siyuanfoundation/client-fg
change client go default features to versioned
2025-11-03 07:44:15 -08:00
Kubernetes Prow Robot
81877b94a6 Merge pull request #134914 from lalitc375/stability-levels1
Graduate a few soaked alpha tags to beta
2025-11-03 07:44:07 -08:00
Kubernetes Prow Robot
4b5369008a Merge pull request #135054 from bart0sh/PR205-DRA-extended-resources-e2e-revert-WithFlaky
DRA: revert "added WithFlaky() to the device plugin test case: supports extended resources together with ResourceClaim"
2025-11-03 06:02:28 -08:00
Kubernetes Prow Robot
0c0b513b87 Merge pull request #135053 from soltysh/kubectl_cleanup
Kubectl code cleanup
2025-11-03 06:02:21 -08:00
Kubernetes Prow Robot
4e5220939e Merge pull request #134927 from macsko/dont_delete_pods_with_deletiontimestamp
Don't preempt pods with DeletionTimestamp set
2025-11-03 06:02:14 -08:00
Kubernetes Prow Robot
98c63c0dbc Merge pull request #134920 from p0lyn0mial/upstream-watchlist-unsupported-wl-semantics-dr-client
dynamic-resource-allocation/client: expose IsWatchListSemanticsUnSupported
2025-11-03 06:02:07 -08:00
Patrick Ohly
6dd086536f DRA E2E: stop labeling tests as ConformanceCandidate
There's no plan anymore to promote these tests. They would have to be rewritten
to satisfy conformance test requirements (for example, self-contained and easy
to review) which doesn't seem worthwhile.
2025-11-03 14:02:34 +01:00
Kubernetes Prow Robot
b9bbdfa32f Merge pull request #132658 from tkashem/dra-plugin-timeout
kubelet: add a unit test that verifies that the dra plugin enforces timeout
2025-11-03 04:44:05 -08:00
Patrick Ohly
5e0d06082d DRA allocator: partial support transition between nodes, fix "is incomplete"
The main reason for the change is to fix the detection of incomplete pools.  On
contrast to the previous attempt to fix this, now additional work only gets
done when the current pool is not already known to be complete. In other words,
most of the time no additional work is needed.

When doing the additional checking, then some cases of "updated devices no
longer available for now" can be detected. This is not a full solution, but
because DRA drivers doing this will have problems with race conditions anyway,
this is not something that needs to be supported better. DRA drivers simply
shouldn't be doing this.

This adds back the test case from the original fix and a few more.
2025-11-03 13:18:38 +01:00
Patrick Ohly
a0e500ace3 Revert "DRA: Allow AllocationMode: All from multi-node resource pools"
This reverts commit 2e534d6da1.
It caused a performance regression, a different fix is needed.
2025-11-03 13:10:43 +01:00
Kubernetes Prow Robot
1c875ca501 Merge pull request #135052 from p0lyn0mial/upstream-watchlist-unsupported-wl-fix-test-gc-test
pkg/controller/garbagecollector/garbagecollector_test: wrap kubeClient with a client that doesn't support WatchList semantics.
2025-11-03 03:13:36 -08:00
Ed Bartosh
30de423597 Revert "added WithFlaky() to the device plugin test case: supports extended resources together with ResourceClaim"
This reverts commit edfa9a5bd2
as https://github.com/kubernetes/kubernetes/issues/133488 has been resolved.
2025-11-03 12:50:21 +02:00
Maciej Szulik
d3c2115441 Clean NewDefaultKubectlCommandWithArgs for readability
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-11-03 11:31:23 +01:00
Maciej Szulik
ac9120f607 Move PluginHandler to separate file
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-11-03 11:30:03 +01:00
Lukasz Szaszkiewicz
c832203707 pkg/controller/garbagecollector/garbagecollector_test: wrap kubeClient with a client that doesn't support WatchList semantics. 2025-11-03 10:41:49 +01:00
Kubernetes Prow Robot
5e2ad84f67 Merge pull request #134906 from carlory/fix-kubeadm-3229
kubeadm: added container runtime version check to preflight
2025-11-02 23:36:04 -08:00
Kubernetes Prow Robot
6822f9b0af Merge pull request #135045 from pohly/e2e-slow-priority-revert
Revert "E2E framework: start slow tests first"
2025-11-02 12:04:02 -08:00
Patrick Ohly
34021d451d Revert "E2E framework: start slow tests first"
This reverts commit cff07e7551.

The commit caused several kubeadm jobs to fail while executing all conformance
tests (including slow ones) in parallel. Sometimes execution took longer and
ran into the overall timeout, sometimes there was:

    [FAILED] Expected
        <int>: 440
    to be ==
        <int>: 400
    In [It] at: k8s.io/kubernetes/test/e2e/apimachinery/chunking.go:202

It looks like the tests are flaky and/or reveal a real bug when slow tests run
all in parallel at the same time.

This should work, but doesn't right now, so let's revert until that problem is fixed.
2025-11-02 20:09:28 +01:00
Abhijit Hoskeri
7c47b91ed2 Limit CONNECT proxy response header size
As described in https://go.dev/issue/74633 a misbehaving proxy server
can cause memory exhaustion in the client. The fix in https://go.dev/cl/698915
only covers http.Transport users. Apply the same limit here.

Limit the size of the response headers the proxy server can send us.
2025-11-01 20:47:40 -07:00
Kubernetes Prow Robot
afb2b97425 Merge pull request #135022 from sunya-ch/fix-distinct-constraint
[DRA] Fix DistinctAttributeConstraint match comparision with value
2025-11-01 09:24:02 -07:00
Kubernetes Prow Robot
cd0ddec139 Merge pull request #134881 from pohly/e2e-slow-priority
E2E: run slow tests first, using new Ginkgo
2025-11-01 06:10:02 -07:00
Patrick Ohly
cff07e7551 E2E framework: start slow tests first
This avoids the risk of having a slow test started towards the end of a run,
which then would cause the run to take longer. When started early they can run
in parallel to other tests. In serial runs it doesn't matter.

The implementation maps the Slow label to the new ginkgo.SpecPriority. The
default is 0. Tests with priority 1 run first.
2025-11-01 09:52:09 +01:00
Patrick Ohly
6034321603 dependencies: ginkgo v2.27.2, gomega v1.38.2
Specifically the new AddTreeConstructionNodeArgsTransformer and SpecPriority in
Ginkgo will be useful.

Gomega gets updated to keep up-to-date.
2025-11-01 09:52:09 +01:00
Sunyanan Choochotkaew
c99145805f [DRA] Fix DistinctAttributeConstraint match comparision with value
Signed-off-by: Sunyanan Choochotkaew <sunyanan.choochotkaew1@ibm.com>
2025-11-01 08:43:57 +09:00
Kubernetes Prow Robot
d2e1e3b6bc Merge pull request #135021 from aramase/aramase/c/cleanup_jwks_metric_comment
oidc: fix jwks metric name in comment
2025-10-31 15:34:05 -07:00
Anish Ramasekar
97587e951b oidc: fix jwks metric name in comment
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-10-31 14:28:14 -07:00
Kubernetes Prow Robot
1b6d0c7c03 Merge pull request #134965 from tsj-30/fix-dra-devicebindingconditions-flake
test: fix flake in DRA DeviceBindingCondition
2025-10-31 12:26:03 -07:00
Kubernetes Prow Robot
72e06a7516 Merge pull request #134982 from natasha41575/ippr-tests
[InPlacePodVerticalScaling] Reformat a couple of e2e tests
2025-10-31 11:34:13 -07:00
Kubernetes Prow Robot
0d40757969 Merge pull request #133051 from rata/userns-record-pod-error
kubelet/userns: Print podUID on errors
2025-10-31 11:34:06 -07:00
Kubernetes Prow Robot
5caeb4171d Merge pull request #134855 from sprait/fix-nil-deref-container-status
kubelet: add nil check for ContainerStatus in GetContainerStatus
2025-10-31 10:10:14 -07:00
Kubernetes Prow Robot
f66d1a9418 Merge pull request #133779 from carlory/kubelet-cleanup-pod-infra-container-image
Remove deprecated pod-infra-container-image flag
2025-10-31 10:10:07 -07:00
Kubernetes Prow Robot
ef1eb4bef8 Merge pull request #135006 from p0lyn0mial/upstream-watchlist-unsupported-wl-kubelet-fake-pod-lw
kubelet/config/apiserver_test: expose IsWatchListSemanticsUnSupported on fakePodLW
2025-10-31 08:32:15 -07:00
Kubernetes Prow Robot
83504f1b02 Merge pull request #134466 from mortent/AllowAllocationModeAllMultinodeResourcePools
DRA: Allow AllocationMode: All from multi-node resource pools
2025-10-31 08:32:06 -07:00
Abu Kashem
11e3147fdd kubelet: add a test to verify that dra plugin enforces timeout 2025-10-31 11:16:54 -04:00
Siyuan Zhang
d4c6e0bfd0 change client go default features to versioned
so that their enablement can be consistent with emulated version.

Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-10-31 10:04:06 -05:00
Kubernetes Prow Robot
4ca91a6542 Merge pull request #134994 from liggitt/drop-strict-cost
Drop locked StrictCostEnforcementForVAP and StrictCostEnforcementForWebhooks feature gates
2025-10-31 07:38:12 -07:00
Kubernetes Prow Robot
ce7ba8aa76 Merge pull request #134959 from atiratree/deployment-integration-tests
add integration tests for pod replacement during scaling and Recreate/RollingUpdate strategies
2025-10-31 07:38:04 -07:00
Abu Kashem
344df7835c refactor dra fake grpc server 2025-10-31 10:11:49 -04:00
Kubernetes Prow Robot
3c2e64ec78 Merge pull request #135005 from p0lyn0mial/upstream-watchlist-unsupported-wl-tracker-wrapp
apiserver/pkg/admission/plugin/policy/test: wrap trackers with ToListWatcherWithWatchListSemantics
2025-10-31 05:40:18 -07:00
Kubernetes Prow Robot
02398258b1 Merge pull request #135004 from pohly/dependencies-x-repos
dependencies: various minor updates
2025-10-31 05:40:11 -07:00
Kubernetes Prow Robot
ad13a96a1f Merge pull request #134811 from p0lyn0mial/upstream-watchlist-unsupported-wl-cache-testing
client-go/tools/cache/test: wrap the LW with toListWatcherWithUnSupportedWatchListSemantics
2025-10-31 05:40:03 -07:00
Kubernetes Prow Robot
f1989437f8 Merge pull request #135002 from p0lyn0mial/upstream-watchlist-unsupported-wl-client-tools-watch-test
client-go/tools/watch/test: wrap the LW with toListWatcherWithUnSupportedWatchListSemantics
2025-10-31 04:50:03 -07:00
Lukasz Szaszkiewicz
1951e8dd88 kubelet/config/apiserver_test: expose IsWatchListSemanticsUnSupported on fakePodLW 2025-10-31 12:37:34 +01:00