Ania Borowiec
b012e16b47
Remove use of pkg/scheduler/framework.NodeInfo in node_ports.go
2025-08-27 13:30:45 +00:00
pamforever
731e6def04
Fix the spelling error of grpc in the log
2025-08-27 19:14:22 +08:00
Ania Borowiec
b83e933d6a
doc comments
2025-08-27 10:49:34 +00:00
Kubernetes Release Robot
6dff95db79
CHANGELOG: Update directory for v1.34.0 release
2025-08-27 10:36:10 +00:00
Cici Huang
ac802de9f5
update openapi spec
2025-08-27 03:52:21 +00:00
carlory
2f3e6778ff
clean up removeMaxAttachLimit
2025-08-27 10:58:47 +08:00
Benjamin Elder
5a718ca28c
remove stale Godeps filter from rsync
2025-08-26 18:24:24 -07:00
Benjamin Elder
8512862161
cleanup tempdirs on exit in kube::verify::generated
2025-08-26 18:10:33 -07:00
Benjamin Elder
d4e1d13480
add note about not adding to rsync invocations
2025-08-26 18:10:33 -07:00
Benjamin Elder
33a58e4bef
stop excluding GOPATH from rsync
...
we aim to eliminate the rsync in favor of a bind mount eventually, adding new filters makes this harder
2025-08-26 18:10:32 -07:00
Chris Bandy
7a43f8bd27
Omit values from validation rule error expressions
2025-08-26 18:38:50 -05:00
Chris Bandy
56e2f15c1a
Show simple values in validation rule errors
2025-08-26 18:38:50 -05:00
Chris Bandy
00c30b354d
Reduce nested conditionals around validation rule errors
2025-08-26 18:31:56 -05:00
Ahmet Alp Balkan
d838611d6d
api: Remove +listType marker for non-list field
...
meta/v1.Status.Details field, which is not an array, currently has a
+listType=atomic marker that was accidentally added in 44060fb1f3 .
This causes CRD generation with controller-gen to fail with an error since the
marker appears on a non-array struct member.
2025-08-26 14:44:24 -07:00
Cici Huang
ae2d50cf1a
Update MAP storage version to use v1beta1.
2025-08-26 19:42:35 +00:00
Jose Valdes
2dc6f7501e
kubelet: fix error message for EnableNodeLogQuery
...
This commit fixes a typo in the error message
for the EnableNodeLogQuery validation.
Follow-up to 26279a5282
2025-08-26 14:57:29 -04:00
Kubernetes Prow Robot
28c8381aa5
Merge pull request #133695 from prezha/kube-proxy-iptables-startup-errors
...
Fix kube-proxy iptables startup: log but don't exit if ipv4 or ipv6 is not available
2025-08-26 09:22:10 -07:00
Predrag Rogic
f2170bc6c3
kube-proxy: log but don't exit if ipv4 or ipv6 is not available
2025-08-26 16:11:12 +01:00
Ania Borowiec
3c00c3cb29
Move GetAffinityTerms functions from pkg/scheduler/framework to staging repo
2025-08-26 13:39:49 +00:00
Jan Safranek
75d04e6c7b
Add a note about Conflicts return value
2025-08-26 15:04:21 +02:00
Jan Chaloupka
83da6f1a87
fix(controller/podautoscaler): do not print panic when .status.lastScaleTime is not set
2025-08-26 14:18:54 +02:00
Maciej Skoczeń
1c336e3fc6
Fix flaking readyz check in scheduler integration tests
2025-08-26 10:28:47 +00:00
Patrick Ohly
4fa6c70604
hack/logcheck.conf: add several converted packages
...
Several packages in `pkg` already have no log calls which need to be
updated. Adding them to the logcheck.conf prevents regressions.
2025-08-26 09:31:57 +02:00
Patrick Ohly
63f304708a
client-go leader-election: structured, contextual logging
2025-08-25 16:28:53 +02:00
Maciej Skoczeń
46e10103ff
Take activeQ lock for part of the Update method
2025-08-25 12:30:43 +00:00
Maciej Szulik
a0a43e5f80
Drop CronJobsScheduledAnnotation after the feature GA-ed in 1.32
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com >
2025-08-25 14:00:35 +02:00
Maciej Szulik
09954ce369
Drop unused tests, after KEP-2599 graduated to GA
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com >
2025-08-25 12:03:21 +02:00
Maciej Szulik
f2bc8bdea5
Drop unused tests, after KEP-3335 graduated to GA
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com >
2025-08-25 11:40:59 +02:00
264nm
9c8e03a40b
gofmt cleaner.go
2025-08-25 17:36:35 +10:00
Kensei Nakada
3bf684b4ed
fix: parsing the patch directly
2025-08-24 23:41:14 +09:00
胡玮文
ac1f9fb73f
util/sets: benchmark List()
...
the new implementation based on slices.Sort is 1.7x faster
goos: darwin
goarch: arm64
pkg: k8s.io/apimachinery/pkg/util/sets
cpu: Apple M2 Pro
│ master.txt │ pr-125140.txt │
│ sec/op │ sec/op vs base │
ListSmall-12 305.1n ± 4% 235.0n ± 4% -22.98% (p=0.000 n=8)
ListLarge-12 968.2µ ± 1% 581.5µ ± 0% -39.94% (p=0.000 n=8)
geomean 17.19µ 11.69µ -31.98%
│ master.txt │ pr-125140.txt │
│ B/op │ B/op vs base │
ListSmall-12 184.0 ± 0% 160.0 ± 0% -13.04% (p=0.000 n=8)
ListLarge-12 104.0Ki ± 0% 104.0Ki ± 0% -0.02% (p=0.000 n=8)
geomean 4.323Ki 4.031Ki -6.76%
│ master.txt │ pr-125140.txt │
│ allocs/op │ allocs/op vs base │
ListSmall-12 2.000 ± 0% 1.000 ± 0% -50.00% (p=0.000 n=8)
ListLarge-12 2.000 ± 0% 1.000 ± 0% -50.00% (p=0.000 n=8)
geomean 2.000 1.000 -50.00%
2025-08-24 01:34:04 +08:00
胡玮文
48399b1af1
util/sets: simply List() by using slices.Sort
...
reduced one level of interface so the performance should be slightly better.
2025-08-24 01:23:53 +08:00
Lubomir I. Ivanov
16d4f9ea1f
kubeadm: clarify the comments for a few API fields
...
- Make it clear that FeatureGates are kubeadm-specific
- Add note that custom etcd image results in etcd upgrade skip
- Explain how is ClusterName is used
2025-08-23 16:24:57 +02:00
Aman Shrivastava
3b7475c522
kube-proxy: list available endpoints in /statusz
2025-08-23 18:37:53 +05:30
Patrick Ohly
8a95e8a71c
DRA E2E: clean up class creation for extended resource tests
...
The initial testing of DRAExtendedResource changed the common setup for all
tests so that each test runs with seven DeviceClasses. This is unnecessary and
confusing, for example when looking at the endpoint stats for the simple
conformance test ("Are the stats correct? The test should only create one
class.").
This update changes it so that each test which needs more than the default
class explicitly creates those itself. For clarity, the special -1 index gets a
name and naming of the DeviceClasses gets updated to keep the default class
simple (no additional suffix).
Using the same "example.com/resource0" in tests which run in parallel might
explain https://github.com/kubernetes/kubernetes/issues/133653 . This gets
replaced with extended resource names based on the driver name, which is unique
in each parallel test.
2025-08-22 18:12:34 +02:00
Kevin Hannon
4a597f50b4
Fix panic in PodResources API test when FeatureGates is nil
...
The test was panicking when trying to assign to a nil map in
initialConfig.FeatureGates["KubeletPodResourcesListUseActivePods"] = false.
Added nil check and map initialization to match the pattern used
elsewhere in the same file.
Fixes panic: internal/runtime/maps/runtime_faststr_swiss.go:265
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-08-22 10:37:47 -04:00
Joe Betz
7debab6504
Apply feedback
2025-08-22 09:23:27 -04:00
Maciej Skoczeń
8b0b0df431
Don't run PreEnqueue when pod is activated from backoffQ
2025-08-22 12:40:41 +00:00
264nm
8b760704fc
fix(cleaner.go): exit early on check of CSR issue state
2025-08-22 12:37:55 +10:00
Joe Betz
6cefbb65d0
Apply feedback, minor cleanups
2025-08-21 18:18:38 -04:00
Joe Betz
2fc66ddaf2
update gofmt
2025-08-21 16:23:43 -04:00
Joe Betz
e1c586eb00
Add doc.go, example_test.go and ARCHITECTURE.md to apiserver
2025-08-21 15:36:12 -04:00
saisindhuri91
3f5b678e98
Update nfacct_linux_test.go
...
Signed-off-by: saisindhuri91 <Sai.Sindhuri.Avulamanda@ibm.com >
2025-08-21 21:31:33 +05:30
Kubernetes Prow Robot
091f87c10b
Merge pull request #133625 from danwinship/servicecidr-conformance
...
Remove patch/update from ServiceCIDR API conformance test
2025-08-21 03:31:05 -07:00
Sascha Grunert
e792dcb810
Update cri-tools to v1.34.0
...
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2025-08-21 10:11:08 +02:00
Joe Betz
accdd9e27e
Add doc.go and ARCHITECTURE.md to client-go
2025-08-20 19:14:13 -04:00
Natasha Sarkar
08bd33e0dc
clean up outdated in-place pod resize todo
2025-08-20 19:14:59 +00:00
Kubernetes Release Robot
f47e9696d7
CHANGELOG: Update directory for v1.34.0-rc.2 release
2025-08-20 17:40:32 +00:00
Michael Aspinwall
3bdaeea215
feat: Add discovery check to SVM to ensure migration doesn't get stuck
2025-08-20 16:32:15 +00:00
aditya
bb6a0ea6b2
HPA: optimize calculatePodRequests for specific container lookups
...
- Add early exit when specific container is found in calculatePodRequestsFromContainers
- Add error handling for non-existent containers following existing patterns
- Maintain all existing functionality for pod-level resources and feature gates
- Include comprehensive function documentation
The optimization eliminates unnecessary container iterations when HPA targets
specific containers, providing significant performance improvements for pods
with many containers while preserving full backward compatibility
2025-08-20 19:13:00 +05:30