Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement continuous benchmark tool #2216

Merged
merged 24 commits into from
Jan 11, 2024
Merged

Conversation

vankichi
Copy link
Contributor

This is a re-created PR instead of #1951

Description:

I have implemented the continuous benchmark tool for verifying the Vald cluster.
This PR includes two new components, vald-benchmark-operator and vald-benchmark-job.
The continuous benchmark tool is designed for the vald-benchmark-operator, which operates benchmark job tasks, running on vald-benchmark-job, using user-defined Kubernetes Custom Resouce (CR).
There are two CRs for running continuous benchmarks, ValdBenchmarkScenario and ValdBenchmarkJob.
ValdBenchmarkJob defines the one benchmark job, and ValdBenchmarkScenario defines the scenario with multiple benchmark jobs.
User can use it properly in their situation.

The diagram below shows the sequence diagram of continuous benchmark tools.

sequenceDiagram
	participant user
	participant operator
	participant k8s
	user->>k8s: update scenario.yaml
  operator->>k8s: reconcile scenario.yaml
  operator->>k8s: delete current working benchmark job resources
	Note right of k8s: delete current benchmark job resource<br>jobs are also deleted automatically.
  operator->>k8s: apply new benchmark job resources
	Note right of k8s: operator should create Flush job at first
  operator->>k8s: reconcile benchmark job resources
	operator->>k8s: apply job resource
  loop monitoring
		operator->>k8s: reconcile resources
	end
	k8s->>k8s: Executing job
	operator->>operator: check state is safe
	Note right of operator: Show error if error is not nil
Loading

The diagram below shows the operator's update of each CR status diagram.

sequenceDiagram
	autonumber
	participant user
	participant operator
	participant benchmarkScenario
	participant benchmarkJob
	participant job
	user->>benchmarkScenario: apply scenario 
	benchmarkScenario->>operator: reconcile scenario
	operator-->operator: create benchmarkJob resource
	operator->>benchmarkJob: apply benchmarkJob resources
	benchmarkJob->>operator: reconcile benchmark
	operator->>+job: create job
	Note right of job: execute job
	loop monitoring
		operator->>benchmarkScenario: reconcile resource 
		operator->>benchmarkJob: reconcile resource
		operator->>job: reconcile job
	end
	job->>-operator: reconcile job with status is `COMPLETED`
	Note right of job: end job
	operator->>benchmarkJob: update status with `BenchmarkJobCompleted`
	benchmarkJob->>operator: reconcile benchmarkJob
	operator-->operator: check each resource state
	Note over operator,benchmarkScenario: If all status of benchmarkJob in benchmarkScenario is COMPLETED
	operator->>benchmarkScenario: updater status with `BenchmarkScenarioCompleted`
	benchmarkScenario->>operator: reconcile scenario
Loading

This PR has many added files, but you DO NOT have to check all of them.
Please check the following files intensively:

  • internal/config/*.go: config files
  • pkg/tools/benchmark/operator/service/operator.go: operating logic with CRs.
  • pkg/tools/benchmark/job/service/job.go: main logic for running each benchmark job.

Related Issue:

Versions:

  • Go Version: 1.20
  • Docker Version: 20.10.8
  • Kubernetes Version: 1.22.0
  • NGT Version: 2.0.9

Checklist:

Special notes for your reviewer:

@vdaas-ci
Copy link
Collaborator

[WARNING:INTCFG] Changes in interal/config may require you to change Helm charts. Please check.

@vdaas-ci
Copy link
Collaborator

[CHATOPS:HELP] ChatOps commands.

  • 🙆‍♀️ /approve - approve
  • 🍱 /format - format codes and add licenses
  • /gen-test - generate test codes
  • 🏷️ /label - add labels
  • 🔚 2️⃣ 🔚 /label actions/e2e-deploy - run E2E deploy & integration test

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

golangci

pkg/tools/benchmark/job/service/search.go|34 col 10| payload.Search_Config is missing fields RequestId, IngressFilters, EgressFilters (exhaustruct)
pkg/tools/benchmark/job/service/update.go|35 col 10| payload.Update_Config is missing fields Filters, Timestamp (exhaustruct)
pkg/tools/benchmark/job/service/update.go|67 col 14| payload.Object_Vector is missing field Timestamp (exhaustruct)
pkg/tools/benchmark/job/service/upsert.go|35 col 10| payload.Upsert_Config is missing fields Filters, Timestamp (exhaustruct)
pkg/tools/benchmark/job/service/upsert.go|67 col 14| payload.Object_Vector is missing field Timestamp (exhaustruct)
internal/k8s/job/job.go|56 col 8| job.reconciler is missing fields mgr, name, namespaces, onError, onReconcile, listOpts (exhaustruct)
internal/k8s/vald/benchmark/job/job.go|42 col 19| scheme.Builder is missing field SchemeBuilder (exhaustruct)
internal/k8s/vald/benchmark/job/job_template.go|82 col 3| v1.Container is missing fields Command, Args, WorkingDir, EnvFrom, Resources, ResizePolicy, VolumeMounts, VolumeDevices, ReadinessProbe, Lifecycle, TerminationMessagePath, TerminationMessagePolicy, SecurityContext, Stdin, StdinOnce, TTY (exhaustruct)
internal/k8s/vald/benchmark/job/job_template.go|86 col 20| v1.Probe is missing fields SuccessThreshold, FailureThreshold, TerminationGracePeriodSeconds (exhaustruct)
internal/k8s/vald/benchmark/job/job_template.go|90 col 19| v1.ProbeHandler is missing fields HTTPGet, TCPSocket, GRPC (exhaustruct)
internal/k8s/vald/benchmark/job/job_template.go|99 col 19| v1.Probe is missing fields InitialDelaySeconds, SuccessThreshold, TerminationGracePeriodSeconds (exhaustruct)
internal/k8s/vald/benchmark/job/job_template.go|103 col 19| v1.ProbeHandler is missing fields HTTPGet, TCPSocket, GRPC (exhaustruct)
internal/k8s/vald/benchmark/job/job_template.go|113 col 5| v1.ContainerPort is missing fields HostPort, HostIP (exhaustruct)
internal/k8s/vald/benchmark/job/job_template.go|118 col 5| v1.ContainerPort is missing fields HostPort, HostIP (exhaustruct)
internal/k8s/vald/benchmark/job/job_template.go|125 col 5| v1.EnvVar is missing field Value (exhaustruct)
internal/k8s/vald/benchmark/job/job_template.go|127 col 18| v1.EnvVarSource is missing fields ResourceFieldRef, ConfigMapKeyRef, SecretKeyRef (exhaustruct)
internal/k8s/vald/benchmark/job/job_template.go|128 col 18| v1.ObjectFieldSelector is missing field APIVersion (exhaustruct)
internal/k8s/vald/benchmark/job/job_template.go|133 col 5| v1.EnvVar is missing field Value (exhaustruct)
internal/k8s/vald/benchmark/job/job_template.go|135 col 18| v1.EnvVarSource is missing fields ResourceFieldRef, ConfigMapKeyRef, SecretKeyRef (exhaustruct)
internal/k8s/vald/benchmark/job/job_template.go|136 col 18| v1.ObjectFieldSelector is missing field APIVersion (exhaustruct)
internal/test/mock/controller_runtime.go|37 col 23| mock.MockSubResourceWriter is missing field SubResourceWriter (exhaustruct)
internal/test/mock/controller_runtime.go|64 col 12| mock.MockClient is missing field Client (exhaustruct)
cmd/tools/benchmark/job/main.go|53 col 24| type assertion must be checked (forcetypeassert)
internal/k8s/job/job.go|103 col 2| type assertion must be checked (forcetypeassert)
cmd/tools/benchmark/operator/main.go|52 col 24| type assertion must be checked (forcetypeassert)
internal/k8s/vald/benchmark/api/v1/info.go|26 col 2| GroupVersion is a global variable (gochecknoglobals)
internal/k8s/vald/benchmark/api/v1/info.go|30 col 2| AddToScheme is a global variable (gochecknoglobals)
pkg/tools/benchmark/job/service/option.go|34 col 5| defaultOpts is a global variable (gochecknoglobals)
pkg/tools/benchmark/job/handler/grpc/option.go|22 col 5| defaultOpts is a global variable (gochecknoglobals)
pkg/tools/benchmark/job/handler/rest/option.go|22 col 5| defaultOpts is a global variable (gochecknoglobals)
internal/k8s/vald/benchmark/job/job.go|40 col 2| GroupVersion is a global variable (gochecknoglobals)
internal/k8s/vald/benchmark/job/job.go|44 col 2| AddToScheme is a global variable (gochecknoglobals)
internal/k8s/vald/benchmark/job/job_template_option.go|27 col 5| defaultBenchmarkJobTplOpts is a global variable (gochecknoglobals)
internal/k8s/vald/benchmark/job/job_template_option.go|67 col 5| defaultBenchmarkJobOpts is a global variable (gochecknoglobals)
pkg/tools/benchmark/operator/usecase/benchmarkd.go|52 col 5| JOB_NAMESPACE is a global variable (gochecknoglobals)
internal/timeutil/rate/rate.go|38 col 30| mnd: Magic number: 32, in detected (gomnd)
pkg/tools/benchmark/job/service/job.go|253 col 26| mnd: Magic number: 3, in detected (gomnd)
pkg/tools/benchmark/job/service/option.go|36 col 16| mnd: Magic number: 748, in detected (gomnd)
pkg/tools/benchmark/job/service/option.go|38 col 10| mnd: Magic number: 1000, in detected (gomnd)
pkg/tools/benchmark/job/service/option.go|39 col 22| mnd: Magic number: 200, in detected (gomnd)
pkg/tools/benchmark/job/usecase/benchmarkd.go|194 col 26| mnd: Magic number: 3, in detected (gomnd)
internal/k8s/job/job.go|91 col 37| mnd: Magic number: 100, in detected (gomnd)
internal/k8s/vald/benchmark/job/job_template.go|87 col 32| mnd: Magic number: 60, in detected (gomnd)
internal/k8s/vald/benchmark/job/job_template.go|88 col 32| mnd: Magic number: 10, in detected (gomnd)
internal/k8s/vald/benchmark/job/job_template.go|89 col 32| mnd: Magic number: 300, in detected (gomnd)
internal/k8s/vald/benchmark/job/job_template.go|100 col 29| mnd: Magic number: 30, in detected (gomnd)
internal/k8s/vald/benchmark/job/job_template.go|101 col 29| mnd: Magic number: 10, in detected (gomnd)
internal/k8s/vald/benchmark/job/job_template.go|102 col 29| mnd: Magic number: 300, in detected (gomnd)
internal/k8s/vald/benchmark/job/job_template.go|116 col 27| mnd: Magic number: 3000, in detected (gomnd)
internal/k8s/vald/benchmark/job/job_template.go|121 col 27| mnd: Magic number: 3001, in detected (gomnd)
internal/k8s/vald/benchmark/job/job.go|90 col 37| mnd: Magic number: 100, in detected (gomnd)
internal/k8s/vald/benchmark/scenario/scenario.go|79 col 37| mnd: Magic number: 100, in detected (gomnd)
pkg/tools/benchmark/operator/usecase/benchmarkd.go|153 col 26| mnd: Magic number: 3, in detected (gomnd)
internal/config/config_test.go|1435 col 1| Function name: TestMerge, Cyclomatic Complexity: 8, Halstead Volume: 6956.07, Maintainability Index: 16 (maintidx)
internal/config/config_test.go|1436 col 7| config should be annotated with the json tag as it is passed to json.Marshal at internal/config/config_test.go:1461:13 (musttag)
internal/k8s/job/job.go|100 col 3| naked return in func Reconcile with 47 lines of code (nakedret)
internal/k8s/job/job.go|127 col 2| naked return in func Reconcile with 47 lines of code (nakedret)
internal/k8s/vald/benchmark/job/job.go|99 col 3| naked return in func Reconcile with 37 lines of code (nakedret)
internal/k8s/vald/benchmark/job/job.go|111 col 2| naked return in func Reconcile with 37 lines of code (nakedret)
internal/k8s/vald/benchmark/scenario/scenario.go|88 col 3| naked return in func Reconcile with 37 lines of code (nakedret)
internal/test/data/hdf5/hdf5.go|59 col 6| ST1003: type DatasetUrl should be DatasetURL (stylecheck)
internal/test/data/hdf5/hdf5.go|62 col 2| ST1003: const FashionMNIST784EuclideanUrl should be FashionMNIST784EuclideanURL (stylecheck)

internal/k8s/vald/benchmark/api/v1/info.go Show resolved Hide resolved
internal/config/config.go Show resolved Hide resolved
pkg/tools/benchmark/operator/service/operator.go Outdated Show resolved Hide resolved
internal/timeutil/rate/rate.go Show resolved Hide resolved
internal/timeutil/rate/rate.go Show resolved Hide resolved
pkg/tools/benchmark/job/service/insert.go Show resolved Hide resolved
pkg/tools/benchmark/job/service/insert.go Show resolved Hide resolved
pkg/tools/benchmark/job/service/remove.go Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

Attention: 566 lines in your changes are missing coverage. Please review.

Comparison is base (ac50bf3) 29.96% compared to head (ac1c82e) 30.31%.
Report is 1 commits behind head on main.

Files Patch % Lines
pkg/tools/benchmark/operator/service/operator.go 64.48% 160 Missing and 19 partials ⚠️
internal/test/data/hdf5/hdf5.go 9.03% 155 Missing and 6 partials ⚠️
internal/config/benchmark.go 0.00% 82 Missing ⚠️
pkg/tools/benchmark/job/config/config.go 8.33% 55 Missing ⚠️
internal/config/config.go 57.27% 34 Missing and 13 partials ⚠️
internal/errors/config.go 0.00% 12 Missing ⚠️
hack/license/gen/main.go 21.42% 10 Missing and 1 partial ⚠️
internal/errors/benchmark.go 0.00% 9 Missing ⚠️
internal/test/data/hdf5/option.go 70.83% 6 Missing and 1 partial ⚠️
internal/k8s/reconciler.go 0.00% 2 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2216      +/-   ##
==========================================
+ Coverage   29.96%   30.31%   +0.34%     
==========================================
  Files         371      378       +7     
  Lines       36165    37197    +1032     
==========================================
+ Hits        10838    11277     +439     
- Misses      24814    25363     +549     
- Partials      513      557      +44     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vankichi vankichi force-pushed the feature/continuous-benchmark branch from a00d5a9 to f2585b1 Compare October 23, 2023 07:37
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 23, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: ac1c82e
Status: ✅  Deploy successful!
Preview URL: https://18e8d2da.vald.pages.dev
Branch Preview URL: https://feature-continuous-benchmark.vald.pages.dev

View logs

github-actions[bot]

This comment was marked as resolved.

github-actions[bot]

This comment was marked as resolved.

@vankichi vankichi force-pushed the feature/continuous-benchmark branch from f93c88a to 036ec9a Compare October 30, 2023 05:37
internal/config/config_test.go Show resolved Hide resolved
internal/k8s/job/job.go Show resolved Hide resolved
internal/k8s/job/job.go Show resolved Hide resolved
internal/test/data/hdf5/hdf5.go Show resolved Hide resolved
internal/test/data/hdf5/hdf5.go Show resolved Hide resolved
Makefile.d/docker.mk Outdated Show resolved Hide resolved
internal/k8s/job/job.go Show resolved Hide resolved
internal/k8s/vald/benchmark/job/job.go Outdated Show resolved Hide resolved
internal/k8s/vald/benchmark/job/job.go Show resolved Hide resolved
internal/k8s/vald/benchmark/scenario/scenario.go Outdated Show resolved Hide resolved
Makefile.d/helm.mk Show resolved Hide resolved
cmd/tools/benchmark/operator/sample.yaml Outdated Show resolved Hide resolved
dockers/tools/benchmark/job/Dockerfile Outdated Show resolved Hide resolved
internal/k8s/vald/benchmark/job/job.go Outdated Show resolved Hide resolved
internal/k8s/vald/benchmark/scenario/scenario.go Outdated Show resolved Hide resolved
@ykadowak
Copy link
Contributor

ykadowak commented Dec 1, 2023

Please resolve conflicts. For internal/k8s/client/**, you can just use the main versinon since I didn't change your part. Sorry for the inconvenience.

vankichi and others added 16 commits January 9, 2024 07:59
Signed-off-by: vankichi <[email protected]>
Signed-off-by: vankichi <[email protected]>
* Implement base of continuous benchmark tool (#1776)

* Create Continuous Bench Search Job tool (#1733)

* :sparkles: create bench job search tools

Signed-off-by: vankichi <[email protected]>

* :sparkles: add load hdf5 functions

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format

Signed-off-by: vankichi <[email protected]>

* :recycle: fix docker and use hdf5 data

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor benchmark job

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: fix proto

Signed-off-by: vankichi <[email protected]>

* :green_heart: add benchmark job image build ci

Signed-off-by: vankichi <[email protected]>

* :green_heart: invest

Signed-off-by: vankichi <[email protected]>

* Revert ":green_heart: invest"

This reverts commit f0f585ccf71b1c95a88559941557a27774096e69.

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply code review

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Hiroto Funakoshi <[email protected]>

* :sparkles: apply from feedback

Signed-off-by: vankichi <[email protected]>

* Update internal/config/benchmark.go

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: change directory path

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>

* Add crds for continuous benchmark tools (#1789)

* :sparkles: add crds for continuous benchmark operator

Signed-off-by: vankichi <[email protected]>

* :sparkles: add benchmark operator/job scheme

Signed-off-by: vankichi <[email protected]>

* :sparkles: rename package names and add doc.go

Signed-off-by: vankichi <[email protected]>

* :sparkles: create runtime object

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>

* Add Job reconciler & Change directory constitution of internal/k8s for benchmark (#1825)

* :sparkles: :recycle: add Job reconciler & use scenario instead of operator

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format & rename file

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Add benchmark operator framework (#1916)

* :sparkles: impl benchmark reconciler

Signed-off-by: vankichi <[email protected]>

* :sparkles: create benchmark operator framework

Signed-off-by: vankichi <[email protected]>

* :recycle: remove unness changes

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* impl reconcile logic for create benchmark job (#1923)

* :sparkles: impl reconcile logic for create benchmark job

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark's crds

Signed-off-by: vankichi <[email protected]>

* :recycle: resolve error due to update conn bench crds for pkg/tools/benchmark/job

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark job logic

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: update charts

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: rafactor con bench config and bug fix reconcile logic

Signed-off-by: vankichi <[email protected]>

* :bug: Bugfix: fix typo and recall function logic

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor pkg benchmark job

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :sparkles: impl status handle of continuous benchmark crds (#1955)

Signed-off-by: vankichi <[email protected]>

* Impl benchmark jobs (#1977)

* Implement base of continuous benchmark tool (#1776)

* Create Continuous Bench Search Job tool (#1733)

* :sparkles: create bench job search tools

Signed-off-by: vankichi <[email protected]>

* :sparkles: add load hdf5 functions

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format

Signed-off-by: vankichi <[email protected]>

* :recycle: fix docker and use hdf5 data

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor benchmark job

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: fix proto

Signed-off-by: vankichi <[email protected]>

* :green_heart: add benchmark job image build ci

Signed-off-by: vankichi <[email protected]>

* :green_heart: invest

Signed-off-by: vankichi <[email protected]>

* Revert ":green_heart: invest"

This reverts commit f0f585ccf71b1c95a88559941557a27774096e69.

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply code review

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Hiroto Funakoshi <[email protected]>

* :sparkles: apply from feedback

Signed-off-by: vankichi <[email protected]>

* Update internal/config/benchmark.go

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: change directory path

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>

* Add crds for continuous benchmark tools (#1789)

* :sparkles: add crds for continuous benchmark operator

Signed-off-by: vankichi <[email protected]>

* :sparkles: add benchmark operator/job scheme

Signed-off-by: vankichi <[email protected]>

* :sparkles: rename package names and add doc.go

Signed-off-by: vankichi <[email protected]>

* :sparkles: create runtime object

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>

* Add Job reconciler & Change directory constitution of internal/k8s for benchmark (#1825)

* :sparkles: :recycle: add Job reconciler & use scenario instead of operator

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format & rename file

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Add benchmark operator framework (#1916)

* :sparkles: impl benchmark reconciler

Signed-off-by: vankichi <[email protected]>

* :sparkles: create benchmark operator framework

Signed-off-by: vankichi <[email protected]>

* :recycle: remove unness changes

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* impl reconcile logic for create benchmark job (#1923)

* :sparkles: impl reconcile logic for create benchmark job

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark's crds

Signed-off-by: vankichi <[email protected]>

* :recycle: resolve error due to update conn bench crds for pkg/tools/benchmark/job

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark job logic

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: update charts

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: rafactor con bench config and bug fix reconcile logic

Signed-off-by: vankichi <[email protected]>

* :bug: Bugfix: fix typo and recall function logic

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor pkg benchmark job

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :sparkles: impl benchmark jobs

Signed-off-by: vankichi <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* create helm template for benchmark operator (#2027)

* :sparkles: create helm template for benchmark operator

Signed-off-by: vankichi <[email protected]>

* :sparkles: refactor helm template

Signed-off-by: vankichi <[email protected]>

* style: Format code with gofumpt and prettier

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Refactor helm template and operator logic (#2043)

* Implement base of continuous benchmark tool (#1776)

* Create Continuous Bench Search Job tool (#1733)

* :sparkles: create bench job search tools

Signed-off-by: vankichi <[email protected]>

* :sparkles: add load hdf5 functions

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format

Signed-off-by: vankichi <[email protected]>

* :recycle: fix docker and use hdf5 data

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor benchmark job

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: fix proto

Signed-off-by: vankichi <[email protected]>

* :green_heart: add benchmark job image build ci

Signed-off-by: vankichi <[email protected]>

* :green_heart: invest

Signed-off-by: vankichi <[email protected]>

* Revert ":green_heart: invest"

This reverts commit f0f585ccf71b1c95a88559941557a27774096e69.

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply code review

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Hiroto Funakoshi <[email protected]>

* :sparkles: apply from feedback

Signed-off-by: vankichi <[email protected]>

* Update internal/config/benchmark.go

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: change directory path

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>

* Add crds for continuous benchmark tools (#1789)

* :sparkles: add crds for continuous benchmark operator

Signed-off-by: vankichi <[email protected]>

* :sparkles: add benchmark operator/job scheme

Signed-off-by: vankichi <[email protected]>

* :sparkles: rename package names and add doc.go

Signed-off-by: vankichi <[email protected]>

* :sparkles: create runtime object

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>

* Add Job reconciler & Change directory constitution of internal/k8s for benchmark (#1825)

* :sparkles: :recycle: add Job reconciler & use scenario instead of operator

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format & rename file

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Add benchmark operator framework (#1916)

* :sparkles: impl benchmark reconciler

Signed-off-by: vankichi <[email protected]>

* :sparkles: create benchmark operator framework

Signed-off-by: vankichi <[email protected]>

* :recycle: remove unness changes

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* impl reconcile logic for create benchmark job (#1923)

* :sparkles: impl reconcile logic for create benchmark job

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark's crds

Signed-off-by: vankichi <[email protected]>

* :recycle: resolve error due to update conn bench crds for pkg/tools/benchmark/job

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark job logic

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: update charts

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: rafactor con bench config and bug fix reconcile logic

Signed-off-by: vankichi <[email protected]>

* :bug: Bugfix: fix typo and recall function logic

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor pkg benchmark job

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :sparkles: impl status handle of continuous benchmark crds (#1955)

Signed-off-by: vankichi <[email protected]>

* Impl benchmark jobs (#1977)

* Implement base of continuous benchmark tool (#1776)

* Create Continuous Bench Search Job tool (#1733)

* :sparkles: create bench job search tools

Signed-off-by: vankichi <[email protected]>

* :sparkles: add load hdf5 functions

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format

Signed-off-by: vankichi <[email protected]>

* :recycle: fix docker and use hdf5 data

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor benchmark job

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: fix proto

Signed-off-by: vankichi <[email protected]>

* :green_heart: add benchmark job image build ci

Signed-off-by: vankichi <[email protected]>

* :green_heart: invest

Signed-off-by: vankichi <[email protected]>

* Revert ":green_heart: invest"

This reverts commit f0f585ccf71b1c95a88559941557a27774096e69.

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply code review

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Hiroto Funakoshi <[email protected]>

* :sparkles: apply from feedback

Signed-off-by: vankichi <[email protected]>

* Update internal/config/benchmark.go

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: change directory path

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>

* Add crds for continuous benchmark tools (#1789)

* :sparkles: add crds for continuous benchmark operator

Signed-off-by: vankichi <[email protected]>

* :sparkles: add benchmark operator/job scheme

Signed-off-by: vankichi <[email protected]>

* :sparkles: rename package names and add doc.go

Signed-off-by: vankichi <[email protected]>

* :sparkles: create runtime object

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>

* Add Job reconciler & Change directory constitution of internal/k8s for benchmark (#1825)

* :sparkles: :recycle: add Job reconciler & use scenario instead of operator

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format & rename file

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Add benchmark operator framework (#1916)

* :sparkles: impl benchmark reconciler

Signed-off-by: vankichi <[email protected]>

* :sparkles: create benchmark operator framework

Signed-off-by: vankichi <[email protected]>

* :recycle: remove unness changes

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* impl reconcile logic for create benchmark job (#1923)

* :sparkles: impl reconcile logic for create benchmark job

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark's crds

Signed-off-by: vankichi <[email protected]>

* :recycle: resolve error due to update conn bench crds for pkg/tools/benchmark/job

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark job logic

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: update charts

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: rafactor con bench config and bug fix reconcile logic

Signed-off-by: vankichi <[email protected]>

* :bug: Bugfix: fix typo and recall function logic

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor pkg benchmark job

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :sparkles: impl benchmark jobs

Signed-off-by: vankichi <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :recycle: Refactor helm template and operator logic

Signed-off-by: vankichi <[email protected]>

* :recycle: Add download original dataset URL option

Signed-off-by: vankichi <[email protected]>

* :recycle: Set docker image location at the benchmark operator configmap and use it when information is set

Signed-off-by: vankichi <[email protected]>

* add search algorithm benchmark and update search aggregation algo

Signed-off-by: kpango <[email protected]>

* :sparkles: Add search result aggregation option

Signed-off-by: vankichi <[email protected]>

* style: Format code with prettier and gofumpt

* Improve job performance (#2061)

* :bug: Fix job function to apply rate limiter

* :recycle: Add pyroscope setting

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :bug: Fix build error

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>

* :bug: Fix docker file and add concurrencyLimit for job goroutine

Signed-off-by: vankichi <[email protected]>

* :recycle: Fix job_template.go by feedback

Signed-off-by: vankichi <[email protected]>

* :recycle: Fix job logic by feedback

Signed-off-by: vankichi <[email protected]>

* :recycle: Fix

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Signed-off-by: kpango <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* style: Format code with prettier and gofumpt

* Update charts and improvement conbench (#2119)

* Implement base of continuous benchmark tool (#1776)

* Create Continuous Bench Search Job tool (#1733)

* :sparkles: create bench job search tools

Signed-off-by: vankichi <[email protected]>

* :sparkles: add load hdf5 functions

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format

Signed-off-by: vankichi <[email protected]>

* :recycle: fix docker and use hdf5 data

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor benchmark job

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: fix proto

Signed-off-by: vankichi <[email protected]>

* :green_heart: add benchmark job image build ci

Signed-off-by: vankichi <[email protected]>

* :green_heart: invest

Signed-off-by: vankichi <[email protected]>

* Revert ":green_heart: invest"

This reverts commit f0f585ccf71b1c95a88559941557a27774096e69.

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply code review

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Hiroto Funakoshi <[email protected]>

* :sparkles: apply from feedback

Signed-off-by: vankichi <[email protected]>

* Update internal/config/benchmark.go

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: change directory path

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>

* Add crds for continuous benchmark tools (#1789)

* :sparkles: add crds for continuous benchmark operator

Signed-off-by: vankichi <[email protected]>

* :sparkles: add benchmark operator/job scheme

Signed-off-by: vankichi <[email protected]>

* :sparkles: rename package names and add doc.go

Signed-off-by: vankichi <[email protected]>

* :sparkles: create runtime object

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>

* Add Job reconciler & Change directory constitution of internal/k8s for benchmark (#1825)

* :sparkles: :recycle: add Job reconciler & use scenario instead of operator

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format & rename file

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Add benchmark operator framework (#1916)

* :sparkles: impl benchmark reconciler

Signed-off-by: vankichi <[email protected]>

* :sparkles: create benchmark operator framework

Signed-off-by: vankichi <[email protected]>

* :recycle: remove unness changes

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* impl reconcile logic for create benchmark job (#1923)

* :sparkles: impl reconcile logic for create benchmark job

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark's crds

Signed-off-by: vankichi <[email protected]>

* :recycle: resolve error due to update conn bench crds for pkg/tools/benchmark/job

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark job logic

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: update charts

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: rafactor con bench config and bug fix reconcile logic

Signed-off-by: vankichi <[email protected]>

* :bug: Bugfix: fix typo and recall function logic

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor pkg benchmark job

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :sparkles: impl status handle of continuous benchmark crds (#1955)

Signed-off-by: vankichi <[email protected]>

* Impl benchmark jobs (#1977)

* Implement base of continuous benchmark tool (#1776)

* Create Continuous Bench Search Job tool (#1733)

* :sparkles: create bench job search tools

Signed-off-by: vankichi <[email protected]>

* :sparkles: add load hdf5 functions

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format

Signed-off-by: vankichi <[email protected]>

* :recycle: fix docker and use hdf5 data

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor benchmark job

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: fix proto

Signed-off-by: vankichi <[email protected]>

* :green_heart: add benchmark job image build ci

Signed-off-by: vankichi <[email protected]>

* :green_heart: invest

Signed-off-by: vankichi <[email protected]>

* Revert ":green_heart: invest"

This reverts commit f0f585ccf71b1c95a88559941557a27774096e69.

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply code review

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Hiroto Funakoshi <[email protected]>

* :sparkles: apply from feedback

Signed-off-by: vankichi <[email protected]>

* Update internal/config/benchmark.go

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: change directory path

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>

* Add crds for continuous benchmark tools (#1789)

* :sparkles: add crds for continuous benchmark operator

Signed-off-by: vankichi <[email protected]>

* :sparkles: add benchmark operator/job scheme

Signed-off-by: vankichi <[email protected]>

* :sparkles: rename package names and add doc.go

Signed-off-by: vankichi <[email protected]>

* :sparkles: create runtime object

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>

* Add Job reconciler & Change directory constitution of internal/k8s for benchmark (#1825)

* :sparkles: :recycle: add Job reconciler & use scenario instead of operator

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format & rename file

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Add benchmark operator framework (#1916)

* :sparkles: impl benchmark reconciler

Signed-off-by: vankichi <[email protected]>

* :sparkles: create benchmark operator framework

Signed-off-by: vankichi <[email protected]>

* :recycle: remove unness changes

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* impl reconcile logic for create benchmark job (#1923)

* :sparkles: impl reconcile logic for create benchmark job

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark's crds

Signed-off-by: vankichi <[email protected]>

* :recycle: resolve error due to update conn bench crds for pkg/tools/benchmark/job

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark job logic

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: update charts

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: rafactor con bench config and bug fix reconcile logic

Signed-off-by: vankichi <[email protected]>

* :bug: Bugfix: fix typo and recall function logic

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor pkg benchmark job

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :sparkles: impl benchmark jobs

Signed-off-by: vankichi <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* create helm template for benchmark operator (#2027)

* :sparkles: create helm template for benchmark operator

Signed-off-by: vankichi <[email protected]>

* :sparkles: refactor helm template

Signed-off-by: vankichi <[email protected]>

* style: Format code with gofumpt and prettier

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Refactor helm template and operator logic (#2043)

* Implement base of continuous benchmark tool (#1776)

* Create Continuous Bench Search Job tool (#1733)

* :sparkles: create bench job search tools

Signed-off-by: vankichi <[email protected]>

* :sparkles: add load hdf5 functions

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format

Signed-off-by: vankichi <[email protected]>

* :recycle: fix docker and use hdf5 data

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor benchmark job

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: fix proto

Signed-off-by: vankichi <[email protected]>

* :green_heart: add benchmark job image build ci

Signed-off-by: vankichi <[email protected]>

* :green_heart: invest

Signed-off-by: vankichi <[email protected]>

* Revert ":green_heart: invest"

This reverts commit f0f585ccf71b1c95a88559941557a27774096e69.

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply code review

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Hiroto Funakoshi <[email protected]>

* :sparkles: apply from feedback

Signed-off-by: vankichi <[email protected]>

* Update internal/config/benchmark.go

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: change directory path

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>

* Add crds for continuous benchmark tools (#1789)

* :sparkles: add crds for continuous benchmark operator

Signed-off-by: vankichi <[email protected]>

* :sparkles: add benchmark operator/job scheme

Signed-off-by: vankichi <[email protected]>

* :sparkles: rename package names and add doc.go

Signed-off-by: vankichi <[email protected]>

* :sparkles: create runtime object

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>

* Add Job reconciler & Change directory constitution of internal/k8s for benchmark (#1825)

* :sparkles: :recycle: add Job reconciler & use scenario instead of operator

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format & rename file

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Add benchmark operator framework (#1916)

* :sparkles: impl benchmark reconciler

Signed-off-by: vankichi <[email protected]>

* :sparkles: create benchmark operator framework

Signed-off-by: vankichi <[email protected]>

* :recycle: remove unness changes

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* impl reconcile logic for create benchmark job (#1923)

* :sparkles: impl reconcile logic for create benchmark job

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark's crds

Signed-off-by: vankichi <[email protected]>

* :recycle: resolve error due to update conn bench crds for pkg/tools/benchmark/job

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark job logic

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: update charts

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: rafactor con bench config and bug fix reconcile logic

Signed-off-by: vankichi <[email protected]>

* :bug: Bugfix: fix typo and recall function logic

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor pkg benchmark job

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :sparkles: impl status handle of continuous benchmark crds (#1955)

Signed-off-by: vankichi <[email protected]>

* Impl benchmark jobs (#1977)

* Implement base of continuous benchmark tool (#1776)

* Create Continuous Bench Search Job tool (#1733)

* :sparkles: create bench job search tools

Signed-off-by: vankichi <[email protected]>

* :sparkles: add load hdf5 functions

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format

Signed-off-by: vankichi <[email protected]>

* :recycle: fix docker and use hdf5 data

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor benchmark job

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: fix proto

Signed-off-by: vankichi <[email protected]>

* :green_heart: add benchmark job image build ci

Signed-off-by: vankichi <[email protected]>

* :green_heart: invest

Signed-off-by: vankichi <[email protected]>

* Revert ":green_heart: invest"

This reverts commit f0f585ccf71b1c95a88559941557a27774096e69.

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply code review

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Hiroto Funakoshi <[email protected]>

* :sparkles: apply from feedback

Signed-off-by: vankichi <[email protected]>

* Update internal/config/benchmark.go

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: change directory path

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>

* Add crds for continuous benchmark tools (#1789)

* :sparkles: add crds for continuous benchmark operator

Signed-off-by: vankichi <[email protected]>

* :sparkles: add benchmark operator/job scheme

Signed-off-by: vankichi <[email protected]>

* :sparkles: rename package names and add doc.go

Signed-off-by: vankichi <[email protected]>

* :sparkles: create runtime object

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>

* Add Job reconciler & Change directory constitution of internal/k8s for benchmark (#1825)

* :sparkles: :recycle: add Job reconciler & use scenario instead of operator

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format & rename file

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Add benchmark operator framework (#1916)

* :sparkles: impl benchmark reconciler

Signed-off-by: vankichi <[email protected]>

* :sparkles: create benchmark operator framework

Signed-off-by: vankichi <[email protected]>

* :recycle: remove unness changes

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* impl reconcile logic for create benchmark job (#1923)

* :sparkles: impl reconcile logic for create benchmark job

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark's crds

Signed-off-by: vankichi <[email protected]>

* :recycle: resolve error due to update conn bench crds for pkg/tools/benchmark/job

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark job logic

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: update charts

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: rafactor con bench config and bug fix reconcile logic

Signed-off-by: vankichi <[email protected]>

* :bug: Bugfix: fix typo and recall function logic

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor pkg benchmark job

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :sparkles: impl benchmark jobs

Signed-off-by: vankichi <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :recycle: Refactor helm template and operator logic

Signed-off-by: vankichi <[email protected]>

* :recycle: Add download original dataset URL option

Signed-off-by: vankichi <[email protected]>

* :recycle: Set docker image location at the benchmark operator configmap and use it when information is set

Signed-off-by: vankichi <[email protected]>

* add search algorithm benchmark and update search aggregation algo

Signed-off-by: kpango <[email protected]>

* :sparkles: Add search result aggregation option

Signed-off-by: vankichi <[email protected]>

* style: Format code with prettier and gofumpt

* Improve job performance (#2061)

* :bug: Fix job function to apply rate limiter

* :recycle: Add pyroscope setting

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :bug: Fix build error

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>

* :bug: Fix docker file and add concurrencyLimit for job goroutine

Signed-off-by: vankichi <[email protected]>

* :recycle: Fix job_template.go by feedback

Signed-off-by: vankichi <[email protected]>

* :recycle: Fix job logic by feedback

Signed-off-by: vankichi <[email protected]>

* :recycle: Fix

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Signed-off-by: kpango <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Impl benchmark jobs (#1977)

* Implement base of continuous benchmark tool (#1776)

* Create Continuous Bench Search Job tool (#1733)

* :sparkles: create bench job search tools

Signed-off-by: vankichi <[email protected]>

* :sparkles: add load hdf5 functions

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format

Signed-off-by: vankichi <[email protected]>

* :recycle: fix docker and use hdf5 data

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor benchmark job

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: fix proto

Signed-off-by: vankichi <[email protected]>

* :green_heart: add benchmark job image build ci

Signed-off-by: vankichi <[email protected]>

* :green_heart: invest

Signed-off-by: vankichi <[email protected]>

* Revert ":green_heart: invest"

This reverts commit f0f585ccf71b1c95a88559941557a27774096e69.

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply code review

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Hiroto Funakoshi <[email protected]>

* :sparkles: apply from feedback

Signed-off-by: vankichi <[email protected]>

* Update internal/config/benchmark.go

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: change directory path

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>

* Add crds for continuous benchmark tools (#1789)

* :sparkles: add crds for continuous benchmark operator

Signed-off-by: vankichi <[email protected]>

* :sparkles: add benchmark operator/job scheme

Signed-off-by: vankichi <[email protected]>

* :sparkles: rename package names and add doc.go

Signed-off-by: vankichi <[email protected]>

* :sparkles: create runtime object

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>

* Add Job reconciler & Change directory constitution of internal/k8s for benchmark (#1825)

* :sparkles: :recycle: add Job reconciler & use scenario instead of operator

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format & rename file

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Add benchmark operator framework (#1916)

* :sparkles: impl benchmark reconciler

Signed-off-by: vankichi <[email protected]>

* :sparkles: create benchmark operator framework

Signed-off-by: vankichi <[email protected]>

* :recycle: remove unness changes

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* impl reconcile logic for create benchmark job (#1923)

* :sparkles: impl reconcile logic for create benchmark job

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark's crds

Signed-off-by: vankichi <[email protected]>

* :recycle: resolve error due to update conn bench crds for pkg/tools/benchmark/job

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark job logic

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: update charts

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: rafactor con bench config and bug fix reconcile logic

Signed-off-by: vankichi <[email protected]>

* :bug: Bugfix: fix typo and recall function logic

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor pkg benchmark job

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :sparkles: impl benchmark jobs

Signed-off-by: vankichi <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Refactor helm template and operator logic (#2043)

* Implement base of continuous benchmark tool (#1776)

* Create Continuous Bench Search Job tool (#1733)

* :sparkles: create bench job search tools

Signed-off-by: vankichi <[email protected]>

* :sparkles: add load hdf5 functions

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format

Signed-off-by: vankichi <[email protected]>

* :recycle: fix docker and use hdf5 data

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor benchmark job

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: fix proto

Signed-off-by: vankichi <[email protected]>

* :green_heart: add benchmark job image build ci

Signed-off-by: vankichi <[email protected]>

* :green_heart: invest

Signed-off-by: vankichi <[email protected]>

* Revert ":green_heart: invest"

This reverts commit f0f585ccf71b1c95a88559941557a27774096e69.

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply code review

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Hiroto Funakoshi <[email protected]>

* :sparkles: apply from feedback

Signed-off-by: vankichi <[email protected]>

* Update internal/config/benchmark.go

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: change directory path

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>

* Add crds for continuous benchmark tools (#1789)

* :sparkles: add crds for continuous benchmark operator

Signed-off-by: vankichi <[email protected]>

* :sparkles: add benchmark operator/job scheme

Signed-off-by: vankichi <[email protected]>

* :sparkles: rename package names and add doc.go

Signed-off-by: vankichi <[email protected]>

* :sparkles: create runtime object

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>

* Add Job reconciler & Change directory constitution of internal/k8s for benchmark (#1825)

* :sparkles: :recycle: add Job reconciler & use scenario instead of operator

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format & rename file

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Add benchmark operator framework (#1916)

* :sparkles: impl benchmark reconciler

Signed-off-by: vankichi <[email protected]>

* :sparkles: create benchmark operator framework

Signed-off-by: vankichi <[email protected]>

* :recycle: remove unness changes

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* impl reconcile logic for create benchmark job (#1923)

* :sparkles: impl reconcile logic for create benchmark job

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark's crds

Signed-off-by: vankichi <[email protected]>

* :recycle: resolve error due to update conn bench crds for pkg/tools/benchmark/job

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark job logic

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: update charts

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: rafactor con bench config and bug fix reconcile logic

Signed-off-by: vankichi <[email protected]>

* :bug: Bugfix: fix typo and recall function logic

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor pkg benchmark job

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :sparkles: impl status handle of continuous benchmark crds (#1955)

Signed-off-by: vankichi <[email protected]>

* Impl benchmark jobs (#1977)

* Implement base of continuous benchmark tool (#1776)

* Create Continuous Bench Search Job tool (#1733)

* :sparkles: create bench job search tools

Signed-off-by: vankichi <[email protected]>

* :sparkles: add load hdf5 functions

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format

Signed-off-by: vankichi <[email protected]>

* :recycle: fix docker and use hdf5 data

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor benchmark job

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: fix proto

Signed-off-by: vankichi <[email protected]>

* :green_heart: add benchmark job image build ci

Signed-off-by: vankichi <[email protected]>

* :green_heart: invest

Signed-off-by: vankichi <[email protected]>

* Revert ":green_heart: invest"

This reverts commit f0f585ccf71b1c95a88559941557a27774096e69.

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply code review

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Hiroto Funakoshi <[email protected]>

* :sparkles: apply from feedback

Signed-off-by: vankichi <[email protected]>

* Update internal/config/benchmark.go

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: change directory path

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>

* Add crds for continuous benchmark tools (#1789)

* :sparkles: add crds for continuous benchmark operator

Signed-off-by: vankichi <[email protected]>

* :sparkles: add benchmark operator/job scheme

Signed-off-by: vankichi <[email protected]>

* :sparkles: rename package names and add doc.go

Signed-off-by: vankichi <[email protected]>

* :sparkles: create runtime object

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>

* Add Job reconciler & Change directory constitution of internal/k8s for benchmark (#1825)

* :sparkles: :recycle: add Job reconciler & use scenario instead of operator

Signed-off-by: vankichi <[email protected]>

* :recycle: fix format & rename file

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Add benchmark operator framework (#1916)

* :sparkles: impl benchmark reconciler

Signed-off-by: vankichi <[email protected]>

* :sparkles: create benchmark operator framework

Signed-off-by: vankichi <[email protected]>

* :recycle: remove unness changes

Signed-off-by: vankichi <[email protected]>

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* impl reconcile logic for create benchmark job (#1923)

* :sparkles: impl reconcile logic for create benchmark job

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark's crds

Signed-off-by: vankichi <[email protected]>

* :recycle: resolve error due to update conn bench crds for pkg/tools/benchmark/job

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor continuous benchmark job logic

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: update charts

Signed-off-by: vankichi <[email protected]>

* Format code with prettier and gofumpt

* :recycle: rafactor con bench config and bug fix reconcile logic

Signed-off-by: vankichi <[email protected]>

* :bug: Bugfix: fix typo and recall function logic

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor pkg benchmark job

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :sparkles: impl benchmark jobs

Signed-off-by: vankichi <[email protected]>

* :recycle: apply feedback

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :recycle: Refactor helm template and operator logic

Signed-off-by: vankichi <[email protected]>

* :recycle: Add download original dataset URL option

Signed-off-by: vankichi <[email protected]>

* :recycle: Set docker image location at the benchmark operator configmap and use it when information is set

Signed-off-by: vankichi <[email protected]>

* add search algorithm benchmark and update search aggregation algo

Signed-off-by: kpango <[email protected]>

* :sparkles: Add search result aggregation option

Signed-off-by: vankichi <[email protected]>

* style: Format code with prettier and gofumpt

* Improve job performance (#2061)

* :bug: Fix job function to apply rate limiter

* :recycle: Add pyroscope setting

Signed-off-by: vankichi <[email protected]>

* :recycle: fix

Signed-off-by: vankichi <[email protected]>

* :bug: Fix build error

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>

* :bug: Fix docker file and add concurrencyLimit for job goroutine

Signed-off-by: vankichi <[email protected]>

* :recycle: Fix job_template.go by feedback

Signed-off-by: vankichi <[email protected]>

* :recycle: Fix job logic by feedback

Signed-off-by: vankichi <[email protected]>

* :recycle: Fix

Signed-off-by: vankichi <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Signed-off-by: kpango <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :recycle: Add noise to vector when update/upsert and update crd

Signed-off-by: vankichi <[email protected]>

* :recycle: add deepmerge func for override default config by user-defined config

Signed-off-by: vankichi <[email protected]>

* :recycle: refactor deepmerge

Signed-off-by: vankichi <[email protected]>

* style: Format code with prettier and gofumpt

* style: Format code with prettier and gofumpt

* :recycle: change add noise func

Signed-off-by: vankichi <[email protected]>

* :recycle: use golang/sync/error for prevent OOM KILL

Signed-off-by: vankichi <[email protected]>

* :recycle: fix config adn add test

Signed-off-by: vankichi <[email protected]>

* style: Format code with prettier and gofumpt

---------

Signed-off-by: vankichi <[email protected]>
Signed-off-by: kpango <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* :recycle: Apply new internal/sync for continous benchmark (#2175)

Signed-off-by: vankichi <[email protected]>

* :whale: fix Dockerfile

Signed-off-by: vankichi <[email protected]>

* :recycle: Fix license and format

Signed-off-by: vankichi <[email protected]>

* :white_check_mark: add benchmark operator reconcile test

Signed-off-by: vankichi <[email protected]>

* :recycle: Refactor from deepsource feedback (#2222)

Signed-off-by: vankichi <[email protected]>

* :recycle: use modulo to calc idx, fix Makefile, add error handling

Signed-off-by: vankichi <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yusuke Kato <[email protected]>

* :recycle: Fix feedback

Signed-off-by: vankichi <[email protected]>

* :whale: Fix dockerfile

Signed-off-by: vankichi <[email protected]>

* :whale: Fix dockerfile

Signed-off-by: vankichi <[email protected]>

* Update Makefile.d/build.mk

Co-authored-by: Yusuke Kato <[email protected]>

* Update Makefile.d/build.mk

Co-authored-by: Yusuke Kato <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Signed-off-by: kpango <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Signed-off-by: vankichi <[email protected]>
Signed-off-by: vankichi <[email protected]>
Signed-off-by: vankichi <[email protected]>
Signed-off-by: vankichi <[email protected]>
Signed-off-by: vankichi <[email protected]>
This commit fixes the style issues introduced in 019a705 according to the output
from Gofumpt and Prettier.

Details: #2216
Signed-off-by: vankichi <[email protected]>
@vankichi vankichi dismissed stale reviews from kpango, ykadowak, datelier, hlts2, and kmrmt via 5a84276 January 9, 2024 00:58
@vankichi vankichi force-pushed the feature/continuous-benchmark branch from 71e5d0b to 5a84276 Compare January 9, 2024 00:58
Copy link
Collaborator

@hlts2 hlts2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@vankichi vankichi merged commit f943916 into main Jan 11, 2024
129 of 131 checks passed
@vankichi vankichi deleted the feature/continuous-benchmark branch January 11, 2024 05:51
This was referenced Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants