Commit Graph

130220 Commits

Author SHA1 Message Date
Natasha Sarkar
47dead1c40 unexport allocationManager IsPodResizeInProgress 2025-06-02 22:46:55 +00:00
Kubernetes Prow Robot
fd53f7292c Merge pull request #132039 from alvaroaleman/fix-w-unstructured
FieldManagedObjectTracker: Fix to work with unstructured
2025-06-02 15:04:42 -07:00
Kubernetes Prow Robot
901d1249b5 Merge pull request #131801 from natasha41575/move-handle-pod-additions
move pod admission and resize logic into the allocation manager
2025-06-02 13:42:38 -07:00
Natasha Sarkar
9b8d7ce498 pr review feedback 2025-06-02 17:51:03 +00:00
Kubernetes Prow Robot
849a82b727 Merge pull request #132036 from adrianmoisey/kep-4427
KEP-4427: Promote Relaxed DNS search string validation to GA
2025-06-01 14:02:43 -07:00
Kubernetes Prow Robot
7f139457c1 Merge pull request #131961 from cyclinder/fix_proxy_unknown_option
proxy: remove iptables wait interval flag
2025-06-01 14:02:36 -07:00
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
Adrian Moisey
0a7d9f9bfd KEP-4427: Promote Relaxed DNS search string validation to GA 2025-05-31 07:45:16 +02: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
Alvaro Aleman
dbdd6a3b43 FieldManagedObjectTracker: Fix to work with unstructured
Prior to this patch, this fails because the skipnonappliedfieldmanager
uses the `objectcreater` (aka `*runtime.Scheme`) to create a new object
for which it never sets the GVK. In the case of
`*unstructured.Unstructured`, the GVK can not be derived from the object
itself so the operation would subsequently fail [here][0] with an
```
Object 'Kind' is missing in 'unstructured object has no kind'
```

error. Fix this by explicitly setting the GVK in case of unstructured.

[0]: 02eb7d424a/staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/structuredmerge.go (L98)
2025-05-30 15:33:42 -04: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
Cyclinder Kuo
0a96613754 proxy: remove iptables wait interval flag
Signed-off-by: cyclinder <kuocyclinder@gmail.com>
2025-05-30 16:13:06 +08: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