Commit Graph

54095 Commits

Author SHA1 Message Date
Monis Khan
0fac370625 sig-auth: fix KAS options OWNERS
Signed-off-by: Monis Khan <mok@microsoft.com>
2025-10-30 10:23:46 -04:00
Kubernetes Prow Robot
a8a43a5e25 Merge pull request #134795 from aditigupta96/fix-runwithcontext-controller-tests
pkg/controller: Use informer.RunWithContext in tests
2025-10-29 07:14:04 -07:00
Kubernetes Prow Robot
b6e7ee359d Merge pull request #134644 from vikasbolla/fix_change_permission
Fix volume mount changePermissions test flake
2025-10-28 19:08:00 -07:00
Kubernetes Prow Robot
06bbf2abbc Merge pull request #134796 from darshansreenivas/dtumkur-pr-storage-tag-migration
feat: wire storage group for declarative validation and +k8s:required to StorageClass.Provisioner
2025-10-28 17:54:00 -07:00
Kubernetes Prow Robot
dbf19f370a Merge pull request #134836 from lalitc375/maxLen
Use eachKey DV in DRA resources.
2025-10-28 17:04:07 -07:00
Kubernetes Prow Robot
0b90cb5e5a Merge pull request #134493 from adrianmoisey/promote-kep-5311-to-beta
Promote KEP-5311 (Relaxed validation for Services names) to beta
2025-10-28 17:04:00 -07:00
Kubernetes Prow Robot
239c3c32ef Merge pull request #134922 from soltysh/registry_owners
Update OWNERS to sig-apps owned registry packages (batch & policy)
2025-10-28 16:12:07 -07:00
Kubernetes Prow Robot
a2911126c4 Merge pull request #134380 from defo89/anonymous-auth-typo
fix typo for `AnonymousAuthConfigurableEndpoints` error
2025-10-28 16:12:00 -07:00
darshansreenivas
4a9a010c53 adding back v1alpha1 2025-10-28 14:58:43 -07:00
darshansreenivas
68710ce086 add declarative validation test
- restore v1alpha1
- fix lint issues
- ensure tests run with valid objects
2025-10-28 14:56:10 -07:00
darshansreenivas
2e257dffd8 update code-gen for new tags and ignore v1alpha1 2025-10-28 14:53:54 -07:00
Lalit Chauhan
8f0a6583ca Use eachKey DV in DRA resources. 2025-10-28 20:09:09 +00:00
Kubernetes Prow Robot
3ff6a1ec16 Merge pull request #134469 from vikasbolla/fix_131745_UT
Fix controller setup in storage version unit testcases
2025-10-28 13:00:00 -07:00
Kubernetes Prow Robot
bdcff90855 Merge pull request #134805 from aaron-prindle/dv-deviceclaim-subfield
feat: add subfield +k8s:format=k8s-long-name validation for DeviceClass ObjeMeta.Name field
2025-10-28 12:10:03 -07:00
Aaron Prindle
9c32e488db use tweak pattern 2025-10-28 17:38:32 +00:00
Kubernetes Prow Robot
dab7e3eb06 Merge pull request #134514 from richabanker/preshutdownhook-apiserver-identity
Improve lifecycle and cleanup for the identity lease controller
2025-10-28 10:28:10 -07:00
Kubernetes Prow Robot
9b790c0548 Merge pull request #134417 from jarqvi/fix/typo
fix: typo in internalversion printers
2025-10-28 10:28:02 -07:00
Kubernetes Prow Robot
d5efbf2ebf Merge pull request #134452 from pohly/dra-ga-feature-gate
DRA: lock to default-on
2025-10-28 07:49:36 -07:00
Maciej Szulik
b1a8d8849e Update OWNERS to sig-apps owned registry packages (batch & policy)
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-10-28 11:36:45 +01:00
Kubernetes Prow Robot
f0ed028e75 Merge pull request #133784 from bart0sh/PR197-DRA-process-devices-when-allocatable-is-0
Treat extended resources as inactive when allocatable is 0
2025-10-28 03:29:36 -07:00
Kubernetes Prow Robot
9dae3e2709 Merge pull request #131504 from zhifei92/migrate-kubelet-eviction-to-contextual-logging
chore(kubelet): migrate eviction to contextual logging
2025-10-27 13:21:35 -07:00
Kubernetes Prow Robot
ffdfc17ebc Merge pull request #134824 from lalitc375/union
use union member DV in the DRA
2025-10-27 10:29:35 -07:00
Ed Bartosh
7b2acb74c0 DRA: fix admit logic for extended resources
Updated allocateContainerResources to skip resources referring
extended resource claims as they are managed by DRA drivers.
These resources shouldn't be processed by device plugins.
2025-10-27 16:24:35 +02:00
Ed Bartosh
1cb45e2a27 DRA: fix scheduling of pods with extended resources
Previously, the scheduler assumed an extended resource was maintained
by a device plugin if its name was present in the node's Allocatable
map, even if its value was zero. This blocked scheduling when a device
plugin was disconnected or uninstalled, because Kubelet still reported
the resource with Allocatable=0.

This change adds a check for the actual allocatable value in addition
to a key presence check, allowing nodes with uninstalled device
plugins to be considered for scheduling.
2025-10-27 16:24:29 +02:00
Kubernetes Prow Robot
1474788587 Merge pull request #134727 from p0lyn0mial/upstream-watchlist-unsupported-wl-semantics-kubelet
pkg/kubelet/watch_base_manager: wraps the LW with WatchList semantics
2025-10-27 06:37:36 -07:00
Kubernetes Prow Robot
f051670a47 Merge pull request #133087 from atiratree/terminating-replicas-beta
promote DeploymentReplicaSetTerminatingReplicas to Beta
2025-10-27 04:47:37 -07:00
Kubernetes Prow Robot
59616d50fd Merge pull request #134691 from SergeyKanzhelev/watchdogIsGA
Lock SystemdWatchdog feature gate
2025-10-27 03:43:37 -07:00
Francesco Romani
fd5b2efa76 node: cpumanager: migrate to contextual logging
migrate the cpumanager code to contextual logging

design musings:
- golang contexts "[...] carries deadlines, cancellation signals, and
  other request-scoped values across API boundaries and between
  processes." (see: https://pkg.go.dev/context#pkg-overview).
  Thus, it generally makes sense to add contexts to most of the APIs
  and functions  as the resource management is done in the admission flow, when
  ultimately we process a request and we have time bounds;
- however, receiving a context from the outside and depending on it
  kind also conflicts with the goal of having uniform logging and "
  - attach key/value pairs that get included in all log messages
  - add names that describe which component or operation triggered a log messages"
  (see:
https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/3077-contextual-logging#summary)
  Some of this conflict is due to the transitional nature of the PRs
  which we do when updating the codelet codebase. We can envision a
  final state on which the top level caller adds identifying information
  like pod UID and pod namespace/name pair; but up until all the calling
  chain is updated and wired, the results are gonna be inconsistent.
- continuing from the point above, the most realistic transition plan
  for the kubelet is outlined in
  https://github.com/kubernetes/kubernetes/issues/130069 .
  Since we do want to move in parallel and migrate on a
  subsystem-by-subsystem basis, each subsystem will be in charge to add
  the data they want to their contexts. I think this is the only
  reasonnable way forward, and the cost will be overhead and redundancy.
  We should do sweeping changes to uniform the flows once we completed
  the full transition to ensure uniformity.
- there are some well known packages which want to operate by design
  only in in-memory data structure, which arguably can't block.
  Shoehorning a context feels not great. Instead, we intentionally pass
  only the logger, which still is the core idea of contextual logging
  (see:
https://github.com/kubernetes/kubernetes/pull/125912#discussion_r1935919144)
  examples are the topology subpackage and the cpu_assignment logic
  (takeByTopology and friends)

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-10-27 08:38:58 +01:00
Lalit Chauhan
8a6b3caaa0 use union member DV in the DRA 2025-10-24 23:04:48 +00:00
Aaron Prindle
97f9819f7e address feedback 2025-10-24 21:21:49 +00:00
Kubernetes Prow Robot
1135d04f1d Merge pull request #134826 from aramase/aramase/f/kep_5538_beta_impl
CSI driver opt-in for service account tokens via secrets field
2025-10-24 13:57:35 -07:00
Kubernetes Prow Robot
4539b9c8f3 Merge pull request #133660 from scaventz/109717-PreStartContainer
Test: Add unit test for PreStartContainer
2025-10-24 13:07:33 -07:00
Kubernetes Prow Robot
8de3b303e0 Merge pull request #134807 from yongruilin/master_maxlength
Add k8s:maxLength tag and use it on NetworkDeviceData fields
2025-10-24 12:15:41 -07:00
Kubernetes Prow Robot
82e2a3e117 Merge pull request #134763 from jpbetz/api-machinery-controller-owners
Clean up OWNERS for all api machinery owned controllers
2025-10-24 12:15:34 -07:00
Patrick Ohly
8b6f98b06e DRA: lock to default-on
The core functionality was enabled by default in 1.34 without any issues that
would have suggested turning it off, so now we can lock it to on-by-default.

Tests which cover disabling the feature must use version emulation.
2025-10-24 20:04:20 +02:00
Anish Ramasekar
30a6d4b389 Add CSI driver opt-in for service account tokens via secrets field
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-10-24 11:04:02 -07:00
Kubernetes Prow Robot
83e8760449 Merge pull request #134552 from danwinship/network-kep-cleanup-1.35
SIG Network KEP cleanup for 1.35
2025-10-24 10:59:42 -07:00
Kubernetes Prow Robot
60e1f61a63 Merge pull request #133511 from BenTheElder/no-md5
eliminate md5 usage, block new usage
2025-10-24 10:59:35 -07:00
Joe Betz
0e7d42dd45 Clean up OWNERS for all api machinery owned controllers 2025-10-24 13:38:10 -04:00
Kubernetes Prow Robot
3c4a7184d8 Merge pull request #134231 from michaelasp/svmRobustness
feat: Improve the robustness of SVM
2025-10-24 10:09:38 -07:00
Dan Winship
715228f478 Remove LoadBalancerIPMode feature gate 2025-10-24 09:12:03 -04:00
Dan Winship
b5297b18ab Remove AllowServiceLBStatusOnNonLB feature gate 2025-10-24 09:12:01 -04:00
Kubernetes Prow Robot
ae60c554f8 Merge pull request #134404 from nmn3m/dra-consumable-capacity-autoscaler-contract
Dedicated package for scheduler interaction with DRA structured types
2025-10-24 00:19:33 -07:00
Xin Wang
5d4d6cc980 Test: Add unit test for PreStartContainer
#109717
2025-10-24 12:58:01 +08:00
Kubernetes Prow Robot
733f552f73 Merge pull request #134741 from zk-123/fix/kubelet_node_status_cleanup_register_schedulable
fix(kubelet_node_status): remove the node.Spec.Unschedulable check
2025-10-23 19:29:33 -07:00
Richa Banker
491f7f9ba8 Add a preshutdownhook to cleanup apisever identity lease 2025-10-23 18:59:52 -07:00
Kubernetes Prow Robot
ee58e792cc Merge pull request #134812 from skitt/enable-gocritic-unlambda
Avoid no-change lambdas
2025-10-23 15:43:34 -07:00
Kubernetes Prow Robot
6652c9fadf Merge pull request #134457 from danwinship/prefersamenode
KEP-3015: update PreferSameTrafficDistribution to GA
2025-10-23 14:41:33 -07:00
yongruilin
78796239cf feat(validation): add k8s:optional tag to InterfaceName and HardwareAddress in NetworkDeviceData across all versions 2025-10-23 21:04:02 +00:00
Kubernetes Prow Robot
7498131d5e Merge pull request #131098 from DataDog/fricounet/upstream/race-csinode-creation
Wait for CSINode removal to register CSI plugin
2025-10-23 11:35:35 -07:00