Commit Graph

29961 Commits

Author SHA1 Message Date
Darren Shepherd
38a3d5a7da Add stopCh to apiserver & context to kublet commands
Remove SetupSignalContext call from the apiserver

Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2026-06-12 11:55:44 -03:00
Carlos Panato
02c02b91a7 Bump images and versions to go 1.26.4 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2026-06-09 12:51:12 +02:00
Patrick Ohly
6489fe467c DRA E2E: simplify kind.yaml
Runtime config can be set via the kind config, which is simpler than setting
the apiserver parameter.

DynamicResourceAllocation is enabled by default nowadays, but still needs to be
set for the current n-3 skew testing which picks 1.33 (1.37 still in alpha).
Similar for NodeLogQuery (GA in 1.36).
2026-06-03 10:06:59 +02:00
Kevin Hannon
0f0c734c52 batch/job: Fix scheduling directives mutation for not-yet-started suspended Jobs
When MutableSchedulingDirectivesForSuspendedJobs feature gate is
enabled, it overwrites the notStarted check with a stricter condition
requiring the JobSuspended=True condition. This rejects mutations on
suspended Jobs that have never started but whose JobSuspended condition
has not yet been set by the job controller, breaking external
controllers like MultiKueue that inject scheduling directives
immediately after creating a suspended Job.

Preserve the notStarted path as an OR condition alongside the
JobSuspended condition check, restoring pre-1.36 behavior for
not-yet-started Jobs while maintaining the new relaxation for
previously-started Jobs.

Kubernetes-issue: https://github.com/kubernetes/kubernetes/issues/139281
2026-05-27 10:28:13 -04:00
Ed Bartosh
891a905031 test/localupcluster: stop all components before starting replacements
Modify() was replacing components one at a time: stop X, start X, stop Y,
start Y, ... in version-skew order (apiserver last on downgrade). This
caused a crash during downgrade: KCM-1.35 started against the still-
running apiserver-1.36, passed its /healthz, and then immediately lose
its connection when apiserver-1.36 was killed by the localupcluster.
KCM-1.35 would reconnect to the not-yet-ready apiserver-1.35, hit a
403 RBAC error during controller initialization, and exit — because that
initialization phase does not retry on RBAC errors.

Fix by splitting Modify() into two phases:

  Phase 1 — stop all components to be replaced, in reverse startup order
  (kube-proxy down to apiserver), so dependent components release their
  connections before the apiserver is stopped.

  Phase 2 — start all replacement components in standard startup order
  (apiserver first), so each component connects to a fully-ready apiserver.
2026-04-23 08:27:36 +02:00
Ed Bartosh
1d850e8427 localupcluster: set readiness polling interval to 1 second
Without an explicit interval, Gomega's default polling is very frequent,
generating a large volume of /readyz and /healthz requests in the component
logs. Set an explicit 1-second interval to reduce noise while still
detecting readiness promptly.
2026-04-23 08:27:36 +02:00
Ed Bartosh
62d05adc8b localupcluster: properly query /readyz and /healthz
Despite being called checkReadiness, the function was only performing
a liveness check: /healthz was polled over HTTPS without verifying the
certificate or authenticating, and any HTTP response was accepted as a
signal that the component was up. The only exception was kubelet,
where a node readiness check was added on top.

Switched to /readyz for kube-apiserver and kube-scheduler,
kept /healthz for the rest and require HTTP 200 in all cases.

This ensures that the kube-apiserver is fully initialized before
dependent components are started.
2026-04-23 08:27:36 +02:00
Qi Wang
2aaa5b654b skip MemoryQoS rollback test until implementation is resolved
skip MemoryQoS rollback test until we figure out the mechanism to rollback.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2026-04-20 12:41:45 -04:00
Jan Safranek
a2b55fc7af DRA: use full image name in test manifests
In air-gaped environment, the image must have `name:tag` to be parsed and
updated with a private registry.
2026-04-10 17:10:40 +02:00
Kubernetes Prow Robot
550504bb25 Merge pull request #138300 from michaelasp/svmOverload
Reduce number of chaos workers to prevent timeouts
2026-04-10 15:58:19 +05:30
Michael Aspinwall
28b6b1e274 Reduce number of chaos workers to prevent timeouts 2026-04-09 19:33:19 +00:00
Marko Mudrinić
bf7ccb893e Bump images and versions to go 1.26.2 and distroless iptables
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2026-04-09 20:22:09 +02:00
Kubernetes Prow Robot
40007b6452 Merge pull request #138210 from Mujib-Ahasan/featuregate-WorkloadWithJob
Rename feature gate `EnableWorkloadWithJob` to `WorkloadWithJob`
2026-04-09 23:12:21 +05:30
Jefftree
8254743864 Pin MutatingAdmissionPolicy storage version to v1beta1 2026-04-08 23:44:34 -04:00
Mujib Ahasan
bfe8f6b729 lint small fix
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
2026-04-04 20:19:57 +05:30
Mujib Ahasan
b9b0ff440d remove accidently commited file
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
2026-04-04 12:53:30 +05:30
Lubomir I. Ivanov
bc2179d882 pause: fix version drift in various files
The latest pause version is 3.10.2 but due to the introduction
of the PATCH level version to the pause image (previously was
only MAJOR.MINOR), various files have remained on an older
version. Either 3.10 or 3.10.1. Our validation with
build/dependencies.yaml ./hack/verify-external-dependencies.sh
did not account for that.
2026-04-03 16:11:09 +02:00
Kubernetes Prow Robot
d3b9c54bd9 Merge pull request #138178 from liggitt/deflake-wait
Make cleanup aware of uid differences
2026-04-02 23:09:09 +05:30
Jordan Liggitt
1140c34121 Make cleanup aware of uid differences 2026-04-02 11:13:44 -04:00
yashsingh74
afdb5e5d1f Update CNI plugins to v1.9.1
Signed-off-by: yashsingh74 <yashsingh1774@gmail.com>
2026-04-01 14:06:34 +05:30
Jordan Liggitt
84be835316 Deflake TestPodSubresourceAuth by waiting for effective permissions before testing 2026-03-31 10:27:08 -04:00
Kubernetes Prow Robot
7e705d7851 Merge pull request #137978 from ania-borowiec/flake
Fix flakiness in integration test for TopologyAwareScheduling with Basic Policy
2026-03-31 16:00:14 +05:30
Kubernetes Prow Robot
610490d1e1 Merge pull request #138087 from dims/fix-memory-manager-metrics-cleanup
e2e_node: wait for pod drain before asserting zero pods in Memory Manager Metrics
2026-03-30 18:00:15 +05:30
Kubernetes Prow Robot
1ecdebcb76 Merge pull request #138049 from ndixita/pod-events-fix
Pod events fix
2026-03-30 07:36:11 +05:30
Davanum Srinivas
10efa46fbb e2e_node: wait for pod drain before asserting zero pods in Memory Manager Metrics
The Memory Manager Metrics BeforeEach asserts that zero pods are
running on the node after a kubelet config update. This hard assertion
flakes when a preceding serial test's namespace deletion hasn't
completed yet — framework namespace cleanup is async and the kubelet
restart in updateKubeletConfig can delay in-flight pod termination.

CI logs show leftover pods from MemoryQoS tests (memqos-burstable,
memqos-no-limit, etc.), Probe Stress tests (50-container pods), and
Summary API PSI tests (memory-pressure-pod), all still Running when
the assertion fires 4-7ms after the previous test finishes.

Replace the immediate Expect(count).To(BeZero()) with an Eventually
poll (2 minute timeout, 5 second interval) that gives pods time to
drain after the kubelet restart. The existing printAllPodsOnNode
diagnostic output is preserved inside the poll for debugging.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-03-28 15:27:25 -04:00
Kubernetes Prow Robot
c6a95ffd4c Merge pull request #137996 from pacoxu/inplace-disable
set InPlacePodLevelResourcesVerticalScaling to false if needed
2026-03-28 08:42:11 +05:30
ndixita
3e7c6e3c83 Simplify isPodLevelResourcesResizeInProgress to check for absence of actuated resources
Signed-off-by: ndixita <ndixita@google.com>
2026-03-27 23:03:20 +00:00
Ania Borowiec
e622b86069 remove unnecessary fixes 2026-03-27 09:32:12 +00:00
Kubernetes Prow Robot
3fea8a2fef Merge pull request #134947 from aojea/dra_status_check
Fine-grained Authorization for ResourceClaim Status Updates
2026-03-26 22:34:18 +05:30
Antonio Ojea
adbf3b5aa5 Add granular authorization for DRA ResourceClaim status updates
This commit introduces the DRAResourceClaimGranularStatusAuthorization
feature gate (Beta in 1.36) to enforce fine-grained authorization checks
on ResourceClaim status updates.

Previously, 'update' permission on 'resourceclaims/status' allowed modifying
the entire status. To enforce the principle of least privilege for DRA
drivers and the scheduler, this change introduces synthetic subresources and
verb prefixes:

- 'resourceclaims/binding': Required to update 'status.allocation' and
  'status.reservedFor'.
- 'resourceclaims/driver': Required to update 'status.devices'. Evaluated
  on a per-driver basis using 'associated-node:<verb>' (for node-local
  ServiceAccounts) or 'arbitrary-node:<verb>' (for cluster-wide controllers).
2026-03-26 13:22:09 +00:00
Kubernetes Prow Robot
b30567c744 Merge pull request #135828 from HirazawaUi/5607-alpha-2-stage
Kubelet: Add alpha-2 stage implementation for UserNamespacesHostNetworkSupport feature gate
2026-03-26 15:08:18 +05:30
Kubernetes Prow Robot
1ed5965382 Merge pull request #137946 from liggitt/pleg-reenable
Revert "Switch PLEGOnDemandRelist default to `false` for 1.36"
2026-03-25 15:28:21 +05:30
Kubernetes Prow Robot
473b7635de Merge pull request #138006 from tallclair/push-kooxxktxovkr
Flaky test fix for 'should restart failing container when pod restartPolicy is Always'
2026-03-25 02:18:16 +05:30
Tim Allclair
72ed617db1 Flaky test fix for 'should restart failing container when pod restartPolicy is Always' 2026-03-24 16:38:46 +00:00
Kubernetes Prow Robot
051af779af Merge pull request #137989 from hoteye/fix-preferredimports-owners-typo
Fix malformed OWNERS entries used by maintainers
2026-03-24 16:12:19 +05:30
Ania Borowiec
c49126e031 Fix flakiness in integration test for TopologyAwareScheduling with Basic Policy 2026-03-24 09:42:00 +00:00
Paco Xu
7c65919285 set InPlacePodLevelResourcesVerticalScaling to false if PodLevelResources is set to false 2026-03-24 16:57:46 +08:00
Antoni Zawodny
ccaaf9d3a5 Marry WAP logic with the new API fields 2026-03-24 09:36:00 +01:00
Jordan Liggitt
0519b8e784 Revert "Switch PLEGOnDemandRelist default to false for 1.36"
This reverts commit 4a69899d8b.
2026-03-24 01:48:19 -04:00
Kubernetes Prow Robot
eca347edbf Merge pull request #137957 from tallclair/push-vxyyxtvrypxt
Fix user namespace test cleanup race
2026-03-24 10:24:21 +05:30
Kubernetes Prow Robot
e93471350d Merge pull request #137954 from tallclair/push-qqlqpuxopyzs
Fix restartable init container startup race
2026-03-24 10:24:14 +05:30
hoteye
93f0ba1add Fix malformed OWNERS entries used by maintainers 2026-03-24 10:34:00 +08:00
Tim Allclair
2e60e1407b Fix user namespace test cleanup race 2026-03-23 23:22:44 +00:00
Kubernetes Prow Robot
61d4e7ae86 Merge pull request #137684 from ndixita/ippr-plr-beta-enable
[PodLevelResources] Graduate InPlacePodLevelResourcesVerticalScaling feature to beta
2026-03-24 03:44:16 +05:30
Tim Allclair
be5285b46f Fix restartable init container startup race 2026-03-23 19:58:38 +00:00
Kubernetes Prow Robot
3e36cc6769 Merge pull request #137866 from ndixita/ippr-flaky-test
[InPlacePodLevelResourcesVerticalScaling] Ippr flaky test
2026-03-24 01:24:17 +05:30
Kubernetes Prow Robot
07311a2afa Merge pull request #137606 from Argh4k/workload-preemption-v1alpha2
Add workload aware preemption
2026-03-24 00:32:16 +05:30
Kubernetes Prow Robot
b5a943f629 Merge pull request #136989 from nojnhuh/podgroup-resourceclaim
KEP-5729: DRA: ResourceClaim Support for Workloads
2026-03-23 23:42:17 +05:30
Maciej Wyrzuc
1f15743e49 Add pod group preemption 2026-03-23 16:22:32 +00:00
Jon Huhn
d80f384b70 Workload API: PodGroup ResourceClaims (KEP-5729) 2026-03-22 14:52:45 -05:00