Commit Graph

5220 Commits

Author SHA1 Message Date
YamasouA
2bed3333bc fix lint error 2025-03-01 12:07:40 +09:00
YamasouA
75b09b4054 separete runOp 2025-03-01 11:24:23 +09:00
YamasouA
486d12efc5 call cleanup func position change 2025-03-01 00:14:49 +09:00
YamasouA
bee19638f1 tweak 2025-02-28 22:45:01 +09:00
YamasouA
038b90d475 return error instead of fatalf 2025-02-28 00:08:07 +09:00
YamasouA
f214d8e27a delete unnecessary init 2025-02-27 00:10:24 +09:00
YamasouA
45b323d6a5 use Cleanup func 2025-02-26 23:45:42 +09:00
YamasouA
b1f6cfcfae change defer order to pass test 2025-02-22 20:17:27 +09:00
YamasouA
fcce8aaad8 workloadExecutor's member use value not pointer 2025-02-16 23:42:20 +09:00
YamasouA
ca8a0f5f1b separete sleep func 2025-02-13 23:46:43 +09:00
YamasouA
6d291ddc21 fix lint 2025-02-13 23:41:00 +09:00
YamasouA
a9ee6bdf81 use *e.tCtx 2025-02-13 23:33:13 +09:00
YamasouA
cc87cb54ab delete unneccesary define 2025-02-13 23:13:57 +09:00
YamasouA
3ce36b3b3c rename doXXX to runXXX 2025-02-13 23:11:43 +09:00
YamasouA
d202a683f5 rename workloadExecutor member name 2025-02-13 23:04:54 +09:00
YamasouA
c40e69bb4c remove double comments 2025-02-13 23:02:41 +09:00
YamasouA
297b35873f use workloadExecutor 2025-02-11 12:18:14 +09:00
YamasouA
479f9cd898 can pass all testcase 2025-02-11 09:26:47 +09:00
YamasouA
1b0ad78718 fix 2025-01-29 23:58:51 +09:00
YamasouA
659804b765 refactor runWorkloads 2025-01-26 19:39:38 +09:00
Kubernetes Prow Robot
d8d3691280 Merge pull request #129360 from utam0k/scheduler-profile-test-enqueue
Make it possible to pass a scheduler profile to RuntTestCoreResourceEnqueue
2024-12-31 15:00:13 +01:00
utam0k
5aa4dd4a6e Make it possible to pass a scheduler profile to RuntTestCoreResourceEnqueue
Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-12-31 21:47:06 +09:00
Jefftree
59fcd7b770 fix metrics test 2024-12-20 19:07:54 +00:00
Jefftree
6c94adcc63 expand etcd storage tests to test for 1.31..1.33 2024-12-20 19:07:54 +00:00
Jefftree
dc476e968d remove emulated version test for un-emulatable 1.30 2024-12-20 19:07:54 +00:00
Kubernetes Prow Robot
438bc5d44e Merge pull request #128818 from yongruilin/flagz-kube-scheduler
feat: Add flagz endpoint for kube-scheduler
2024-12-20 20:02:08 +01:00
yongruilin
db6bf02217 feat: Add flagz endpoint for kube-scheduler 2024-12-19 19:52:46 -08:00
Kubernetes Prow Robot
e305c33988 Merge pull request #126387 from pohly/log-client-go-tools-cache-apis
client-go/tools/cache: add APIs with context parameter
2024-12-18 20:00:09 +01:00
Patrick Ohly
4638ba9716 client-go/tools/cache: add APIs with context parameter
The context is used for cancellation and to support contextual logging.

In most cases, alternative *WithContext APIs get added, except for
NewIntegerResourceVersionMutationCache where code searches indicate that the
API is not used downstream.

An API break around SharedInformer couldn't be avoided because the
alternative (keeping the interface unchanged and adding a second one with
the new method) would have been worse. controller-runtime needs to be updated
because it implements that interface in a test package. Downstream consumers of
controller-runtime will work unless they use those test package.

Converting Kubernetes to use the other new alternatives will follow. In the
meantime, usage of the new alternatives cannot be enforced via logcheck
yet (see https://github.com/kubernetes/kubernetes/issues/126379 for the
process).

Passing context through and checking it for cancellation is tricky for event
handlers. A better approach is to map the context cancellation to the normal
removal of an event handler via a helper goroutine. Thanks to the new
HandleErrorWithLogr and HandleCrashWithLogr, remembering the logger is
sufficient for handling problems at runtime.
2024-12-18 18:45:02 +01:00
Kubernetes Prow Robot
5cfad4f858 Merge pull request #128404 from mowangdk/test/add_integrate_test_of_node_OOS
Add non graceful shutdown integration test
2024-12-18 16:36:09 +01:00
Kubernetes Prow Robot
41ea061d2b Merge pull request #128705 from aramase/aramase/c/node_int_test_todo_cleanup
cleanup todo comment in node restriction integration tests
2024-12-18 00:40:52 +01:00
Kubernetes Prow Robot
cc03c6058b Merge pull request #129207 from Jefftree/remove-vap-alpha
Remove v1alpha1 admissionregistration APIs (ValidatingAdmissionPolicies & ValidatingAdmissionPolicyBindings)
2024-12-17 18:52:59 +01:00
Kubernetes Prow Robot
58aafb61d4 Merge pull request #129186 from liggitt/cleanup-authorization
Clean up v1alpha1 serving for authentication APIs
2024-12-17 18:52:52 +01:00
Jefftree
3cd1c8dd2d Drop v1alpha1 VAP in CEL tests 2024-12-13 18:35:17 +00:00
Jordan Liggitt
161a817812 Clean up v1alpha1 serving for authorization API 2024-12-13 08:37:57 -05:00
Kubernetes Prow Robot
e933a30523 Merge pull request #128848 from yongruilin/flagz-integration-test-apiserver
test: Add integration test for apiserver flagz endpoint
2024-12-13 03:04:32 +01:00
Kubernetes Prow Robot
bcd65ce240 Merge pull request #128667 from macsko/add_integration_tests_for_event_handling_scheduler_perf
Add integration tests for event handling cases in scheduler_perf
2024-12-12 13:10:26 +01:00
Kubernetes Prow Robot
e8615e2712 Merge pull request #129054 from pohly/remove-import-name
remove import doc comments
2024-12-12 09:58:35 +01:00
Kubernetes Prow Robot
ab9171b0cf Merge pull request #129040 from sanposhiho/patch-14
chore: ignore dat files generated by scheduler-perf
2024-12-12 05:29:13 +00:00
Kubernetes Prow Robot
078664b424 Merge pull request #129023 from zhifei92/cleanup-actiontype
scheduler:  Rename UpdatePodTolerations for code style consistency
2024-12-12 05:28:52 +00:00
Kubernetes Prow Robot
7cc1eb9b51 Merge pull request #128968 from dom4ha/scheduler-perf-tune
Adjust performance test throughput threshold limits
2024-12-12 04:14:07 +00:00
Kubernetes Prow Robot
1e92cdedac Merge pull request #127470 from googs1025/scheduler/fine_grain_queuehint
feature(scheduler): more fine-grained QHints for interpodaffinity plugin
2024-12-12 02:56:51 +00:00
yongruilin
8836548806 test: Add integration test for apiserver flagz endpoint 2024-12-11 09:22:25 -08:00
geyingqi
22c41caca9 Add integrate test to OOS node 2024-12-05 23:45:46 +08:00
Monis Khan
779d76176a Update tests to handle RemoteRequestHeaderUID
Signed-off-by: Monis Khan <mok@microsoft.com>
2024-12-04 16:04:36 -05:00
Patrick Ohly
8a908e0c0b remove import doc comments
The "// import <path>" comment has been superseded by Go modules.
We don't have to remove them, but doing so has some advantages:

- They are used inconsistently, which is confusing.
- We can then also remove the (currently broken) hack/update-vanity-imports.sh.
- Last but not least, it would be a first step towards avoiding the k8s.io domain.

This commit was generated with
   sed -i -e 's;^package \(.*\) // import.*;package \1;' $(git grep -l '^package.*// import' | grep -v 'vendor/')

Everything was included, except for
   package labels // import k8s.io/kubernetes/pkg/util/labels
because that package is marked as "read-only".
2024-12-02 16:59:34 +01:00
Kensei Nakada
8f4e425daf chore: ignore dat files generated by scheduler-perf 2024-11-30 22:23:15 +09:00
zhifei92
27608fa25d refactor(scheduler): Rename UpdatePodTolerations for code style consistency. 2024-11-29 13:13:09 +08:00
Kubernetes Prow Robot
8770bd58d0 Merge pull request #128966 from liggitt/deflake-external
Wait for updated keys to be observed
2024-11-25 19:18:59 +00:00
Jordan Liggitt
26c08dde52 Wait for updated keys to be observed 2024-11-25 11:55:20 -05:00