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

control-service: data jobs synchronizer initial implementation #2633

Merged

Conversation

mivanov1988
Copy link
Collaborator

@mivanov1988 mivanov1988 commented Sep 1, 2023

Why
As part of the VEP-2272, we have to introduce a process to synchronize the data jobs from the database to the Kubernetes.

What
The initial implementation of the Data Jobs Synchronizer provides methods for synchronizing jobs between the database and Kubernetes. It introduces new classes suffixed with 'V2' to improve the separation of the old and new approaches.

Please take note that this is just the first phase of implementation. The following enhancements are planned for future PRs:

  • We will annotate the method DataJobsSynchronizer.synchronizeDataJobs() with @scheduled.
  • Improved exception handling will be integrated.
  • An additional deployment table will be introduced to effectively manage the desired and actual deployment state.
  • More tests will be included in subsequent updates.
  • ThreadPool configuration will be tuned and exposed through the application.properties.

Testing Done
Integration tests

Signed-off-by: Miroslav Ivanov [email protected]

@mivanov1988 mivanov1988 force-pushed the person/miroslavi/implement-kubernetes-cron-jobs-synchronizer branch from 7a7dbfd to cc76404 Compare September 25, 2023 14:10
@mivanov1988 mivanov1988 changed the title [DRAFT] control-service: data jobs synchronizer control-service: data jobs synchronizer initial implementation Sep 25, 2023
@mivanov1988 mivanov1988 force-pushed the person/miroslavi/implement-kubernetes-cron-jobs-synchronizer branch 4 times, most recently from 0aee91c to f45a468 Compare September 26, 2023 09:16
Copy link
Collaborator

@antoniivanov antoniivanov left a comment

Choose a reason for hiding this comment

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

I don't think my comments at this stage are a blocker. So I will let you decide how to handle them - in this PR or subsequent. There's another planned work.

@mivanov1988
Copy link
Collaborator Author

@antoniivanov, @dakodakov thank you for the review!

@mivanov1988 mivanov1988 force-pushed the person/miroslavi/implement-kubernetes-cron-jobs-synchronizer branch 2 times, most recently from 84e6b70 to a95badc Compare September 26, 2023 12:44
Why
As part of the VEP-2272, we need to introduce a process which will syncronize the data jobs from the database to the Kubernetes.

What
TODO

Testing Done
TODO

Signed-off-by: Miroslav Ivanov [email protected]
@mivanov1988 mivanov1988 force-pushed the person/miroslavi/implement-kubernetes-cron-jobs-synchronizer branch from 07d6f99 to ed800df Compare September 26, 2023 13:30
@mivanov1988 mivanov1988 enabled auto-merge (squash) September 26, 2023 13:32
@mivanov1988 mivanov1988 merged commit 63eeeef into main Sep 26, 2023
2 of 3 checks passed
@mivanov1988 mivanov1988 deleted the person/miroslavi/implement-kubernetes-cron-jobs-synchronizer branch September 26, 2023 14:04
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.

None yet

4 participants