Commit Graph

133724 Commits

Author SHA1 Message Date
Lukasz Szaszkiewicz
ca8847149e client-go/features: enable WatchListClient for 1.35 release 2025-11-04 15:19:32 +01:00
Kubernetes Prow Robot
4d0d412686 Merge pull request #135093 from pohly/dra-e2e-kind-jobs-config
Revert "prepare DRA kind config for kubeadm v1beta4"
2025-11-04 04:50:15 -08:00
Kubernetes Prow Robot
7e1a2b9c0b Merge pull request #135055 from p0lyn0mial/upstream-watchlist-unsupported-wl-fix-kubelet-cm-test
kubelet/app/server_bootstrap_test: fix Test_buildClientCertificateManager
2025-11-04 04:50:08 -08:00
Kubernetes Prow Robot
34bb3477a2 Merge pull request #135069 from jsafrane/snapshot-v1beta2
test: update volume group snapshots to v1beta2
2025-11-04 02:34:07 -08:00
Kubernetes Prow Robot
d6aa2db57e Merge pull request #135027 from omerap12/remove-reactor-hpa
Remove unused delete reactor
2025-11-04 01:30:10 -08:00
Lukasz Szaszkiewicz
257ff6edcd kubelet/app/server_bootstrap_test: fix Test_buildClientCertificateManager 2025-11-04 09:59:11 +01:00
Patrick Ohly
1fc389c43f Revert "prepare DRA kind config for kubeadm v1beta4"
This reverts commit d17ed9be17.

The CI jobs append

    kubeadmConfigPatches:
    - |
      kind: ClusterConfiguration
      etcd:
        local:
          dataDir: /tmp/etcd

With that commit also adding kubeadmConfigPatches, all jobs break with

     mapping key "kubeadmConfigPatches" already defined at line 14

We have to update jobs first, then add the change back.
2025-11-04 09:37:32 +01:00
Kubernetes Prow Robot
48c56e04e0 Merge pull request #135017 from liggitt/stateful-set-noop-rollout
Fix spurious statefulset rollout from 1.33 → 1.34
2025-11-03 19:58:11 -08:00
Kubernetes Prow Robot
ddec0243ed Merge pull request #135016 from BenTheElder/kubeadm-kind-v1beta4
prepare kind configs for kubeadm v1beta4
2025-11-03 19:58:04 -08:00
Kubernetes Prow Robot
41673c7198 Merge pull request #134910 from tchap/kcm-controllers-thread-mgmt
pkg/controller: Improve goroutine management
2025-11-03 17:58:03 -08:00
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
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
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
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
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
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
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
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
Patrick Ohly
12a0c8ce17 DRA extended resource: chain event handlers
The cache and scheduler event handlers cannot be registered separately in the
informer, that leads to a race (scheduler might schedule based on event before
cache is updated). Chaining event handlers (cache first, then scheduler) avoids
this.

This also ensures that the cache is up-to-date before the scheduler
starts (HasSynced of the handler registration for the cache is checked).

Other changes:
- renamed package to avoid clash with other "cache" packages
- clarified nil handling
- feature gate check before instantiating the cache
- per-test logging
- utilruntime.HandleErrorWithLogger
- simpler cache.DeletedFinalStateUnknown

Signed-off-by: Sai Ramesh Vanka <svanka@redhat.com>
2025-11-03 12:31:17 +05:30
Sai Ramesh Vanka
d8c66ffb63 Add a global cache to support DRA's extended resource to the device
class mapping

- Add a new interface "DeviceClassResolver" in the scheduler framework
- Add a global cache of mapping between the extended resource and the
  device class
- Cache can be leveraged by the k8s api-server, controller-manager along with the scheduler
- This change helps in delegating the requests to the dynamicresource
  plugin based on the mapping during the node update events and thus
avoiding an extra scheduling cycle

Signed-off-by: Sai Ramesh Vanka <svanka@redhat.com>
2025-11-03 12:31:16 +05:30
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