Giter VIP home page Giter VIP logo

Comments (2)

AlexandrePicosson avatar AlexandrePicosson commented on September 28, 2024

Hello @ClementGautier,

Since the release 1.8.0 of the substra-backend chart it is not necessary anymore to copy the whole persistence.volumes object.
For example if in your values you define only something like this:

persistence:
  volumes:
    customVolume:
      size: "2Gi"
      readOnly:
        server: false
        worker: true

you will have a new volume mounted on your backend and worker pod under the /var/substra/medias/ path.
Result in the rendered yaml:

containers:
      - name: substra-backend        
        volumeMounts:
          - name: data-customVolume
            mountPath: /var/substra/medias/customVolume
            readOnly: false

tied to the following pvc:

      - name: data-customVolume
        persistentVolumeClaim:
          claimName: RELEASE-NAME-substra-backend-customVolume

but all the required pvc's (compositealgos, computeplan, ...) will still be present alongside this new one.

For the point number two they are not hardcoded to be able to specify volume sizes independently which can be useful sometimes, but as stated above you do not need to redefine the wole list of volumes anymore. This is a benefit from the transition we made from a yaml list to a yaml object.

from substra-backend.

ClementGautier avatar ClementGautier commented on September 28, 2024

Great! That fixes the issue then :)

from substra-backend.

Related Issues (20)

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.