Commit Graph

128496 Commits

Author SHA1 Message Date
Dan Winship
b62503dd66 Remove a dead error check in winkernel
The cmd/kube-proxy code never passes nil for the node IP any more.
2025-03-07 10:43:58 -05:00
Dan Winship
f001b3916d Remove a stale comment in metaproxier.go
(NodeHandler was implemented in metaProxier a long time ago.)
2025-03-07 10:43:56 -05:00
Dan Winship
303593cafe Fix some pkg/proxy comments
Remove a bunch of comments that are either inaccurate ("the proxier
can only be tested by e2e tests") or weirdly overspecific about
obvious details ("the proxier will not exit if an iptables call
fails").
2025-03-07 10:43:55 -05:00
Dan Winship
b5e9a8262e Remove exec arg from utilipset.New
Historically it took an exec argument so you could pass a FakeExec to
mock its behavior in unit tests, but it has a fake implementation now
that is much more useful for unit tests than trying to use the real
implementation with a fake exec. (The unit tests still use fake execs,
but they don't need to use a public constructor.) So remove the exec
args from the public constructors.
2025-03-07 10:43:52 -05:00
Dan Winship
36f5820ad1 Remove some unused proxy args/fields
Remove the utilexec.Interface args from the iptables/ipvs constructors
(which have been unused since the conntrack cleanup code was ported to
netlink).

Remove the EventRecorder fields from the iptables/ipvs Proxiers, which
have been unused since we removed the port-opener code in 2022.

Remove the strictARP field from the ipvs Proxier, which has apparently
always been unused (strictARP is only looked at at construct time).
2025-03-07 10:43:45 -05:00
Dan Winship
13f0449e4c Fix up kube-proxy import ordering/organization. 2025-03-07 10:43:43 -05:00
Kubernetes Prow Robot
45fa12f8af
Merge pull request #130616 from gnufied/fix-root-unit-test-ownership-perms
Fix unit tests for volume ownership
2025-03-06 08:47:44 -08:00
Hemant Kumar
5a7697dfe0 Fix unit tests for volume ownership 2025-03-06 10:37:56 -05:00
Kubernetes Prow Robot
0f7becbc44
Merge pull request #130537 from saintube/scheduler-expose-nodeinfo-in-score
Expose NodeInfo to the ScorePlugin
2025-03-06 06:53:55 -08:00
Kubernetes Prow Robot
07e65dac2d
Merge pull request #130417 from serathius/watchcache-compact
Separate compactWatchCache from compactStore
2025-03-06 06:53:45 -08:00
Kubernetes Prow Robot
7c78041218
Merge pull request #130416 from macsko/add_backoff_expiration
Store Pod backoff expiration time in QueuedPodInfo
2025-03-06 05:09:45 -08:00
Marek Siarkowicz
15cb82b3b3 Separate compactWatchCache from increaseRV 2025-03-06 13:30:37 +01:00
Maciej Skoczeń
2fc3cd90b1 Store pod backoff expiration time in QueuedPodInfo 2025-03-06 10:45:38 +00:00
Kubernetes Prow Robot
c30b1eb09b
Merge pull request #130589 from serathius/watchcache-opts
Pass storage.ListOptions to WaitUntilFreshAndList
2025-03-06 00:58:00 -08:00
Kubernetes Prow Robot
4696667025
Merge pull request #130543 from thockin/error_matcher_and_origin
Fix up ErrorMatcher from feedback
2025-03-06 00:57:52 -08:00
Kubernetes Prow Robot
d6c615dd65
Merge pull request #130422 from bertinatto/propagate-error-custom-resource-storage-2
Propagate error when creating CustomResourceStorage instead of panic'ing
2025-03-06 00:57:46 -08:00
Kubernetes Prow Robot
0a58016f21
Merge pull request #129971 from googs1025/feature/integration_filter_nodeports
chore(scheduler): add filter integration tests for missing part plugins: NodePorts plugin
2025-03-05 19:49:51 -08:00
Kubernetes Prow Robot
ea35e5e8b0
Merge pull request #129535 from googs1025/csi_volumelimit_plugin_requeue
feature(scheduler): add more requeue case for CSI NodeVolumeLimits plugin when the VolumeAttachment is deleted
2025-03-05 19:49:44 -08:00
Kubernetes Prow Robot
50927130ff
Merge pull request #130582 from tenzen-y/use-suspended-job-util
Job: Use jobSuspended util for suspended detection
2025-03-05 15:49:51 -08:00
Kubernetes Prow Robot
4f32f64036
Merge pull request #130320 from Jefftree/relax-openapi-verify
Relax OpenAPI Verification to pass for both strict and non-strict alpha enforcement
2025-03-05 15:49:44 -08:00
Kubernetes Prow Robot
cd451c6a36
Merge pull request #130282 from natasha41575/podresizevalidation
Clean up preparation for pod subresource updates
2025-03-05 14:41:45 -08:00
Jefftree
e2505b0d27 Update OpenAPI 2025-03-05 21:31:40 +00:00
Jefftree
c597cc1f30 Allow OpenAPI verification to pass both with and without strict alpha
handling
2025-03-05 21:31:40 +00:00
Kubernetes Prow Robot
8873c7e875
Merge pull request #130564 from danwinship/label-endpoints
Add "endpoints.kubernetes.io/managed-by" label to Endpoints
2025-03-05 13:29:45 -08:00
Tim Hockin
0a9f492eed
Fix up ErrorMatcher from feedback
a) Rename the type and drop the constructor
b) Make MatchErrors() into a Test() method

For followup:

c) Consider making ByType() assumed
d) Consider making ByField() assumed and handle nil as "don't care"
e) Consider making ByValue() assumed and handle nil as "don't care"
2025-03-05 09:52:44 -08:00
Kubernetes Prow Robot
2b025e6459
Merge pull request #130571 from hakuna-matatah/debug-upstream
Help debug latencies in authn and authz phase of Request
2025-03-05 07:57:52 -08:00
Kubernetes Prow Robot
c496aef96d
Merge pull request #130511 from z1cheng/issue_130395
Implement tests for encoding collections in Proto
2025-03-05 07:57:45 -08:00
Marek Siarkowicz
e6cf9dd166 Pass storage.ListOptions to WaitUntilFreshAndList 2025-03-05 15:35:31 +01:00
Kubernetes Prow Robot
91d6fd3455
Merge pull request #130587 from serathius/watchcache-subtests
Run lists tests in subtests
2025-03-05 06:03:46 -08:00
Fabio Bertinatto
796690637d Propagate error when creating CustomResourceStorage instead of panic'ing 2025-03-05 10:45:57 -03:00
z1cheng
b88f026053 Implement tests for encoding collections in Proto
Signed-off-by: z1cheng <imchench@gmail.com>
2025-03-05 20:01:59 +08:00
Marek Siarkowicz
7a84e7630f Run lists tests in subtests 2025-03-05 12:51:55 +01:00
Kubernetes Prow Robot
30ea0d13cd
Merge pull request #130317 from macsko/increment_schedulerqueueincomingpods_metric_when_adding_pods_to_unschedulable_when_gated
Add missing increments of queue_incoming_pods_total metric in scheduling queue
2025-03-05 02:19:45 -08:00
Yuki Iwai
8202b791e9 Job: Use jobSuspended util for suspended detection
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2025-03-05 18:12:59 +09:00
Kubernetes Prow Robot
9d9e1afdf7
Merge pull request #130576 from tallclair/allocated-uid
Change allocation manager pod UID to types.UID
2025-03-04 16:41:51 -08:00
Kubernetes Prow Robot
f816be06ed
Merge pull request #129216 from tallclair/ippr-supported
[FG:InPlacePodVerticalScaling] Never attempt a resize of windows pods and always use allocated resources for unsupported resize pods
2025-03-04 16:41:44 -08:00
Harish Kuna
186e6ee2bd Debug latencies in request handler 2025-03-05 00:21:03 +00:00
Kubernetes Prow Robot
0156f6e17c
Merge pull request #130566 from MrHohn/addon-update-makefile
Update base image for addon-manager to fix a build failure.
2025-03-04 14:50:11 -08:00
Kubernetes Prow Robot
89d0b7022a
Merge pull request #130549 from jpbetz/validation-gen-pr2
KEP-5073: Add declarative validation to scheme
2025-03-04 14:50:02 -08:00
Kubernetes Prow Robot
76b80b1c15
Merge pull request #130507 from cici37/updateFG
Update OrderedNamespaceDeletion feature gate on by default
2025-03-04 14:49:52 -08:00
Kubernetes Prow Robot
dc1199a9fb
Merge pull request #129973 from Henrywu573/myfeature
Add third party strategy to the coordinate leader election integratio…
2025-03-04 14:49:44 -08:00
Tim Allclair
8fac9c68e1 Change allocation manager pod UID to types.UID 2025-03-04 13:54:27 -08:00
Kubernetes Prow Robot
7d1643b9d1
Merge pull request #129411 from yongruilin/compatibility-version-migration
chore: migrate logging featuregates to versioned
2025-03-04 13:35:45 -08:00
Kubernetes Prow Robot
6c445ca18a
Merge pull request #130122 from marosset/windows-unit-test-pkg-kubelet-apis-config-validation-fixes
unit tests - fixing k8s.io/kubernetes/pkg/kubelet/apis/config/validation unit test failures on Windows
2025-03-04 12:25:51 -08:00
Kubernetes Prow Robot
98e8539b74
Merge pull request #130090 from carlory/sig-storage-testing
nominate myself as an approver for storage e2e tests
2025-03-04 12:25:44 -08:00
Kubernetes Release Robot
3a80473cda CHANGELOG: Update directory for v1.33.0-alpha.3 release 2025-03-04 19:13:01 +00:00
yongruilin
4f7ce7513e chore: migrate logging featuregates to versioned 2025-03-04 18:58:57 +00:00
Zihong Zheng
4fda41c650 Update base image for addon-manager to fix a build failure. 2025-03-04 18:36:52 +00:00
Kubernetes Prow Robot
aa08c90fca
Merge pull request #130499 from tonyzhc/fix-windows-npd
Prevent node-problem-detector from being scheduled on Windows nodes.
2025-03-04 10:17:56 -08:00
Kubernetes Prow Robot
80026570aa
Merge pull request #130119 from npinaeva/nft-restart
[kube-proxy: nftables] Optimize kube-proxy restart time
2025-03-04 10:17:44 -08:00