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: add data job deployment dynamic property source selection mechanism #2641

Merged
merged 8 commits into from
Sep 11, 2023

Conversation

mrMoZ1
Copy link
Contributor

@mrMoZ1 mrMoZ1 commented Sep 5, 2023

what:
Added a feature flag mechanism which will be used to allow for writes to both K8S and the database, and providing the flexibility to select the data source (either the database or K8S) when reading properties based on the feature flag configuration.

why:
This change anticipates future work on: https://github.com/vmware/versatile-data-kit/tree/main/specs/vep-2272-complete-data-job-configuration-persistence#database-data-model-changes. which aims to remove the dependency on the Kubernetes (K8S) cluster for storing part of the configuration of data jobs. By decoupling the configuration from the K8S cluster, we can improve the backup/restore process and overall system performance. Currently, the loss of K8S namespace results in the potential loss of data jobs, requiring a manual and complex restoration process.

testing:
added unit test which checks default configuration

mrMoZ1 and others added 4 commits September 7, 2023 11:57
…l-service/values.yaml

Co-authored-by: Andy <87700128+doks5@users.noreply.github.com>
…c/main/resources/application.properties

Co-authored-by: Andy <87700128+doks5@users.noreply.github.com>
@antoniivanov antoniivanov force-pushed the person/mzhivkov/dynamic-property-featureflag branch from 287b7f6 to 581d850 Compare September 7, 2023 08:57
@mrMoZ1 mrMoZ1 merged commit 9abedfe into main Sep 11, 2023
3 checks passed
@mrMoZ1 mrMoZ1 deleted the person/mzhivkov/dynamic-property-featureflag branch September 11, 2023 07:29
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