Commit Graph

133463 Commits

Author SHA1 Message Date
Maria Romano Silva
86bfcd5eec oopsie missed two, should fix failing tests 2025-10-28 01:26:32 +00:00
Maria Romano Silva
11f9d32a0e kept sidecar feature to enable default FeatureGate. will clean up in separate effort 2025-10-28 01:04:19 +00:00
Maria Romano Silva
a277269159 updating sidecar feature to node conformance 2025-10-27 23:43:43 +00: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
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
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
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
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
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
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
Lubomir I. Ivanov
294ff15342 kubeadm: improve the etcd version mapping
For historic reasons kubeadm kept track of a skew of 2+
etcd version in a map in the constants.go file.

This is really not required because kubeadm supports only
2 version of etcd mapped to two Kubernetes versions,
which are essentially the control plane versions.

Refactor the constants.go map to only include 2 versions.
Make sure that's reflected in a unit test.

Instead of pinning the versions as literal numbers,
start using the version we get on build time.

Adapt various unit tests and functions to allow this change
to work, since during unit tests we need actual values
and the build versions are not populated. This is achieved
by requiring the functions to accept a map[uint8]string
used for testing.
2025-10-24 20:54:22 +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
97702bb776 Merge pull request #134778 from yt2985/podcertificates-agnhost-2
Add mtlsclient and mtlsserver for the mtls validations
2025-10-24 10:09:45 -07: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
Maciej Szulik
167ccbc8ec Improve cmd tests for kubectl events
kube::test::if_has_string and kube::test::if_has_not_string only match
the first argument, and don't allow regular expressions, so we need to
split the checks into separate buckets, ensuring they are strictly tied
to this particular test.

Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-10-24 16:37:03 +02:00
Kubernetes Prow Robot
07c3285e0c Merge pull request #134818 from scaliby/kubectl-describe-fake-client-migration
Migrate off deprecated NewSimpleClientset to NewClientset in kubectl describe
2025-10-24 07:21: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
Lubomir I. Ivanov
c403fd4481 kubeadm: validate the KubeletVersion for cgroups v1
By using k8s.io/system-validators v1.12.1 a KubeletVersion
can be passed to the CgroupsValidator. The library
can then decide if to throw an error or a warning.

An error is thrown if the version is >= 1.35.

During upgrade pass a KubeletVersion that is with MINOR+1
to account for the target upgrade version. That is just
an assumption that the user will upgrade the kubelet too,
but it is better to throw an error for this
common use case instead of just a warning that is seen
after the upgrade command has finished.
2025-10-24 11:14:58 +02:00
Kubernetes Prow Robot
8cd57a9e6f Merge pull request #134709 from tchap/kubectl-tracing
kubectl: Add support for tracing
2025-10-24 01:35:34 -07: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
Kubernetes Prow Robot
28c1e7a454 Merge pull request #134835 from tallclair/copyright-year
Remove year from copyright header boilerplate
2025-10-23 23:25:34 -07:00
Xin Wang
5d4d6cc980 Test: Add unit test for PreStartContainer
#109717
2025-10-24 12:58:01 +08:00