Commit Graph

134908 Commits

Author SHA1 Message Date
Jordan Liggitt
979c442774 Fix spurious workload rollout due to null creationTimestamp in controller revisions 2025-11-03 17:11:06 -05:00
Jordan Liggitt
7d186d870f Remove unused and fragile revision hash comparisons
This was broken since 666a41c2ea when the label value became non-integer encoded
The chance of one controller revision hash label being int-parsable: 7/27 ^ 8 = 0.00002041 = ~0
The chance of both being int-parsable: 0.00002041^2 = ~0

Hash comparison locks in differences in content failing EqualRevision
even when the semantic content is normalized to be equal.
2025-11-03 16:33:40 -05:00
Jordan Liggitt
94e085e15c Add unit test detecting spurious statefulset rollout 2025-11-03 16:33:39 -05:00
Aaron Prindle
a22b3d031f address feedback 2025-11-03 21:30:17 +00:00
yliao
b609d4713c added integration test case 2025-11-03 21:27:41 +00:00
yliao
7aa849160a added queue hint function 2025-11-03 21:27:41 +00:00
yliao
3b905ae4b5 added device class add/update events to noderesources plugin when DRAExtendedResource feature is enabled 2025-11-03 21:27:41 +00:00
Hemant Kumar
fe3722dfa9 Address review comments
Change type name and stuff
2025-11-03 16:27:06 -05:00
Hemant Kumar
4bbe8f0cfb Add test that verifies scheduler behaviour 2025-11-03 16:27:01 -05:00
Hemant Kumar
b9118183cf Fix the boilet plate 2025-11-03 16:26:47 -05:00
Kubernetes Prow Robot
3ec72e2e97 Merge pull request #135070 from pohly/e2e-slow-priority
E2E framework: start slow tests first
2025-11-03 13:24:11 -08:00
Kubernetes Prow Robot
3717c7025e Merge pull request #134793 from LionelJouin/issue-134789
DRA allocator: Add the requests corresponding to the config FromClass
2025-11-03 13:24:04 -08:00
Aaron Prindle
39ad8278e2 feat: update DRA to short-circuit on maxSize checks, add a declarative validation test related to this case 2025-11-03 21:16:45 +00:00
Natasha Sarkar
eb1a5b6ddf remove pod resize endpoints from pending eligible endpoints 2025-11-03 21:12:17 +00:00
Kubernetes Prow Robot
e86c0171a7 Merge pull request #132644 from stlaz/ensure-secret-images-metrics
kubelet: add metrics for EnsureImageExists
2025-11-03 12:34:05 -08:00
Jefftree
bdb2e37781 Fix queue to gracefully shutdown 2025-11-03 20:03:49 +00:00
yliao
b83a6a83f0 pick the device class created latest, or with name alphabetically sorted earlier 2025-11-03 19:28:18 +00:00
Kubernetes Prow Robot
462c869354 Merge pull request #134326 from sairameshv/global_cache_dra
Add global cache to map between the deviceclass and the extended resource
2025-11-03 10:40:06 -08:00
Kubernetes Prow Robot
4e8499740e Merge pull request #134985 from swatisehgal/node-cm-ctx-logging-migration
node: cm: migrate container manager to contextual logging
2025-11-03 09:34:12 -08:00
Kubernetes Prow Robot
da2eea1bf2 Merge pull request #134263 from ardaguclu/autoscale-dryrun-client
Add given namespace in dryrun=client output of HPA
2025-11-03 09:34:05 -08:00
Hank Freund
96edaa43d2 Set KubeletCrashLoopBackOffMax feature gate to default enabled for beta. 2025-11-03 17:30:17 +00:00
Jan Safranek
a3bf2abddb Move a comment about ginkgo to code that runs ginkgo 2025-11-03 18:29:46 +01:00
Jan Safranek
3e33e61968 Enable group snapshot tests
e2e.test now requires CSI_PROW_ENABLE_GROUP_SNAPSHOT to be enabled to run
the csi-driver-hostpath tests with volume group snapshots.

See https://github.com/kubernetes/kubernetes/pull/134214/
2025-11-03 18:28:36 +01:00
Patrick Ohly
f9ef004916 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-03 18:17:59 +01:00
Jan Safranek
321c1e37c0 Update group snapshot tests to v1beta2
Copy VolumeGroupSnapshot v1beta2 CRDs from the external-snapshotter and
disable v1beta1 API in them - we can't run the conversion webhook in e2e
tests easily.

Update e2e tests to use v1beta2.
2025-11-03 17:53:30 +01:00
Natasha Sarkar
de9138f4fa Promote IPPR e2e tests to conformance 2025-11-03 16:37:07 +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
Arda Güçlü
c13c581459 Add given namespace in dryrun=client output of HPA 2025-11-03 18:35:45 +03:00
Jefftree
762b458700 Lock AggregatedDiscoveryRemoveBetaType to true 2025-11-03 14:56:36 +00:00
yliao
3eab698884 fixed unit test and integration test failures
Fix minor nits

Signed-off-by: Sai Ramesh Vanka <svanka@redhat.com>
2025-11-03 20:07:01 +05:30
Maciej Skoczeń
363407c500 Re-enable SchedulerAsyncAPICalls feature in v1.35 2025-11-03 14:11:04 +00: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