Commit Graph

133489 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
3ef0262766 Merge pull request #134760 from Rishita-Golla/resize-test
Add step field in SizeRange struct for volume_expand tests
2025-10-28 14:20:00 -07:00
Kubernetes Prow Robot
d915ef1660 Merge pull request #134777 from soltysh/headers_stable
Promote KUBECTL_COMMAND_HEADERS to stable
2025-10-28 13:00:08 -07: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
Maciej Szulik
f82a139dc0 Promote KUBECTL_COMMAND_HEADERS to stable
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-10-28 18:17:32 +01:00
Kubernetes Prow Robot
869c79ddae Merge pull request #134903 from jsafrane/remove-storage-v1beta1
test: remove usage of storage v1beta1 APIs
2025-10-28 09:10:10 -07:00
Kubernetes Prow Robot
110408060c Merge pull request #134542 from hoskeri/clean-loopback-clients
Drop loopback clients if unused
2025-10-28 09:10:02 -07:00
Kubernetes Prow Robot
7be689fcd6 Merge pull request #134816 from swatisehgal/device-plugin-e2e-flakiness-2
node: e2e: update podresources check post fix of kubernetes#119423
2025-10-28 07:49:42 -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
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
71fa43e37f Merge pull request #134897 from sunya-ch/allocating-test-wrapper
Rewrite claim with extensions in allocator test
2025-10-27 18:13:34 -07:00
Kubernetes Prow Robot
f9952b77bd Merge pull request #134879 from gnufied/fix-vac-tests-external
Remove FromName for VAC external tests
2025-10-27 13:21:43 -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
0517fc4126 Merge pull request #134866 from neolit123/1.35-kubeadm-drop-etcd-extra-versions
kubeadm: improve the etcd version mapping
2025-10-27 12:31:42 -07:00
Kubernetes Prow Robot
6207429cd5 Merge pull request #134303 from eun2ce/cleanup-sig-node-e2e-features
Remove redundant KubeletPSI feature label from sig-node e2e test
2025-10-27 12:31: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
Kubernetes Prow Robot
7415b9a979 Merge pull request #134872 from bertinatto/test-e2e-vac-v1
test/e2e: migrate VolumeAttributesClass from v1beta1 to v1
2025-10-27 08:45:37 -07:00
Ed Bartosh
1e903a4b5a DRA: e2e: test extended resources after device plugin uninstall
Add an e2e test verifying that pods requesting extended resources
can still be admitted and processed by DRA after the corresponding
device plugin is uninstalled. The test deploys a sample device plugin,
waits for its extended resource to appear on a node, uninstalls the
plugin, and then creates a pod requesting that resource. It confirms
that the pod starts successfully and that the DRA driver processes the
resource as expected.
2025-10-27 16:24:35 +02: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
Hemant Kumar
62b23aeb0c Remove FromName for VAC external tests
VAC must have one or more parameters defined and hence
you can't just create it from driver's name during e2e testing.
2025-10-27 10:15:32 -04:00
Kubernetes Prow Robot
ba9ddb703d Merge pull request #134770 from p0lyn0mial/upstream-watchlist-unsupported-wl-cacher
apiserver/pkg/storage/cacher/lister_watcher: exposes WatchList semantics
2025-10-27 06:37:44 -07: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
Fabio Bertinatto
b40df46b0b test/e2e: remove unused v1beta.VolumeAttributesClass field 2025-10-27 08:56:02 -03: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
a7b6742940 Merge pull request #134748 from p0lyn0mial/upstream-watchlist-unsupported-wl-clients-improve-units
client-go/clients: improve TestWatchListSemanticsSimple
2025-10-27 03:43:45 -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
Kubernetes Prow Robot
6c91840fed Merge pull request #125912 from ffromani/cpumanager-migrate-structured-logging
Migrate cpumanager to contextual logging
2025-10-27 02:47:38 -07:00
Jan Safranek
04fb0931ae test: remove usage of storage v1beta1 APIs
All beta objects were promoted to GA
2025-10-27 10:12:25 +01:00
Francesco Romani
816eee64e8 cpumanager: hack: add golang ci config for contextual logging
add cpumanager to contextual logging linter
regenerate with
```hack/update-golangci-lint-config.sh```

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-10-27 08:38:58 +01: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
Sunyanan Choochotkaew
2cd69e0d0e Rewrite claim with extensions in allocator test
Signed-off-by: Sunyanan Choochotkaew <sunyanan.choochotkaew1@ibm.com>
2025-10-27 13:38:13 +09:00
Kubernetes Prow Robot
084bac6896 Merge pull request #134888 from yt2985/podcertificates-agnhost-2
Fix the error "unknown flag: --logtostderr" in Agnhost 2.58
2025-10-26 15:21:34 -07:00
Abhijit Hoskeri
a35785c033 Drop loopback clients if unused
kube-controller-manager and kube-scheduler do not use the
configured loopback clients. Drop them.

Fix up scheduler test server to not depend on
the loopback client.
2025-10-26 14:47:57 -07:00
Kubernetes Prow Robot
1b87cedb7f Merge pull request #134822 from humblec/update-base
test/images: Update tf-wide-deep base image from Python 3.6 to 3.11
2025-10-26 07:49:33 -07:00
Humble Devassy Chirammal
f8ca585b66 test/images: Update tf-wide-deep container image with Python 3.11 and TensorFlow 2.20.0
- Updated base image from python:3.6-slim-stretch to python:3.11-slim-bookworm
- Bumped version from 1.3 to 1.4
- Updated TensorFlow from 1.9.0 to 2.20.0 (latest stable)
- Updated TensorFlow models from v1.9.0 to v2.15.0

Signed-off-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
2025-10-26 11:42:47 +05:30
tinatingyu
36654a9ecb --no-edit 2025-10-26 04:01:23 +00:00
tinatingyu
cff8bc8686 fix the unknown flag: --logtostderr error 2025-10-26 03:48:43 +00:00
eun2ce
b2571fe170 Add WithNodeConformance to KubeletPSI test context
- Add framework.WithNodeConformance() to indicate test doesn't require special environment
- This addresses reviewer feedback on PR #134303
2025-10-25 20:22:59 +09:00
Kubernetes Prow Robot
fb10a29954 Merge pull request #134833 from rikatz/fix-panic-apiresources
Return error in case of discovery client failure
2025-10-25 01:37:33 -07:00
Kubernetes Prow Robot
1d16b7f3a8 Merge pull request #134856 from soltysh/flake_events
Improve cmd tests for kubectl events
2025-10-24 23:27:33 -07:00
Kubernetes Prow Robot
5034140085 Merge pull request #134439 from pohly/dra-e2e-crud-conformance
Promote DRA e2e CRUD tests to Conformance
2025-10-24 16:33:37 -07: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
ec5425a6ef Merge pull request #134744 from neolit123/1.35-update-system-validators-to-v1.12.0
vendor: update system-validators to v1.12.1
2025-10-24 13:07:40 -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