Commit Graph

125845 Commits

Author SHA1 Message Date
Antonin Bas
53ddffb557 Use generics for waitFor (delaying workqueue) in client-go
With this change, we can typically avoid an extra heap allocation when
calling AddAfter with a positive duration (which causes the creation of
a waitFor object). This is because workqueues are typically used with
string keys, and casting a string (or more generally, non-pointer types)
to an `interface{}` will cause an heap escape / allocation.

Ater this change, there is no longer any usage of `type t interface{}`,
which was creating some confusion after the switch to generics in the
workqueue package.

Co-authored-by: Quan Tian <quan.tian@broadcom.com>
Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
2024-10-08 15:26:57 -07:00
Alexander Stephan
154b8aa880 Export name and typeDescription members of reflector struct 2024-10-08 22:11:15 +00:00
Kubernetes Prow Robot
f37ab27d9a
Merge pull request #127936 from riaankleinhans/remove-tested-pending-eligible-endpoints
Remove tested pending eligible endpoints
2024-10-08 22:58:29 +01:00
Kubernetes Prow Robot
d598a3ec0f
Merge pull request #126326 from manishym/group_snapshot_e2e
Add end-to-end tests for Volume Group Snapshot
2024-10-08 22:58:22 +01:00
Kubernetes Prow Robot
41440c8117
Merge pull request #127389 from macsko/pod_delete_event_handling_scheduler_perf_test_case
Add scheduler_perf test case for AssignedPodDelete event handling
2024-10-08 21:52:28 +01:00
Kubernetes Prow Robot
cd6a959cb4
Merge pull request #126927 from AnishShah/eviction-test
Deflake containerd DiskPressure eviction e2e tests
2024-10-08 21:52:22 +01:00
Kubernetes Prow Robot
9cf4f91245
Merge pull request #127908 from ii/promote-csinode-lifecycle-test
Promote CSINode e2e test to Conformance
2024-10-08 20:20:21 +01:00
riaan kleinhans
e4cce59247
remove tested pending eligible endpoints
Signed-off-by: riaan kleinhans <riaankleinhans@gmail.com>
2024-10-08 14:18:23 -04:00
Kubernetes Prow Robot
aa09157014
Merge pull request #127838 from benluddy/unstructured-nested-number-as-float64
Add NestedNumberAsFloat64 unstructured field accessor.
2024-10-08 18:12:21 +01:00
Cici Huang
baeeb66613 Update tests 2024-10-08 17:02:07 +00:00
Cici Huang
4c64aa7a4e Promote cost enforcement feature gates to GA 2024-10-08 17:02:07 +00:00
Aohan Yang
b47e80a319 Promote LoadBalancerIPMode to GA 2024-10-08 23:00:57 +08:00
Abu Kashem
bc0ea34bc3
refactor: add delete options for Delete method in storage interface 2024-10-08 10:45:15 -04:00
Josh Soref
502c05ed01 chore: Order ScalingReplicaSet message from->to
* change format of event
* include `from 0` for new replicas
* update describe tests to reflect current output

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-10-08 09:59:29 -04:00
Kubernetes Prow Robot
e386aa0ac4
Merge pull request #127893 from aokumasan/fix-incorrect-test-case-name
Fix incorrect test case name
2024-10-08 14:42:22 +01:00
Sascha Grunert
ce9351c824
CRI: clarify mount host_path docs
Mention that the `host_path` can be empty if image volumes are being
used.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-10-08 14:05:00 +02:00
Manish
88f9f5250d Add end-to-end tests for Volume Group Snapshot
This commit introduces comprehensive e2e tests for the
Volume Group Snapshot feature to ensure robust validation and functionality.
Addresses issue [kubernetes#1080 ](kubernetes-csi/external-snapshotter#1080).

Signed-off-by: Manish <myathnal@redhat.com>
2024-10-08 16:24:29 +05:30
Kubernetes Prow Robot
b2031b3cb4
Merge pull request #127710 from alvaroaleman/document
RestCfg: Add godocs on how to disable ratelimiting
2024-10-08 10:20:33 +01:00
Kubernetes Prow Robot
8461e630ac
Merge pull request #127635 from antoninbas/use-generics-for-queue-metrics
Use generics for workqueue metrics
2024-10-08 10:20:22 +01:00
zhifei92
64e2066e5c fix: kubeclt describe service endpoints shows endpoints that are not ready 2024-10-08 14:29:08 +08:00
Kubernetes Prow Robot
0b91def6bc
Merge pull request #127872 from kerthcet/cleanup/find-cancidate
Refactor the sample logging output
2024-10-08 04:00:22 +01:00
kerthcet
693d4fa156 Refactor the sample log
Signed-off-by: kerthcet <kerthcet@gmail.com>
2024-10-08 09:54:05 +08:00
Kubernetes Prow Robot
06fb818f86
Merge pull request #127907 from aojea/bump_netpol_06
bump kube-network-policies to 0.6.0
2024-10-07 23:20:21 +01:00
Kubernetes Prow Robot
ea13c5e6a2
Merge pull request #127905 from cici37/revert-127400
Revert pr 127400 due to regression
2024-10-07 22:02:22 +01:00
Stephen Heywood
cf0e605f8f Promote CSINode e2e test to Conformance 2024-10-08 09:51:48 +13:00
Antonio Ojea
cca19cbdf3 bump kube-network-policies to 0.6.0 2024-10-07 20:13:59 +00:00
Kubernetes Prow Robot
03f1344614
Merge pull request #127786 from Jefftree/leader-elect-flag-local-up
Add option to configure leader elect in local up cluster
2024-10-07 20:46:29 +01:00
Kubernetes Prow Robot
9c610d1082
Merge pull request #127768 from ii/create-serviceaccounttoken-test
Write e2e test for CoreV1 ServiceAccountToken +1 Endpoint
2024-10-07 20:46:22 +01:00
Kubernetes Prow Robot
0b1d123fd0
Merge pull request #127899 from jsafrane/revert-tmp
Revert 126599: fix: preserve options after remount for bind mounting
2024-10-07 19:42:22 +01:00
Cici Huang
95ec163725 Revert pr 127400 2024-10-07 17:51:16 +00:00
Kubernetes Prow Robot
815532749c
Merge pull request #127902 from p0lyn0mial/upstream-system-authenticated-for-system-apiserver
server/config: assing system:apiserver user to system:authenticated group
2024-10-07 18:14:22 +01:00
Lukasz Szaszkiewicz
dfeb560d4a server/config: assing system:apiserver user to system:authenticated group 2024-10-07 17:41:30 +02:00
Kubernetes Prow Robot
7ab8a2b92f
Merge pull request #127870 from googs1025/dra/controller_todo
chore(dra): add unit test in dra helper func
2024-10-07 15:08:21 +01:00
Stephen Kitt
f1fa4086b3
Use sigs.k8s.io/yaml instead of gopkg.in/yaml
Since we have a Kubernetes-specific fork of go-yaml, use that
consistently throughout the project. This doesn't eliminate the
dependencies on gopkg.in/yaml, which are still used indirectly; but it
ensures that the whole project benefits from fixes or changes to
sigs.k8s.io/yaml.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-10-07 15:32:00 +02:00
Stephen Kitt
aca3214a70
applyconfiguration-gen: drop yamlUnmarshal
It's unused.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-10-07 14:50:24 +02:00
googs1025
30ba5d7cb0 chore(dra): add unit test in dra helper func 2024-10-07 20:39:19 +08:00
Kubernetes Prow Robot
7fb8fe2cf7
Merge pull request #127876 from aojea/k8s_api
remove unnecessary dependency on k8s.io/api
2024-10-07 11:40:32 +01:00
Kubernetes Prow Robot
3d00d6e421
Merge pull request #127669 from olyazavr/fix-probe-race
fix plugin probe init race causing erroneous volume unmounts
2024-10-07 11:40:21 +01:00
Jan Safranek
7306cc1764 Revert "fix mount options after remount"
This reverts commit a813376093.
2024-10-07 10:00:20 +02:00
Jan Safranek
a953e42506 Revert "update vendor after rebase"
This reverts commit c6e7554570.
2024-10-07 10:00:19 +02:00
Jan Safranek
02101df58f Revert "fix test"
This reverts commit 62c5fd9438.
2024-10-07 10:00:18 +02:00
Jan Safranek
5325ccd18d Revert "replace /tmp with /var/tmp"
This reverts commit b3b57e53a4.
2024-10-07 10:00:16 +02:00
Kubernetes Prow Robot
a7fcc89ac0
Merge pull request #125936 from sivchari/use-ptr
use utils/ptr package instead of utils/pointer
2024-10-07 01:02:04 +01:00
Antonio Ojea
4c522bf21b remove unnecessary dependency on k8s.io/api 2024-10-06 15:37:22 +00:00
Daniel Shebib
2d28e6803c typo 2024-10-06 07:40:56 -05:00
Kensei Nakada
a2b3a4f4dc chore: ensure the scheduler handles events before checking the pod position 2024-10-06 21:06:45 +09:00
Daniel Shebib
7155404eb5 format whitespace 2024-10-05 18:46:26 -05:00
Daniel Shebib
252fb59bf9 Encase tests in When() 2024-10-05 18:46:26 -05:00
Kubernetes Prow Robot
7b28a115ba
Merge pull request #127810 from aojea/proxy_conntrack_flags
unit test kube-proxy conntrack flags
2024-10-05 19:48:03 +01:00
Antonio Ojea
df7215a144 unit test kube-proxy conntrack flags
Assert the flag behavior on kube-proxy using unit tests.
2024-10-05 13:29:34 +00:00