Git Product home page Git Product logo

pvc-data-loader's Introduction

PVC Data Loader

This is a tool for creating a scalable array of PVCs and populating them with data from a variety of sources(any container that can pull data).

PVC Data Loader is designed to help import data into Persistent Volume Claims. A scalable number of "loader" pods of any image will deploy to load data to newly created PVCs. Any containerized client can be used with this tool.

Configuration

Edit the file helm/values.yaml:

Deployment Settings

Deployment:
  Name: kidney-east        # name describing the data/location of the PVCs
  Image: ncbi/sra-tools    # image used to pull data
  Replicas: 5              # number of PVCs/primer pods to be created
  Arg: "tail -f /dev/null" # Entrypoint argument to either idle or start pulling data into /workspace

By default, the StatefulSet PVC template will create Read-Write-Once(RWO) PVCs. If your use case requires Read-Write-Many(RWX) PVCs, create them manually(for now) before deploying.

Resource Requests

Resources:
  Requests:
    CPU: 1
    Memory: 4Gi
  Limits:
    CPU: 1
    Memory: 4Gi

PVC Template Settings

PVC:
  StorageClass: rook-cephfs-east # valid storageclass
  Storage: 150Gi # per pod

Deployment

To deploy PVC Data Loader, run helm install <DEPLOYMENT_NAME> helm/ from the pvc-data-loader/ directory.

Deletion

After the PVCs are primed with data, delete the primer pods with helm uninstall <DEPLOYMENT_NAME>

PVCs and the data will persist and must be deleted manually with kubectl delete pvc <PVC> if needed

pvc-data-loader's People

Contributors

cbmckni avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.