Commit Graph

131072 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
8ad953df46 Merge pull request #132748 from HirazawaUi/remove-unused-file
kubelet: remove unused package
2025-07-12 06:53:28 -07:00
Kubernetes Prow Robot
d4ac5efd9d Merge pull request #132896 from cpanato/update-go124-main
Bump dependencies, images and versions used to Go 1.24.5 and distroless iptables
2025-07-12 05:35:35 -07:00
Kubernetes Prow Robot
566d6acb70 Merge pull request #131759 from carlory/clean-volumehost
Remove unused GetHostIP method
2025-07-12 05:35:28 -07:00
Kubernetes Prow Robot
34df3b5776 Merge pull request #132019 from danwinship/endpointslice-only-conformance
Promote two EndpointSlice e2e tests to Conformance
2025-07-11 18:15:27 -07:00
Kubernetes Prow Robot
d68aecabee Merge pull request #132894 from tallclair/stats-provider
Remove unuse runtimeCache parameter from stats.Provider
2025-07-11 14:19:34 -07:00
Kubernetes Prow Robot
0872760763 Merge pull request #130837 from aroradaman/kube-proxy-node-manager
Kube proxy node manager
2025-07-11 14:19:27 -07:00
Kubernetes Prow Robot
7a31dd60e5 Merge pull request #132796 from AnishShah/preemption
increase the verbosity of kubelet preemption log
2025-07-11 12:49:34 -07:00
Kubernetes Prow Robot
153c1b5c23 Merge pull request #132079 from cici37/mapMetrics
Add metrics for MutatingAdmissionPolicy
2025-07-11 12:49:27 -07:00
Carlos Panato
a06b3d356c Bump dependencies, images and versions used to Go 1.24.5 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-07-11 20:30:39 +02:00
Kubernetes Prow Robot
e44ddbf1da Merge pull request #132876 from serathius/watchcache-compact
Compact watch cache based on last observed etcd compaction
2025-07-11 11:25:28 -07:00
Tim Allclair
5eab2b7a6e Remove unuse runtimeCache parameter from stats.Provider 2025-07-11 10:59:20 -07:00
Daman Arora
46e2c22fd7 kube-proxy: merge OnNodeAdd and OnNodeUpdate into OnNodeChange
For kube-proxy, node addition and node update is semantically
considered as similar event, we have exactly same handler
logic for these two events resulting in duplicate code and
unit tests.
This merges the `NodeHandler` interface methods OnNodeAdd and
OnNodeUpdate into OnNodeChange along with the implementation
of the interface.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-07-11 23:06:44 +05:30
Daman Arora
fa9e466945 kube-proxy: merge NodeEligibleHandler with NodeManager
ProxyHealthServer now consumes NodeManager to get the latest
updated node object for determining node eligibility.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-07-11 23:06:44 +05:30
Daman Arora
c6735d9b3b kube-proxy: merge NodePodCIDRHandler with NodeManager
NodeManager, if configured with to watch for PodCIDR watch, watches
for changes in PodCIDRs and crashes kube-proxy if a change is
detected in PodCIDRs.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-07-11 23:06:44 +05:30
Marek Siarkowicz
bfeaae3310 Compact watch cache based on last observed etcd compaction 2025-07-11 18:25:46 +02:00
Daman Arora
c43104cbea kube-proxy: add NodeManager to manage life-cycle based on NodeIPs
NodeManager initialises node informers, waits for cache sync and polls for
node object to retrieve NodeIPs, handle node events and crashes kube-proxy
when change in NodeIPs is detected.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-07-11 21:48:52 +05:30
Daman Arora
af7abde0e5 kube-proxy: add NodeTopologyConfig for tracking topology labels
This simplifies how the proxier receives update for change in node
labels. Instead of passing the complete Node object we just pass
the proxy relevant topology labels extracted from the complete list
of labels, and the downstream event handlers will only be notified
when there are changes in topology labels.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-07-11 21:05:19 +05:30
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
Anish Shah
ff4746af13 increase verbosity of kubelet preemption log
This change increases the verbosity of kubelet preemption log. It also
adds the requesting pod information in the log message
2025-07-10 19:19:13 +00:00
Cici Huang
f2de8897e7 Add metrics for mutation
Signed-off-by: Cici Huang <cicih@google.com>
2025-07-10 12:13:40 -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