Commit Graph

131051 Commits

Author SHA1 Message Date
phuhung273
5d20dc55bf chore(kubelet): migrate pluginmanager to contextual logging 2025-07-11 20:20:13 +07:00
Kubernetes Prow Robot
9822e51403 Merge pull request #132864 from bzsuni/bz/etcd/image/build/3.6.2
Build etcd image v3.6.2
2025-07-11 04:13:28 -07:00
bzsuni
b1a35c640e Build etcd image v3.6.2
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2025-07-11 05:36:16 +00:00
Kubernetes Prow Robot
2bdcad7419 Merge pull request #132803 from aramase/aramase/f/token_request_uid_check
Make kubelet token cache UID-aware to prevent stale tokens after service account recreation
2025-07-10 22:25:27 -07:00
Anish Ramasekar
7e37711d6e kubelet: Add service account UID to token cache key for proper invalidation
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-07-10 23:20:27 -05:00
Anish Ramasekar
45dfb46448 Add TokenRequestServiceAccountUIDValidation feature gate with UID validation
This change introduces the TokenRequestServiceAccountUIDValidation feature
gate and implements feature-gated service account UID validation for the
TokenRequest API. When enabled, the API validates that the service account
UID in token requests matches the actual service account UID, preventing
token requests for recreated service accounts with the same name but
different UIDs.

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-07-10 23:20:23 -05:00
Kubernetes Prow Robot
d269d10bfc Merge pull request #132647 from princepereira/ppereira-incorrect-internalport
Ensure Loadbalancer internal port is set to container port from endpointslice if the targetPort is not specified in service info creation.
2025-07-10 18:41:27 -07:00
Kubernetes Prow Robot
62f6e213ce Merge pull request #132342 from natasha41575/prioritized_resizes
[FG:InPlacePodVerticalScaling] Prioritize resize requests by priorityClass and qos class
2025-07-10 16:35:27 -07:00
Natasha Sarkar
237fbde8b1 clean up e2e test and sorting code 2025-07-10 22:30:21 +00:00
Kubernetes Prow Robot
894ad4ec63 Merge pull request #132875 from natasha41575/fix-windows-test
fix kubelet TestPodResourceAllocationReset for windows
2025-07-10 14:03:27 -07:00
Natasha Sarkar
bfa7f38c6a fix TestPodResourceAllocationReset for windows 2025-07-10 18:37:47 +00:00
Natasha Sarkar
e8b914c4b8 address comments 2025-07-10 18:29:31 +00:00
Kubernetes Prow Robot
054750fc26 Merge pull request #132848 from serathius/etcd3-compactor
Expose compaction revision from compactor
2025-07-10 11:15:27 -07:00
Natasha Sarkar
6052c569db prioritize resize requests by priorityClass and qos class 2025-07-10 18:01:15 +00:00
Kubernetes Prow Robot
d9f93d9e9d Merge pull request #132867 from pohly/local-up-cluster-enhancements
local-up-cluster: cleanup, support automated upgrade/downgrade testing
2025-07-10 09:45:28 -07:00
Marek Siarkowicz
03e32bd260 Expose compaction revision from compactor 2025-07-10 16:01:02 +02:00
Marek Siarkowicz
5e3ea8e279 Add test for compactor 2025-07-10 16:00:12 +02:00
Ed Bartosh
bbab594110 local-up-cluster: stop running Docker
It's been a long time since Kubernetes stopped to use Docker
as a runtime. Modified script to stop Docker as Kubelet is using
containerd directly. Removed Docker-specific logic and variables,
adjusted comments and configuration.
2025-07-10 15:30:56 +02:00
Ed Bartosh
f57662856f local-up-cluster: store logs in artifacts directory
Store logs in a temporary subdirectory under the artifacts directory
when running in CI. This ensures logs are available in the prow
web UI for easier access and debugging.
2025-07-10 15:30:56 +02:00
Ed Bartosh
81b6e1d3a3 local-up-cluster: start containerd before Docker
Configure and start containerd before starting Docker, ensuring that
Docker detects and uses the running containerd instance instead of
launching its own. This allows us to customize containerd’s
configuration, such as enabling CDI support, which is not possible when
Docker manages containerd itself.

Set root and state paths for containerd to make it working the same way
as when Docker runs it.
2025-07-10 15:30:56 +02:00
Ed Bartosh
27a77370dd local-up-cluster: simplify installing packages
- Don't reinstall docker, containerd and runc as kubekins image
  already has their recent versions.
- Avoid breaking dependencies when installing nfttables and kmod.
- Install only packages that don't exist in the image.
2025-07-10 15:30:56 +02:00
Patrick Ohly
ddda1dca33 local-up-cluster.sh: add dry-run mode
This may be useful during manual invocations to see what commands would be
executed and with which parameters, without actually running them.

But the main purpose is to use this mode in automated upgrade/downgrade testing
where the caller parses the output to execute those commands under its own
control. Such a caller can then replaced individual component binaries with
those from other releases.
2025-07-10 15:30:56 +02:00
Patrick Ohly
bc5aa94d8d local-up-cluster.sh: allow configuring all ports
Some ports (apiserver, one kubelet port) were already configurable.
Several others were not.

Primarily this is done to document the ports which are in used by the different
components.
2025-07-10 13:09:19 +02:00
Patrick Ohly
a4b1d26b14 local-up-cluster.sh: dump config on KUBE_VERBOSE >= 2
Showing the configuration (= variable assignments) without going all the way to
KUBE_VERBOSE > 4 is useful.
2025-07-10 13:09:18 +02:00
Kubernetes Prow Robot
a6f32c0e63 Merge pull request #132832 from Goend/master
add SuccessCriteriaMet status for kubectl get job
2025-07-10 02:25:26 -07:00
Kubernetes Prow Robot
6e716b2049 Merge pull request #132619 from saza-ku/report-scheduler-perf-fail
scheduler_perf: add logs to report the failure of measuring SchedulingThroughput
2025-07-10 01:15:28 -07:00
Kubernetes Prow Robot
818b7ae681 Merge pull request #132850 from tallclair/pod-cache-mutex
Delete unnecessary mutex
2025-07-09 19:01:26 -07:00
Kubernetes Prow Robot
bb415b6933 Merge pull request #132823 from yongruilin/master_vg_enum
feat(validation-gen): add k8s:enum validators
2025-07-09 17:53:35 -07:00
Kubernetes Prow Robot
9538d53353 Merge pull request #132456 from aroradaman/nftables-etp-fix
nftables short-circuit local traffic to external addresses
2025-07-09 17:53:27 -07:00
Kubernetes Release Robot
5665bafaa8 CHANGELOG: Update directory for v1.34.0-alpha.3 release 2025-07-09 23:12:11 +00:00
Kubernetes Prow Robot
13dcec3d1b Merge pull request #131612 from natasha41575/move-resize-logic
[FG:InPlacePodVerticalScaling] Move resize allocation logic out of the sync loop
2025-07-09 15:49:27 -07:00
Natasha Sarkar
381b3f376b clear just the errors rather than the entire in-progress condition when a new resize is allocated 2025-07-09 21:44:08 +00:00
Natasha Sarkar
b89ab301f5 feedback round 2 2025-07-09 20:50:07 +00:00
Kubernetes Prow Robot
9a50e30636 Merge pull request #132668 from dims/fix-todos-from-sorted-features-original-pr
Fix todos from sorted features golangci-lint plugin PR
2025-07-09 13:15:26 -07:00
Kubernetes Prow Robot
c6b8d7c9af Merge pull request #132816 from iholder101/test/swap-eviction-nits
Swap eviction test nit improvements
2025-07-09 12:05:34 -07:00
Kubernetes Prow Robot
eace307651 Merge pull request #132795 from tallclair/resize-patch
Avoid manually writing resize patches for pod resize E2Es
2025-07-09 12:05:27 -07:00
Tim Allclair
7a6f6fdf72 Delete unnecessary mutex 2025-07-09 11:25:33 -07:00
Kubernetes Prow Robot
93bb3858f3 Merge pull request #132845 from ylink-lfs/chore/int64ptr_removal
chore: replace int64ptr with ptr.To
2025-07-09 10:11:34 -07:00
Kubernetes Prow Robot
da7058e92c Merge pull request #132813 from serathius/compact-test
Add testing compaction in storage List tests
2025-07-09 10:11:26 -07:00
Kubernetes Prow Robot
46c430291c Merge pull request #132846 from pohly/dra-e2e-resourceslice-controller-flake
DRA E2E: ResourceSlice Controller test flake
v1.34.0-alpha.3
2025-07-09 08:13:28 -07:00
Patrick Ohly
2dd07e9242 DRA E2E: ResourceSlice Controller test flake
There was one flake:

  expected pod to be pod is scheduled, got instead:
     ...
     status:
          conditions:
          - lastProbeTime: null
            lastTransitionTime: "2025-07-06T12:08:54Z"
            message: 'running "DynamicResources" filter plugin: pool network-attached is invalid:
              duplicate device name dev-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0000'

The root cause was that the test produced device names which were unique within
their slice, but not within the pool. This didn't matter for the test itself,
but for tests running concurrently of after it, because those slices were also
not cleaned up properly.

Timing in pull-kubernetes-e2e-gce also was different.
2025-07-09 15:56:06 +02:00
ylink-lfs
26f54e5c0e chore: replace int64ptr with ptr.To 2025-07-09 21:35:45 +08:00
Kubernetes Prow Robot
83fb86e188 Merge pull request #132740 from adrianmoisey/e2e-test-single-ip
Loop over all IP address from each node in e2e test
2025-07-09 05:05:27 -07:00
Kubernetes Prow Robot
9e204ba03c Merge pull request #132708 from yashsingh74/conntrack-test
cleanup conntrack entries test for UDP service
2025-07-08 21:51:27 -07:00
Kubernetes Prow Robot
4fedef93d1 Merge pull request #132820 from dims/update-to-v1.1.4-for-golang.org/x/vuln/cmd/govulncheck
Update to v1.1.4 for golang.org/x/vuln/cmd/govulncheck
2025-07-08 20:01:33 -07:00
Kubernetes Prow Robot
3b12bcd546 Merge pull request #132777 from PatrickLaabs/132086-pkg-plugin
chore: depr. pointer pkg replacement for pkg/security and plugin/pkg
2025-07-08 20:01:26 -07:00
Goend
ce456c87f1 add SuccessCriteriaMet status for kubectl get job 2025-07-09 10:40:49 +08:00
Kubernetes Prow Robot
09bb45816a Merge pull request #132468 from haircommander/status-retry
e2e: retry getting status on restart policy tests
2025-07-08 18:21:28 -07:00
Natasha Sarkar
c925243779 address feedback 2025-07-08 21:53:20 +00:00
Kubernetes Prow Robot
d656b7f9df Merge pull request #132809 from ialidzhikov/cleanup/unversioned-feature-list-file
Clean up `unversioned_feature_list.yaml` file
2025-07-08 14:33:47 -07:00