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

cases: DVC in Production #862

Closed
dmpetrov opened this issue Dec 14, 2019 · 4 comments
Closed

cases: DVC in Production #862

dmpetrov opened this issue Dec 14, 2019 · 4 comments
Labels
A: docs Area: user documentation (gatsby-theme-iterative) C: cases Content of /doc/use-cases type: discussion Requires active participation to reach a conclusion. type: enhancement Something is not clear, small updates, improvement suggestions

Comments

@dmpetrov
Copy link
Member

dmpetrov commented Dec 14, 2019

Inspired by iterative/dvc#2212 and https://www.reddit.com//r/MachineLearning/comments/ea0825/d_experiment_management_in_kubernetes/

We don't have any explanation on how to work in "production":

  1. How to bring an artifact when CI/CD is done? GitLab build materials? Temporary bucket/storage and custom script?
  2. Best practices of sharing cache in k8s.
@shcheklein shcheklein added A: docs Area: user documentation (gatsby-theme-iterative) use-cases labels Dec 14, 2019
@jorgeorpinel jorgeorpinel changed the title DVC in production use cases use-cases: DVC in production Dec 16, 2019
@jorgeorpinel jorgeorpinel changed the title use-cases: DVC in production use-cases: "DVC in Production" Dec 16, 2019
@jorgeorpinel

This comment has been minimized.

@jorgeorpinel jorgeorpinel added type: enhancement Something is not clear, small updates, improvement suggestions and removed use-cases labels Jan 18, 2020
@jorgeorpinel jorgeorpinel changed the title use-cases: "DVC in Production" use-cases: "DVC in Production" (new) Jan 18, 2020
@jorgeorpinel jorgeorpinel added the p2-nice-to-have Less of a priority at the moment. We don't usually deal with this immediately. label Jan 18, 2020
@jorgeorpinel jorgeorpinel added p1-important Active priorities to deal within next sprints and removed p2-nice-to-have Less of a priority at the moment. We don't usually deal with this immediately. labels Aug 20, 2020
@jorgeorpinel

This comment has been minimized.

@jorgeorpinel jorgeorpinel changed the title use-cases: "DVC in Production" (new) cases: DVC in Production May 18, 2021
@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented May 26, 2021

@dmpetrov I read both context links. Here are some answers, please confirm if this makes sense:

How to bring an artifact when CI/CD is done? GitLab build materials?

The recommended way to sync pipeline status updates back from production to the master DVC repo would be to git commit/push (in a release branch) from prod. It can be part of the GH/GL CI job.

Question: what happens with multiple prod envs, as git pull/merge --ours could be needed, which might result in a disconnected/meaningless commit history. Does each env get a branch?

Temporary bucket/storage and custom script?

Why not remote storage? That's DVC's feature for syncing caches.

One trick would be to setup the dev env's remote storage = the prod env cache, this way there's no 3rd data store (if no backups are needed and to reduce transfers).

Best practices of sharing cache in k8s.

Unfortunately I'm not super familiar but can't all the containers be setup to mount a shared drive? Then just https://dvc.org/doc/use-cases/shared-development-server#configure-the-external-shared-cache

p.s. TBH these specific Q & As would be better for a Best Practice page IMO (rel #72). We can have both but we need to be a bit higher-level for the use case (currently discussing in #2490 (comment)).

@jorgeorpinel jorgeorpinel added type: discussion Requires active participation to reach a conclusion. and removed p1-important Active priorities to deal within next sprints labels May 26, 2021
@jorgeorpinel
Copy link
Contributor

Closing in favor of #2544.

@iesahin iesahin added the C: cases Content of /doc/use-cases label Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: docs Area: user documentation (gatsby-theme-iterative) C: cases Content of /doc/use-cases type: discussion Requires active participation to reach a conclusion. type: enhancement Something is not clear, small updates, improvement suggestions
Projects
None yet
Development

No branches or pull requests

4 participants