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

Reduce the turn-around time for testing apps with production like data. #51

Closed
kmova opened this issue May 25, 2018 · 1 comment
Closed

Comments

@kmova
Copy link
Contributor

kmova commented May 25, 2018

Here is my usecase:

Felix is a DevOps admin who is responsible for maintaining Staging Databases for a large enterprise corporation with 400+ developers working on 200+ applications. The Staging database contains a pruned (for user information) and is constantly updated with production data. When developers make some data schema changes, they would like to test them out on the Staging setup with real data before pushing the changes for Review.

  • The staging database PV, PVC and the associated application are created in a separate namespace called “staging”. Only Felix has access to this namespace. He creates snapshots of the production database volume. Along with creating the snapshots, he appends some information into the snapshots that will be helpful for developers like the: like the version of the applications that are running in the staging database when this snapshot was taken.
  • Each developer has their own namespace. For example Simon, runs his development application in “dev-simon-app” namespace.
  • The cluster admin authorize Simon to access (read/get) the snapshots from the staging setup.
  • Simon gets the list of snapshots that are available. Picks up the snapshot or snapshots that are best suited for testing his application.
  • Simon creates a PVC / PV with the select snapshot and launches his applications with modified changes on it.
  • Simon then runs the integration tests on his application which is now accessing production like data - which helps him to identify issues with different types of data and running at scale.
  • After completing the tests, Simon deletes the application and the associated cloned volumes.
@kmova kmova changed the title Increase the turn-around time for testing apps with production like data. Reduce the turn-around time for testing apps with production like data. May 25, 2018
@dargasudarshan dargasudarshan added this to the NeedsGrooming milestone Mar 20, 2019
vijayto pushed a commit to vijayto/litmus that referenced this issue Apr 12, 2020
@ksatchit
Copy link
Member

Moving this issue to the OpenEBS e2e-tests repository: openebs-archive/e2e-tests#660

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants