Commit Graph

130207 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
002faa6baa Merge pull request #131847 from HirazawaUi/fix-test-leak
kubelet: Fix potential goroutine leak in unit tests
2025-05-31 13:00:11 -07:00
Kubernetes Prow Robot
531b767896 Merge pull request #131659 from mortent/MoreEffectiveAllocatorForPartitionable
DRA: Improve implementation of counter management in allocator
2025-05-31 00:16:18 -07:00
Morten Torkildsen
2aa7ef3d27 Address comments 2025-05-30 22:20:30 +00:00
Kubernetes Prow Robot
4832b57e48 Merge pull request #131968 from pohly/dra-kubelet-prepare-validation
DRA kubelet: validation pass before changing claim info cache
2025-05-30 12:40:19 -07:00
Kubernetes Prow Robot
02eb7d424a Merge pull request #130787 from pohly/test-integration-e2e-suite-removal
hack: remove verify-e2e-suites.sh
2025-05-30 07:36:18 -07:00
Kubernetes Prow Robot
e0859f91b7 Merge pull request #131887 from ania-borowiec/extract_cyclestate_interface
Moving Scheduler interfaces to staging: split CycleState into interface and implementation, move interface to staging repo
2025-05-30 04:00:18 -07:00
Kubernetes Prow Robot
11abe268c0 Merge pull request #131983 from pohly/dra-resourceclaim-status-tests
DRA integration: move and extend device status test
2025-05-30 02:34:18 -07:00
Patrick Ohly
4f91a69f2b DRA integration: move and extend device status test
This moves the enabled/disabled test into the common test/integration/dra which
simplifies the code a bit and amortizes the cost of starting the apiserver
because several different tests can use the same instance, running in parallel.

While at it, setting the status via SSA also gets tested.
2025-05-30 10:29:18 +02:00
Patrick Ohly
a5aabf9f7e DRA kubelet: validation pass before changing claim info cache
If preparing for a pod failed because the driver was not registered, it failed
after already having added the pod and claim to the claim info cache. The
effect was that deletion of the pod was blocked until the driver got
installed. Other errors had a similar effect. Now as many errors as possible
are checked in a read-only loop before proceeding to changing the claim info
cache.

The error message that was surfaced for the problem was not very readable:
   Failed to prepare dynamic resources: failed to get gRPC client for driver dra-1411.k8s.io: plugin name dra-1411.k8s.io not found in the list of registered DRA plugins

To address this, error messages and wrapping get updated according to these
guidelines:

    // Most errors returned by the manager show up in the context of a pod.
    // They try to adher to the following convention:
    // - Don't include the pod.
    // - Use terms that are familiar to users.
    // - Don't include the namespace, it can be inferred from the context.
    // - Avoid repeated "failed to ...: failed to ..." when wrapping errors.
    // - Avoid wrapping when it does not provide relevant additional information to keep the user-visible error short.
2025-05-30 09:52:22 +02:00
Kubernetes Prow Robot
c5c87bde8f Merge pull request #132004 from alvaroaleman/fix-fasf
ManagedFieldsObjectTracker: Reload scheme
2025-05-29 16:54:17 -07:00
Kubernetes Prow Robot
fc0e3bf957 Merge pull request #132022 from Jefftree/client-go-template
Update client-go PR template
2025-05-29 15:02:18 -07:00
Jeffrey Ying
b9496d1a9d Update client-go template with backticks 2025-05-29 16:18:47 -04:00
Jefftree
d70fcf731b Update client-go PR template 2025-05-29 20:13:56 +00:00
Ania Borowiec
d75af825fb Extract interface CycleState and move is to staging repo. CycleState implementation remains in k/k/pkg/scheduler/framework 2025-05-29 16:18:36 +00:00
Kubernetes Prow Robot
cd3b5c5766 Merge pull request #131658 from dims/allow-specifying-a-directory-for-image-credential-providers-json-configuration
Allow specifying a directory for image credential providers json configuration
2025-05-29 07:46:20 -07:00
Davanum Srinivas
be6807e6a5 Allow specifying a directory for image credential providers json/yaml configuration
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-05-29 09:42:26 -04:00
Kubernetes Prow Robot
3e5849972e Merge pull request #132012 from pacoxu/dns-1.26
kube-dns bump to v1.26.4
2025-05-29 04:56:19 -07:00
Paco Xu
d13dcbbf95 kube-dns bump to v1.26.4 2025-05-29 13:05:32 +08:00
Kubernetes Prow Robot
90a108cb86 Merge pull request #129918 from sunnylovestiramisu/stresstest
Add Stress Tests for VolumeAttributesClass
2025-05-28 20:22:16 -07:00
Kubernetes Prow Robot
ce21ce5d3b Merge pull request #131869 from pohly/dra-test-integration-scheduling
DRA integration: set up nodes for scheduling
2025-05-28 11:36:24 -07:00
Kubernetes Prow Robot
bfb5c3781a Merge pull request #131794 from ffromani/e2e-serial-node-cpumanager-fix-lowcpu
e2e: node: always declare testcase CPU requirements
2025-05-28 11:36:16 -07:00
Morten Torkildsen
2b0b343507 DRA: Improve implementation of counter management in allocator 2025-05-28 15:44:09 +00:00
Alvaro Aleman
1cd71cbb14 ManagedFieldsObjectTracker: Reload scheme
In controller-runtime it is generally not expected to do any sort of
scheme registration if unstructured.Unstructured is used. To make this
work in the fakeclient, the fakeclient will register unstructured to
scheme if the scheme doesn't recognize the GVK.

This currently doesn't work with the `ManagedFieldsObjectTracker` as it
never reloads the scheme. This change makes it reload the scheme in an
inefficient but simple manner, which should be good enough for unit
tests.
2025-05-28 11:27:01 -04:00
Kubernetes Prow Robot
cefa8311bc Merge pull request #131984 from soltysh/update_sigcli_security
Update security contacts for sig-cli owned repos
2025-05-28 08:24:17 -07:00
Kubernetes Prow Robot
02275ab94d Merge pull request #131994 from mortent/PartitionableDevicesDisabledFix
DRA: Exclude individual devices when PartitionableDevices feature is disabled
2025-05-28 05:42:17 -07:00
Kubernetes Prow Robot
d70229fac7 Merge pull request #131798 from aramase/aramase/f/authn_metrics_beta
Promote automatic_reloads of authn config metrics to BETA
2025-05-27 18:54:17 -07:00
Morten Torkildsen
ee2d3b6a2c DRA: Exclude individual devices when PartitionableDevices feature is disabled 2025-05-28 01:08:24 +00:00
Kubernetes Prow Robot
2f94274c88 Merge pull request #131562 from logica0419/kube-proxy-string-concat
Add missing space in string concatenation (kube-proxy)
2025-05-27 13:36:22 -07:00
Kam Saiyed
ab6fdf46d8 Move the autoscaling e2e tests to be ran in parallel (#131091)
* Move the autoscaling e2e tests to be ran in parallel to have coverage for concurrent hpa processing

* Move the autoscaling e2e tests to be ran in parallel to have coverage for concurrent hpa processing

* Update autoscaling_utils.go
2025-05-27 13:36:16 -07:00
Kubernetes Prow Robot
830c76ac83 Merge pull request #131970 from skitt/kubelet-pkg-errors
kubelet: drop dependency on github.com/pkg/errors
2025-05-27 10:18:34 -07:00
Kubernetes Prow Robot
d9c1b4ec9b Merge pull request #131951 from dims/drop-usages-of-deprecated-otelgrpc-methods
Drop usages of deprecated otelgrpc methods (update to v0.60.0)
2025-05-27 10:18:26 -07:00
Kubernetes Prow Robot
1449265589 Merge pull request #131664 from jpbetz/subresources-enable-replicas
Migrate to declarative validation: ReplicationController/scale spec.replicas field
2025-05-27 09:14:16 -07:00
Maciej Szulik
4e3634bbbf Update security contacts for sig-cli owned repos
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-05-27 16:51:51 +02:00
Kubernetes Prow Robot
a647c6a889 Merge pull request #131978 from cpanato/update-publ
update go version for publishing bot rules
2025-05-27 05:40:16 -07:00
Kubernetes Prow Robot
2824e598b7 Merge pull request #131973 from sanposhiho/qhint-graduate
feat: graduate QueueingHint to GA
2025-05-27 04:08:22 -07:00
Carlos Panato
6410329a07 update go version for publishing bot rules
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-05-27 10:43:59 +02:00
Kubernetes Prow Robot
d348426eab Merge pull request #131927 from pohly/dra-resourceslice-controller-resync-period
DRA resource slice controller: disable resync
2025-05-27 01:00:17 -07:00
Anish Ramasekar
60b5338d46 Promote automatic_reloads of authn config metrics to BETA
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-05-26 22:06:25 -07:00
Kubernetes Prow Robot
61360caf3d Merge pull request #131967 from pohly/dra-e2e-resourceslice-publishing-errors
DRA E2E: fail test when ResourceSlice publishing fails
2025-05-26 21:18:20 -07:00
Kensei Nakada
f694c58c6c feat: graduate QueueingHint to GA 2025-05-26 21:23:46 +02:00
Kubernetes Prow Robot
4c2a741aac Merge pull request #131964 from skitt/kubectl-pkg-errors
kubectl: drop dependency on github.com/pkg/errors
2025-05-26 11:30:15 -07:00
Stephen Kitt
1310fc027a kubelet: drop dependency on github.com/pkg/errors
The package is unmaintained, and kubelet doesn't appear to rely on the
functionality it provides on top of Golang errors (stack traces).

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2025-05-26 16:41:38 +02:00
Kubernetes Prow Robot
b2dfba4151 Merge pull request #131962 from superbrothers/kubectl-explain-revert-output-shorthand
Revert shorthand for kubectl explain --output
2025-05-26 06:58:15 -07:00
Patrick Ohly
346fe182be DRA E2E: fail test when ResourceSlice publishing fails
This can happen when a test is run in a cluster where a required feature gate
is turned off. Letting the test continue then fails less clearly. For example,
a test for partitionable devices runs with ResourceSlices which don't have
the additional fields for partitionable devices.
2025-05-26 15:30:39 +02:00
Kubernetes Prow Robot
dae746b59d Merge pull request #131965 from macsko/skip_backoff_when_maxbackoff_is_zero
Skip backoff when PodMaxBackoffDuration is set to zero
2025-05-26 05:52:32 -07:00
Kubernetes Prow Robot
fe5b9896ae Merge pull request #131818 from soltysh/kuberc_beta
Promote kuberc to beta
2025-05-26 05:52:25 -07:00
Davanum Srinivas
7c0f968ab2 Drop usages of deprecated otelgrpc methods
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-05-26 08:32:09 -04:00
Kubernetes Prow Robot
8a0f6370e4 Merge pull request #131941 from dims/update-to-latest-ishidawataru/sctp-dependency
update to latest ishidawataru/sctp dependency
2025-05-26 04:30:29 -07:00
Kubernetes Prow Robot
7389b86f53 Merge pull request #131930 from pohly/dra-kubelet-unit-test-error-flake
DRA kubelet: fix gRPC timeout flake
2025-05-26 04:30:22 -07:00
Kubernetes Prow Robot
8bfd795352 Merge pull request #131501 from joshjms/update-etcd-3.6.0-rc.4
Update etcd to v3.6.0
2025-05-26 04:30:15 -07:00