specs: VEP-2272 Complete Data Job Configuration Persistence Part 2#2302
Conversation
This change introduces VEP-2272, which aims at proposing an improvement to Versatile Data Kit by switching the source of truth from Kubernetes to a database. Signed-off-by: Miroslav Ivanov miroslavi@vmware.com
This change introduces VEP-2272, which aims at proposing an improvement to Versatile Data Kit by switching the source of truth from Kubernetes to a database. Signed-off-by: Miroslav Ivanov miroslavi@vmware.com
This change introduces VEP-2272, which aims at proposing an improvement to Versatile Data Kit by switching the source of truth from Kubernetes to a database. Signed-off-by: Miroslav Ivanov miroslavi@vmware.com
antoniivanov
left a comment
There was a problem hiding this comment.
Thanks for the proposal. Look pretty solid.
Let's be more specific in a couple of places though.
specs/vep-2272-complete-data-job-configuration-persistence/README.md
Outdated
Show resolved
Hide resolved
specs/vep-2272-complete-data-job-configuration-persistence/README.md
Outdated
Show resolved
Hide resolved
specs/vep-2272-complete-data-job-configuration-persistence/README.md
Outdated
Show resolved
Hide resolved
specs/vep-2272-complete-data-job-configuration-persistence/README.md
Outdated
Show resolved
Hide resolved
specs/vep-2272-complete-data-job-configuration-persistence/README.md
Outdated
Show resolved
Hide resolved
specs/vep-2272-complete-data-job-configuration-persistence/README.md
Outdated
Show resolved
Hide resolved
This change introduces VEP-2272, which aims at proposing an improvement to Versatile Data Kit by switching the source of truth from Kubernetes to a database. Signed-off-by: Miroslav Ivanov miroslavi@vmware.com
This change introduces VEP-2272, which aims at proposing an improvement to Versatile Data Kit by switching the source of truth from Kubernetes to a database. Signed-off-by: Miroslav Ivanov miroslavi@vmware.com
dakodakov
left a comment
There was a problem hiding this comment.
Overall looks good. Please address the two minor comments I posted.
This change introduces VEP-2272, which aims at proposing an improvement to Versatile Data Kit by switching the source of truth from Kubernetes to a database. Signed-off-by: Miroslav Ivanov miroslavi@vmware.com
|
How will we migrate? Once we are ready, we will upgrade the control service , this will create the new database table (but it would be empty). And we need a script that would be populate it with correct info form teh existing environment? Would this script be executed by the helm chart (with helm hook Post-upgrade - https://helm.sh/docs/topics/charts_hooks/) WHat about rollback in case of issues. If we roll back, then the second table would remain, right but that won't be an issue, the Control Service would simply use the previous way (annotations) . |
Basically, we will execute the following steps:
About the rollback you are absolutely right, we just need to switch the feature flag and everything will work as expected. |
|
that is really well written and clear. |
There was a problem hiding this comment.
Thanks Miro for this proposal. It seems sound, thorough, and well-reasoned to me.
It addresses a clear need for improving VDK efficiency of data job configuration and deployment.
So consider this proposal approved from me. Once it's approved by every reviewer you can move its status to implementable.
Two notes to consider further and can be filled in at the later stage
-
With the shift to the database being the primary source of truth, ensuring the resilience, backup, and high availability of the database becomes even more important. Let's make sure we do our calculations right. I made a comment about that.
-
We need to make sure we have effective monitoring and telemetry to ensure that any synchronization issues are detected (by monitoring) and can be analyzed historically (by telemetry). As part of the implementation, we need to come up with some for it. Enhancing our telemetry is fairly easy with "Measurable" annotation (for telemetry) and MeterRegistry (for monitoring).
|
Thank you for the review! |
This change introduces VEP-2272, which aims at proposing an improvement to Versatile Data Kit by switching the source of truth from Kubernetes to a database. Signed-off-by: Miroslav Ivanov miroslavi@vmware.com
This change introduces VEP-2272, which aims at proposing an improvement to Versatile Data Kit by switching the source of truth from Kubernetes to a database.
Signed-off-by: Miroslav Ivanov miroslavi@vmware.com